rails_sortable 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/app/controllers/sortable_controller.rb +12 -5
  4. data/app/models/rails_sortable/model.rb +1 -1
  5. data/lib/rails_sortable/version.rb +1 -1
  6. data/spec/controllers/sortable_controller_spec.rb +11 -7
  7. data/spec/dummy/config/environments/production.rb +1 -1
  8. data/spec/dummy/db/development.sqlite3 +0 -0
  9. data/spec/dummy/db/schema.rb +1 -1
  10. data/spec/dummy/log/development.log +3503 -0
  11. data/spec/dummy/log/test.log +9737 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-L/-LS_Yfmcx5XeQhNyykj_Tg-uJCOTTgirMC8ARakjDQk.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_oFmlF4nSUh2Kq2SKtZGzeWGFTc6ulcAMLBw9FNybo.cache +1 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0b/0b21p1YvNnkluIukAB8TQ10qCRwyQTpFosc6kmTf6vc.cache +1 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0h/0hwBYo_o7NzxpFs41yC326gdOZ1jatKLrz9YcrzK3Fg.cache +0 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0m/0mfpm0iuGl3J8ykKkdUvzP1bdC2V-K_YcNCUdLmU4gA.cache +1 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/14/14SuWvoVtDkOn7PT2oZrOYGyw2gCZP3AXnPVVW8qZD0.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/16/16ksAI5VOApqVSqDzaEYbPw_dgmuZxfatjT9KY4WZms.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1A/1AkSD8Lhwng-7Zvuu7rheXZkZd1lWW5eaPkAVcvaXao.cache +1 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1h/1hCrluF96P4t0eEVERQSMZqrm0YTRrdtyY06FWMYa1o.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1v/1v3jVMo2RzhZpXnlSCQWtmJVlVYBfnKx6G7jRQCeEKU.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/28/28o8LBxFCHmJwYmZDN_n3OAobJXrhUzGfQX4P0rMgww.cache +1 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2_/2_LkselZXS3n6KkkDAtzl0Eua0Yc2ogKjyIjP6QJxGo.cache +2 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2x/2xj-9KCQG-Ma4536EFk23htRG8iMm-2WprGQcvGCsqk.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3F/3F9iArB68qmOmgiKZqs3Wi8yNqHGbWKmlxIM-FlKXmU.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3T/3TebhSUBvymUGgBW7EU5ky6h6dwoH_oj3aQ1yHL7sWk.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3p/3pbp-H-w_YBd7d0drOiS2z8F3yXDZI3xvTK7sOdgxmo.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4T/4Tl0wF3p9a_oTWwZr-s5Sh2j5GxJ6zn9305b_5T7hsc.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4k/4k8h7fn4W5QkqVHVvYfnJ4J0KqU10fZ0oH_LLCTZNyY.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/57/57KaVAE8lSfPUt-n8Q8nIlPAFoLkOL8vkj7hGwhTsEQ.cache +0 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5y/5yJYeAJD09c2iXBJk1UbzGonfDpqbNl4PubTpMcX3hY.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6c/6csDaNPLDnOluhPa6v7yi4aySc2uKi8txfS67vSdRAM.cache +3 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6g/6gbXtCC41wJUXjsBae2FC47pzQStsJFKwgb9APbVWL4.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6r/6rt36P6Tq4wGt55Z1Y68BdWlOaZadc8dzlt1Ci_kFeg.cache +2 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/74/74wB2lvXGVKCtEzbGz54Hyhbiog2n91Kbp4XHlVK_eI.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7c/7c8CaezTL4SP1f4j13SxWt4aZNBj5dMKPmq5b1PV3AY.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7m/7mXruW2cdR4vL2vU3e6HlXkYTOTJVNsfkK9dkcxvtAE.cache +0 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8A/8AZcnkuSUqkWDckUVF8XNpAO5ylRqT9BO7t0eVqVc8k.cache +1 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8C/8CF9P7ktAB3fsFsbCQqooUdvfdrEANZYrHt5WbCGvJ8.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8G/8Gu67U9EeDEHdN8Pityx3OuIfskAy3Bb9ezAXhynEww.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8I/8IExU3AUwOW6hWTpg04SMlC4BbyhiERsmBDpHXfL7NY.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8W/8WxoeD9CnanjHq03Guwox0aYEFz8r8ptW5OP2KF8BPQ.cache +0 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8X/8X5GXP9QdsU5te5MmwKbeQUg9uwi0F6WlzoIJ_oQXeE.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8u/8uFVxHo1U0R6mddQd4o4cFkzCQazA9C_zb4KxEB81sM.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9L/9LDkSKyS-T2MsFUPWhI7aBfyf-yJOidBO_VvoDBLcc4.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9U/9U4tXozs73ZspXG2HvYuxl7QTQmASLHYK1iEKQ6DYm0.cache +2 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9z/9z15-UqzJRQ9FeO1d5ucfIA9-RobWyQjYcG37BjStDY.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/B_/B_XDwUuWNEZlf7HaQEimfNNpsloIw1t3Kzdyf_EucsI.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bq/BqTQnzhEjZ2qfPG8xN31ysX_SrHm011xSuJcJDUy9gk.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Br/bROMXHWSB2p7BUstIHHp7dTzgIejB5FFgpPzY-NfOSQ.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/ccTxmKlINB5_QRZxWlRP_QbLYNX6mJXhuyPK01sikIA.cache +1 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cv/CvLUxK3yEXzIoMlaSfKQEyYJXGC2unoPDZxsZrZieQ8.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cw/Cw7X_5CBNXv83p20yV4tkMjQOG3dXm2UrBA2H9Zydko.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DQ/DqISs2yan11PjLZ0972_QL2Df7z4p_HvGt_Ev5oo70Y.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DQ/DqYddpmLFVRzXRWWJDAKRnZO3I8aV5sGxvcN6ecbBds.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DR/DrRmpxa_fljXA61HfCD8iUApp3ZLD-etKixXzMYHLqQ.cache +2 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dj/DjBdZyQnFA3fuktf1FQEC3VT9wzdOlAqBObsU6yDyQg.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dm/Dm3Ns50eNPnx5JR_hbWttJBfnwACB23pcVEOTP77F3g.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/E2/E2EWjLkSLBWatv3KPpadtpSCW4nriQkyrRI_PY4QyNc.cache +1 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EK/EK2CLQ5vxCYtDJttZwnv0sTIJAp9k7MAIjQsHfF6fi8.cache +2 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EO/eoW_YlMCaP6_Nx1OG_mScATwHvffarhONCThg90ocRk.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ee/Eer83doWEQD5MgbraHj2tXi9B8DRDzfb9qriHU3FoIc.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ei/EIhRtcghyET3oZ14jpyvDEi3KQshgo3Ljb5pL1VnXO0.cache +1 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FW/FW5TAdxSe5tWrAS1ULdWgg50O-IGoty0Zn4j09jzokI.cache +3 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FW/fwTyO_zP42n8md2wB_MXYRIzW1CwytEPBmGgLpIM0MM.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F_/F_G0tHlISHt6sZA_psM19M0fcwEijyNQgPOmcgtyn6g.cache +0 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GQ/GQCLJaMhfAk0M_q3nja7hJnVs728BNjEHcfU1t1R-LE.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ga/Ga5H4PfnWPD451qyfOiG1IZsqnZN1UrohD76QvsYBzg.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gz/Gz7GQIATfMzr610NQw5N2iurTRNl-SJvgkcnsGB5wj8.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFuNhzNZA5ILxIzWi2wxnZ_uEYPrAQ4OVoo0Y_92muU.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HG/Hg3Mx0Us5sV5NVnqJJukgFhapBPsCMJSjhYT3sCf9fE.cache +1 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HG/hgoLeT2w_LdKD8vxplARsxQQ1RtsWlXOU6P3W5StUfk.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HQ/HQLaGbuiwHUIDZrYsV_Q22Xifp_UefpHLQOr2Ds_5_w.cache +2 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HX/HxsYODq2-bbJXJgsnPQLo-piplPlcjLAzsFxb9gS9aM.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hj/hjaWUeyd2YnNKKdVNQU-unOtF7Ys7MZ_D5kv6OzdkEc.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I2/I264TG2aC-LKbausX0kiUVUzSy8APZzfRe2OWETds_I.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IN/InQBFQgqv7R-DNvnB9wFKyvXdpWCGS3LFXzxqh9kB4k.cache +3 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J6/J6Rmj8W0XSKV9e4AIrX3JhpTaQVw3ZO85Q3TS4JaiqA.cache +1 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jb/JbTq3pHszaBICY1ElYkxEreABji2hT8lgYVdDnUo7E8.cache +0 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jd/JdCdMIN5roga2QNvSMJ68k3JQXbpCRNiXFQL7iS7tcU.cache +1 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kn/KnvlX_wgZQfbFR794KxX7mMk7h5bPwQIW0gfPmdMu4E.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kq/kqBkca2gHnKaACfvr71Ju9Zjt57SPjPjsSf75jJqZz0.cache +0 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ku/KuPcIfU6wDK7efFeG8AJW9xRdrec6Qz0QFFwZ-_3y2U.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kz/KzkkoOPPQcxPQQZeX9X9lHOsmR-lBY08UU1kgAcxyRo.cache +3 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L4/L4eeaREeXK8fEdb_C2XrTpNgyaSR1_IN0UXxcC_CBRk.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LQ/Lq_O6kOk6u2miWSsGblQyn-jkbh0py2IVUfl-0Xfet0.cache +1 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LX/lxj3Pdu2zm8tI--DFg6ZsCsmiwIigXhrvMqoswgvTdM.cache +3 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lu/Lu-LRkz-I57h_9kMcBe_4r_vMm11rHsZnjryoPS-SaU.cache +1 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MV/MVUUwEQdReaUNR2KwzDfZCcfCLeneGEc5e_6VYEiUyY.cache +1 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MV/MVYkkN48Uc-P1JMA7DxQjL4-v2_o0hx7uiMDOXumxxk.cache +0 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NA/nAt90tG_bd3znIBZaSf5RACVIzzgtxb9FjseYi0Ucuo.cache +0 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NL/NLWD4g5MFg8akXJ5asIosAoZmgJzWZJPo2dkfdcQuTg.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nf/NfPoFX-6Pg8r7-Z9CHeSrACibewXznl0xsapPrKew1E.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/O5/O5GBHFN_1XxoOuxZbXQYB2C4gQ95IpX4V3cexLG9KeE.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OH/OHelsROBuolcobI8O5JHT08GIvQmsYrjGF5zfEjv2LU.cache +0 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OX/OXQFRQZ5OA2i3YtnP1fZ96aWeUC3_IIqO4fAMdR9FsM.cache +0 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P1/P1XOH1wD16BckdtZNdmkCg1vBqtfiIb5e7MGXnLy0MQ.cache +1 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P7/P77CvCO7H2n4yvvvLsCBwcPXkKsl8aNCIdZf-Fh_Azc.cache +1 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PO/POZ35YPIoWmXVz4yDa7dFfNNN9Qzg_VakfWKeBcxBbc.cache +1 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pc/Pc_PKVMvkrW_7AvGH8j6bO5iIG_DhA5uFTjSZbrmhms.cache +0 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pd/PdhFAxvS-pKGfpMWUFkecwUMGbV0x_tyma4E8bhYzwk.cache +0 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pq/PqfpoY29EAjDj3MsBD0YkwMFmehqgei1wb6b9e6epkA.cache +1 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pw/PWx5LDlM1vRAQb2FbIepav_nfZXMW9yobXYK_qzWTUA.cache +1 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pw/PwZ_lb3m8h401lMVb5Ow_RmzFBgaWkhhbMTDu6nAYUY.cache +1 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QR/QRgo1z5x19TgziDqzl7CfrTORlG62iXpyJDYF_gRXlg.cache +0 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qa/Qakva-5jpGkUbnSA9Gz3l_YB-8F0IcHVxtIWwjGjo1s.cache +2 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qn/QN3GBnh-ep5PUpgfTOtiB6MQyZVNqhdJWr1zmZCS4kE.cache +1 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Si/SialkFhAY61l6zzGZB9_bTO_uUgFutcqtplcXTEXrNg.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TB/TBxc6sqe6z6GdBHXlpEHH2RHYnDnK6UJEJTLEW4dQfY.cache +0 -0
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Td/tdtS5otVyirthDHEy9PBQ-Q47HqgGI5LWPtPUzwJTcw.cache +1 -0
  112. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tu/TuAHTeJKJU5oCC8bXrHB9snI3jRHztapygaOzJ_Msk0.cache +1 -0
  113. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tw/TwZH-Nt8PR4JokYxBuAOSCEuAKm9VLSU1rNMmea2zC4.cache +1 -0
  114. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ty/TygpZ0955iIHhhezJKtdcEbSI-hFXMa6IsQEXdJBZLI.cache +1 -0
  115. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U5/U51hbIGSWpm9q_qMNdinxuNbQvnJXJWtyHsiw0oJGTw.cache +0 -0
  116. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U8/U8sQxF9VVyLvCLvCuOkN84bJs2U_hMtNuG9hULTkol8.cache +1 -0
  117. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U8/u8LGfffPlmWzlygRXLr1zidS_lsr7ed3Q5bcUQDZdeU.cache +1 -0
  118. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U9/U9IFViBuyARSFe_X9w5_61YA5f4y3QxR5WJ_e8A4gCo.cache +0 -0
  119. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UG/uGmfckdQWabotSe1FSpjLZ3i7IDzXRkdpXu-3xlP2y0.cache +1 -0
  120. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U_/U_AVebgimyIy55VK1ELBqaCwbvhiu87cFTO_GFuOJrU.cache +1 -0
  121. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uh/UhQSpkl1rEQV1VwgB7ra6rUUkH6fMlldn1-6wrzOqyY.cache +0 -0
  122. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uy/UyetlmKTIdtCVPOSocRRkF1xMs0MKx180qYYhbZcY_w.cache +0 -0
  123. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uy/UymG9jCGGwAk5m8A7RFA7qR2kVA2GBYEKV1B3wJDoAM.cache +0 -0
  124. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VT/VTRh7T3RaFRYtSxU4n_l-7YBl4aUneDTFvlmCR4oZWo.cache +0 -0
  125. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VT/vTBlgRFJfxPkvl7gfSpHyPzvSxuEqOamdGAdB58G7vA.cache +0 -0
  126. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ve/Ve2V_8NslOoeJKkerMHjyLux1MX4KCPD7PS0p1ZoU2U.cache +1 -0
  127. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vg/Vgmsz9rS9giIIH7QYs-C242CWqjsG0hAXuV_9quSczE.cache +1 -0
  128. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/vWmbYLfVIq8FLIBPBuos-nm4hLJF7B8T4Lyhnd3lNMk.cache +0 -0
  129. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/W2/W26VAXR1fAxzGSfEiP3c6xEHRAnM9dur7jVlaTC82gE.cache +1 -0
  130. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wd/WdMvcfxSaGjnezFAxZhG-99XsXFE7ti09mVxC1Ded5Y.cache +1 -0
  131. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wf/Wfujt10dgyK77zZbNQfe6rD7lcJhqT-KF-LGq3iBFuU.cache +0 -0
  132. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X-/X-JfQeUxmddw1JoQVoz0QA6eKEQICJFW4DX7cSQ7Zf8.cache +1 -0
  133. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XZ/XzhRcwh8J1gcOeLHtjelxijtqT2C9hLL3DdMSbV_pUg.cache +0 -0
  134. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XZ/xzBljQRGzLzG89UQG0y_GthvodSn1EB3vygJzAU0-Cg.cache +1 -0
  135. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YC/YcKr3kzWAKWolvD7QUxHY8YxiREXeRWhOmrT0EYtEm4.cache +1 -0
  136. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yn/Yn0X2ynyGml-t6cloTR-7Ai8G4XTKyiEyNAwOsPQ3WI.cache +3 -0
  137. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yn/YnZ3fBMVRe_3d-UzYZ9o7J4t0bLEGv7yTuO5lXJp9p0.cache +1 -0
  138. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yq/YqAZJYrAm3eGrLneyMzWXqoqYMc-kATFtHz8r5mOO1o.cache +1 -0
  139. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z8/Z8mIOLk_PGDTIaCPXsLEX1vJzBwCDhgnY6mt2i7618Q.cache +1 -0
  140. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z9/Z9kVXWgE-T0UJuo4RZ24Us1EateCHKzkDsCJEZW0d4E.cache +1 -0
  141. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zb/ZBcrm5ERPhJWQyA1WDv671KsaobNuvEqOX3oGNo146Q.cache +1 -0
  142. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_4/_4m-1JciBr8M4oBYVCqZ4g_sjrvBiga9np-LDERT_Uc.cache +0 -0
  143. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_6/_6hJYUC8HbCliDPM6HfNYGM4__FnVdipn6q3PcZBoEI.cache +1 -0
  144. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_B/_BeOpuTh4GEWh8j-EIlNWxF2xXRaThnwCDbRs42OiAU.cache +0 -0
  145. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_D/_DgeI0rI0DZJ92-IymYmKTtFc00Al-u0gMd1IKywc2E.cache +3 -0
  146. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_R/_RjGIBOheMGV5AIuYYc0zwkq3FzwRGBxKkmBVt6VL5k.cache +0 -0
  147. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_V/_V9WFKASYTiDGerDQOGACZtuhRxYusPZVueo4YBfriE.cache +0 -0
  148. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_t/_tkhPXDCi6cOi0-v7K0yeRewNp9HClNQ6gV6kMN0TAs.cache +1 -0
  149. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aN/ANyO_aMKmIndCbWMCwfiI1d2xRx5T5y3fRAt3PjZrQc.cache +1 -0
  150. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ak/akpFvv-OErucPSY0W9BubbPOMaotsvyORvhlapEhiEg.cache +0 -0
  151. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bG/bGulpytsr1RyCh8LSHg4aFxSoZeOjjjBn9POBeZbUiQ.cache +0 -0
  152. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bk/bkO3PfdFrwNwI1qltIxlg3AMcpLlR03a7QEGMH21v6A.cache +0 -0
  153. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/c-/C-EY9QVaxngkCbM8RxBHWxQp3I6j-eHCRHJhP1B7-l8.cache +1 -0
  154. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/c6/c6V88hCWDL8Y10zBEPPiYdD0mrWhmaQssUWVqFA_H-A.cache +1 -0
  155. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cK/cKTTtku78zEJGKmJZ7M9vh-RJn80JXPaA8ydu6mCdNI.cache +0 -0
  156. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cy/cycJ1iavuMD9pqBmhRubomU9cIW1dP4lXS3_-xyJbgk.cache +1 -0
  157. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d1/d1OmqZwWG7YUF_ezISquTfzuu3cVWf59VhCDxBUFLy4.cache +1 -0
  158. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dU/dUp388akm8QNssb_nI_iGG8SP5tJWvmF64sTcC6ObHg.cache +0 -0
  159. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dc/dc5q_Uwcb-V0As44fWF3EoMHlfPwJR0NAU70VjPAZXA.cache +1 -0
  160. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/di/diXyvU24Ch3qa_M7DC5FavpMTdHE97WIJ9lZjoMiD1Y.cache +1 -0
  161. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/e3/e3cqcUJFYOQ8w6stYp-QbzEUe2tPY7p8NqlFakh0JAg.cache +0 -0
  162. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eG/EGj4c5Wo2fa4JfTCc0Pc-XVPsiymB8KXwMFWfoxPDns.cache +0 -0
  163. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eG/eG5uOwSW7n5kJKUVJu48q7ClmpKW97h0pJue4D9HjcE.cache +1 -0
  164. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eN/eNco3bDUDNQbainUEs2aQjdiFZXfNqxrIB6jJJ7qu1c.cache +0 -0
  165. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/e_/e_VmO8XYDmkMNUsXVF-AGP7tXsBISmob56huA9VYw40.cache +1 -0
  166. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ez/EzhZpKQBDY5qzWuW-c91_CaEwjn9PYjQZxPaiPzpFyU.cache +0 -0
  167. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ez/ez-D5B8JGB7vBTUApq97s-5OhkPM4irVb0oH0lcqky0.cache +2 -0
  168. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f1/F1nub4z2F96nTs5Jx2IubNtxcUYoPzw8LJveQpGphnQ.cache +0 -0
  169. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f1/f1sBPAwBQQEaoEXOg5H3Ap1H_-SLKaSNUWg_KiYfl8c.cache +2 -0
  170. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fV/Fv27gOijIvZBGoZDbDZcvvxDyLVaU_IWQmu60nme8mc.cache +0 -0
  171. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fV/fV4ivCqq_V17xe_RShk57PNdai2nsmb498TINn9gDIA.cache +0 -0
  172. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fs/fsDJJpy7QCTq-Bv5aG5ebdN9pcv60qW1EQ7WfhYCRBU.cache +0 -0
  173. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fy/fyVkx0AuDK5ShV4okmfeCuN7zDpKxkmhPkMz8K_l8t4.cache +2 -0
  174. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hM/hMRGF7WoFF2rEfvrJecF-0m9Zfx5_aA5lW8sCFUV7jU.cache +1 -0
  175. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hR/hRdW4pCvE92RjQSoxl64AUL7T8O2VhfO55sAXV10T3o.cache +1 -0
  176. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hR/hRjcsZi2b0wlq_pcW7MR19mciOgmXREZtb5RAGHNFUM.cache +1 -0
  177. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ha/hawTyRr_iv9MCtA_hbbwYWdGvqMWJngpNDUvuXa8k0U.cache +0 -0
  178. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hs/hsd8ojg3Guis8hbmtRyYy0ezAF0uzrimG8EIiXUo-9Q.cache +0 -0
  179. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i5/i5Umrz9b2QwxNDVIlJRUKN2gxFE54ckLv9ffV4GHPuA.cache +2 -0
  180. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i_/i_jpX5irIKfrchftbmo1oLkRvc4RIZzY2VjVObknNpg.cache +2 -0
  181. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ic/Ic-chpf0OYILQ5btLlDz0qv0PeLTwugK-wW84IFu5Fg.cache +1 -0
  182. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iy/iyc3G3wf7fhcD3aaoyvVA1uI-z9Tpyx3DWk1_5XY50M.cache +2 -0
  183. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j8/j8stbeFqEAsfITcSgEzwN02Qp-ftCXrQ2kTFQCXJZJM.cache +3 -0
  184. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jH/jHLkOa3McWUJO7D5t0eeL0nXDBY8Sh9Q6mn9IswU_JQ.cache +1 -0
  185. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jg/jguzJ9m_Xi601PRTg46-TNDSKxZzJSz5qQy6fz9wjqM.cache +1 -0
  186. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k0/k0jRgl02pI5hSNmsNC7aScYORVgCDvVQLGET685ppNY.cache +0 -0
  187. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k1/k117sayUamlIT-eQKC6mVuw2Z8slR2l7OiPm1_28EFc.cache +2 -0
  188. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k8/K8closty8ISWRlP1xP0Zxm9u7pErFFtBtJPxYHrpys0.cache +0 -0
  189. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k8/k8b_lTnYNDEdVcj5vOUSbZtwLQBNQuykS1LyUE5gtk0.cache +1 -0
  190. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kg/kgXS-jACrq8z9c1erQHhxpJzCeVCqrBOkov00oDjhrU.cache +1 -0
  191. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kl/klRagXmN8-H7xX70-xy6R1Q1P0aagtEHS_-xCdz0Yu8.cache +3 -0
  192. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lR/lRh2Q6VkXm7NexRAASgUyKxDUR446b31T8cGJ7_grsk.cache +0 -0
  193. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mK/mK4WSDe9PpLoC9bK4ChvlKJjVB1gAyGHccjB_JxDdA8.cache +1 -0
  194. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mw/mwwg9Rpi1SmPwKVSJgSCMIj3ZLCIzKECTtz_GHGsH5s.cache +1 -0
  195. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nx3lmRhrC8x3-6xg4KyDn-pzVPZIn1HwJrv0WRN9HWU.cache +1 -0
  196. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4Y9F2XU_uVXmdHbLHiTSqN0NE0piayqn2EwMN4yDgQ.cache +0 -0
  197. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p-/p-QFayKJymdlEkkIFgylLoIeVwJYC_2LMIp79mNXSYI.cache +0 -0
  198. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p2/p25_M0eBowYsigE3Cho4J6Dt0t6J2BlakkPCSZU3-mM.cache +0 -0
  199. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p4/p4jzvP4lbV_MeHivOsoRHK66vT6ZV7ec95Bq-T6_bFk.cache +1 -0
  200. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/pIco83wWCz77yzgLJNh-l6pQfgd_ymOoe4IUBqU0jks.cache +1 -0
  201. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/piPk-azG6adMPBvOWOuudvxphFeYZ4aQ7zEn1anQXoQ.cache +1 -0
  202. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/px/pxnopWlQ0BhzQuA9WeyNBB2ha4_65VFT4CD9zct9UsA.cache +0 -0
  203. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q4/q4F9NfIj3WfSHpTis6Njc6v5SR2-1avRZL0T6yJ9JrA.cache +1 -0
  204. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  205. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rb/Rb4T2KIs1x6fe_FxxbC2I3YYtVMuvMC2WxyHoERhhWw.cache +1 -0
  206. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rb/rbKZ7JKAfNP1eD48bLenBDJzJatCF7sG6a_S9gr_ap4.cache +1 -0
  207. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s8/s8Bt_LCzPRRiiVd_6HZHJbDkhN8nbfP1vx1oOafZvEY.cache +1 -0
  208. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sQ/sQ-vmf7oGXOiOvtOGXxJtGzLVeQSMwlBozH7tXxEH34.cache +1 -0
  209. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sx/sxvo3C3hREBTekwy4cbFZqhM-JgDih46gRL1BtBxctw.cache +2 -0
  210. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ti/tiji0zGBJn3krp83FMy4KmccAV2kjd4xuCjXTcQO1ME.cache +1 -0
  211. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uW/uWpRXEIJzFMcsSUwp-Vu5QLS3vWbos65wsNMgWi-9k0.cache +0 -0
  212. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v1/v10MGNjJKvgC4QCFiCik56wsip3gSgei2-YGTOSWCXo.cache +2 -0
  213. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v9/v9y20Av8j8_DtAf0cZlgMrqwJ5nGXCuD15YoxYsqFLs.cache +0 -0
  214. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vA/VA9A8A2fXy-GAXmbdiYZMQM6bums7Sg1NJKHz16QQys.cache +0 -0
  215. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wH/WhXCoQayKbKN8Lo61hB8-zBAI-Mwfw_DOmBY0bWzrpo.cache +0 -0
  216. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wH/wHGpYBL1pAxhDpk21sZ7MQQNvZh8vQAAvcuJS52VbXI.cache +0 -0
  217. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wM/Wml7YLRn7IjSq6pQyzjyGIuMMsidbAlsbJI1vLxvkcs.cache +1 -0
  218. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wX/wX5TuuAiX0KoZZQDqA0pkg0_zxQpPI7SDTn0ZZUTxcQ.cache +0 -0
  219. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  220. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7xEhYRDDUBfDKsN0jxX__uWTgzdd5XG51EBrTcof3E.cache +2 -0
  221. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xi/Xi_I5uFryOqg-E4QMxsRsbGzlFo5sEd8IgQhNL3pG2I.cache +1 -0
  222. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xu/xugyT_m59-IPS-aiULB0gxNzv1gbjlfhGlvlsFO0x2Y.cache +1 -0
  223. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y4/y4_xKOEmTFo148XzK_emCdlTe5iqORvm-au3IDHHxPg.cache +1 -0
  224. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y4/y4gr7bfK2vf1y-Zo9vCb1XBPN8E3xPYWW3Z4m7vjVMw.cache +1 -0
  225. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y9/y9FjqA20KTbfYLOcyl8IvHlLHJ4CHaFiq4dpwC1NwAc.cache +3 -0
  226. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yu/Yu-KtWcpPD1MEg-wKGjeBP6ON_3ieFVU01dzVmi96jc.cache +0 -0
  227. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yz/yzlOl-E-9KRNx3srRMsJOBf6sPVDpEXf5K5St-h7J2w.cache +1 -0
  228. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zx/zxq9NzAONMCEslN4ziYTixCSXQIEK7jM97P3CbOgyWk.cache +4 -0
  229. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zx/zxsh3jMQyGNRzstETFfbXwiemTRPlufYWQTPehDi6Ek.cache +0 -0
  230. data/spec/helpers/sortable_helper_spec.rb +1 -1
  231. data/spec/models/rails_sortable/model_spec.rb +3 -3
  232. data/spec/spec_helper.rb +17 -0
  233. data/vendor/assets/javascripts/plugin.js +6 -15
  234. metadata +419 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b3aaf27ff8752d22e1f98d763fe97592d2827ec510fa7471ee0a478fc44b811
4
- data.tar.gz: da62dcc27afa7f402e57bb1a83ac602dc5036c0a5d67bd8fbf5661fc507272a5
3
+ metadata.gz: 8400d3988cd0913a6b02d64e45db1d385adc89f9087b384716001bec7652c3f8
4
+ data.tar.gz: 610a626f02d671a7627085acac3da179ac9c1722e777fbcc61fd421ab9feb596
5
5
  SHA512:
6
- metadata.gz: 03c9413b30873f2103a2de6c9dfa9035a54f461293d453507309acf80ab72c48953063385a1659cc20d15684942407aa597c3e3697b08d0e88cc1edd31a08d83
7
- data.tar.gz: 4f7f14b38ec27dc3e53ac818ff6e1e7f52ffcadbba1be23634e9d223b966ce41f585a290f0fe14a1cd764d597536a38243c4444ededfc47b441c80e810583c1d
6
+ metadata.gz: e0bf29ba2875f211b6f19023672c33e1955fddc8f47a27720da04354663c0321fea9bf4f6c66de869c2c560690f051b81a50cb54ea5b0c4564590698c9e577f1
7
+ data.tar.gz: f4d917f0424e3bde1ba97a6d4a00dbc0c22954e9c7cd97b2692e8dc8cdc7200653c1c5096a798eb5c2c79dca9e58e71ea71038e9595de347788a7f1c5e7e46e1
data/README.md CHANGED
@@ -26,7 +26,7 @@ And then add the following to the asset pipeline in the `application.js`:
26
26
 
27
27
  RailsSortable requires a specific column on the ActiveRecord Model for its implementation.
28
28
 
29
- For instance, the following migration indicates the case that you are attemtting to make `Item` model sortable.
29
+ For instance, the following migration indicates the case that you are attempting to make `Item` model sortable.
30
30
 
31
31
  ```ruby
32
32
  class CreateItems < ActiveRecord::Migration[5.1]
@@ -94,7 +94,7 @@ $(function() {
94
94
  Please have a look at [Use cases@wiki](https://github.com/itmammoth/rails_sortable/wiki#use-cases) for further information.
95
95
 
96
96
  # Javascript options
97
- jQuery plugin `railsSortable` is just a wrapper of `jquery.ui.sortable`. therefore it accepts all of `sortbale` options.
97
+ jQuery plugin `railsSortable` is just a wrapper of `jquery.ui.sortable`. therefore it accepts all of `sortable` options.
98
98
 
99
99
  see the [http://api.jqueryui.com/sortable/](http://api.jqueryui.com/sortable/) to get the details.
100
100
 
@@ -110,16 +110,16 @@ Please give me a PR freely.
110
110
 
111
111
  ### Testing
112
112
  ```bash
113
- # Test with a dummy application (rails42 & rails50 are also available)
114
- $ bundle exec appraisal rails51 spec/dummy/bin/rake db:migrate
115
- $ bundle exec appraisal rails51 spec/dummy/bin/rails s
113
+ # Test with a dummy application (rails42, rails50 and rails51 are also available)
114
+ $ bundle exec appraisal rails52 spec/dummy/bin/rake db:migrate
115
+ $ bundle exec appraisal rails52 spec/dummy/bin/rails s
116
116
  # Insert test data
117
- $ bundle exec appraisal rails51 spec/dummy/bin/rake db:seed
117
+ $ bundle exec appraisal rails52 spec/dummy/bin/rake db:seed
118
118
 
119
119
  # Run rspecs
120
- $ RAILS_ENV=test bundle exec appraisal rails51 spec/dummy/bin/rake db:migrate
120
+ $ RAILS_ENV=test bundle exec appraisal rails52 spec/dummy/bin/rake db:migrate
121
121
  $ bundle exec appraisal rspec # for all rails versions
122
- $ bundle exec appraisal rails51 rspec # for specific version
122
+ $ bundle exec appraisal rails52 rspec # for specific version
123
123
  ```
124
124
 
125
125
  # Licence
@@ -1,11 +1,18 @@
1
1
  class SortableController < ApplicationController
2
+
3
+ VERIFIER = Rails.application.message_verifier(:rails_sortable_generate_sortable_id)
4
+
2
5
  #
3
- # post /sortable/reorder, rails_sortable: [{ klass: "Item", id: "3" }, { klass: "Item", id: "2" }, { klass: "Item", id: "1" }]
6
+ # post /sortable/reorder, rails_sortable: [
7
+ # "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e",
8
+ # "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", ...]
9
+ # Param `rails_sorable` is an array object containing encoded tokens,
10
+ # and each token must be able to be decoded with VERIFIER to a string formatted as "class={CLASS_NAME},id={ID}".
4
11
  #
5
12
  def reorder
6
13
  ActiveRecord::Base.transaction do
7
- params['rails_sortable'].each_with_index do |klass_to_id, new_sort|
8
- model = find_model(klass_to_id)
14
+ params['rails_sortable'].each_with_index do |token, new_sort|
15
+ model = find_model(token)
9
16
  current_sort = model.read_attribute(model.class.sort_attribute)
10
17
  model.update_sort!(new_sort) if current_sort != new_sort
11
18
  end
@@ -16,8 +23,8 @@ class SortableController < ApplicationController
16
23
 
17
24
  private
18
25
 
19
- def find_model(klass_to_id)
20
- klass, id = klass_to_id.values_at('klass', 'id')
26
+ def find_model(token)
27
+ klass, id = VERIFIER.verify(token).match(/class=(.+),id=(.+)/)[1..2]
21
28
  klass.constantize.find(id.to_i)
22
29
  end
23
30
  end
@@ -30,7 +30,7 @@ module RailsSortable
30
30
  end
31
31
 
32
32
  def sortable_id
33
- "#{self.class}_#{self.id}"
33
+ SortableController::VERIFIER.generate("class=#{self.class},id=#{self.id}")
34
34
  end
35
35
 
36
36
  protected
@@ -1,3 +1,3 @@
1
1
  module RailsSortable
2
- VERSION = '1.2.1'
2
+ VERSION = '1.3.0'
3
3
  end
@@ -1,5 +1,9 @@
1
1
  require 'spec_helper'
2
2
 
3
+ def create_token(klass, id)
4
+ return SortableController::VERIFIER.generate("class=#{klass},id=#{id}")
5
+ end
6
+
3
7
  describe SortableController, type: :controller do
4
8
  describe 'POST reorder' do
5
9
  before do
@@ -9,9 +13,9 @@ describe SortableController, type: :controller do
9
13
  end
10
14
  it 'should reorder models' do
11
15
  data = [
12
- { klass: 'Item', id: @item1.to_param },
13
- { klass: 'Item', id: @item3.to_param },
14
- { klass: 'Item', id: @item2.to_param },
16
+ create_token('Item', @item1.to_param),
17
+ create_token('Item', @item3.to_param),
18
+ create_token('Item', @item2.to_param),
15
19
  ]
16
20
  if Gem::Version.new(Rails.version) < Gem::Version.new(5)
17
21
  post :reorder, rails_sortable: data
@@ -34,10 +38,10 @@ describe SortableController, type: :controller do
34
38
  end
35
39
  it 'should reorder models' do
36
40
  data = [
37
- { klass: 'SecondItem', id: @second_item2.to_param },
38
- { klass: 'FirstItem', id: @first_item2.to_param },
39
- { klass: 'FirstItem', id: @first_item1.to_param },
40
- { klass: 'SecondItem', id: @second_item1.to_param },
41
+ create_token('SecondItem', @second_item2.to_param),
42
+ create_token('FirstItem', @first_item2.to_param),
43
+ create_token('FirstItem', @first_item1.to_param),
44
+ create_token('SecondItem', @second_item1.to_param),
41
45
  ]
42
46
  if Gem::Version.new(Rails.version) < Gem::Version.new(5)
43
47
  post :reorder, rails_sortable: data
@@ -71,7 +71,7 @@ Dummy::Application.configure do
71
71
 
72
72
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
73
73
  # the I18n.default_locale when a translation can not be found).
74
- config.i18n.fallbacks = true
74
+ config.i18n.fallbacks = [I18n.default_locale]
75
75
 
76
76
  # Send deprecation notices to registered listeners.
77
77
  config.active_support.deprecation = :notify
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20180427061457) do
13
+ ActiveRecord::Schema.define(version: 2018_04_27_061457) do
14
14
 
15
15
  create_table "first_items", force: :cascade do |t|
16
16
  t.string "title"
@@ -4086,3 +4086,3506 @@ Processing by ItemsController#index as HTML
4086
4086
  Completed 200 OK in 54ms (Views: 51.4ms | ActiveRecord: 0.2ms)
4087
4087
 
4088
4088
 
4089
+ Started GET "/" for ::1 at 2018-06-23 13:19:46 +0900
4090
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4091
+ Processing by Rails::WelcomeController#index as HTML
4092
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
4093
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (10.8ms)
4094
+ Completed 200 OK in 26ms (Views: 17.6ms | ActiveRecord: 0.0ms)
4095
+
4096
+
4097
+ Started GET "/items" for ::1 at 2018-06-23 13:19:51 +0900
4098
+ Processing by ItemsController#index as HTML
4099
+ Rendering items/index.html.erb within layouts/application
4100
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4101
+ Rendered items/index.html.erb within layouts/application (15.0ms)
4102
+ Completed 200 OK in 350ms (Views: 344.4ms | ActiveRecord: 1.3ms)
4103
+
4104
+
4105
+ Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4106
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4107
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4108
+ Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4109
+ Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4110
+ Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4111
+ Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4112
+ Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4113
+ Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4114
+ Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2018-06-23 13:19:51 +0900
4115
+ Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4116
+ Started GET "/assets/plugin.self-7f6872b827bbde6c5ee4903774745cf3cd9f63b7a1a2f7a974013b06a6ecceac.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4117
+ Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4118
+ Started GET "/assets/items.self-d03e2e146c48fdcab1d5818b466741b5283c64a82d13b8d529761d2b3b48cf3d.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4119
+ Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4120
+ Started GET "/assets/multiple_classes.self-53973d459df78e9f48c10465e01232b4609d2b3b4c94fbe372fe77c897f60ad7.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4121
+ Started GET "/assets/sequenced_items.self-bd07269bb38e1168792a274bacc24aa011a3f7bdb35130acb91f2f39e768f2ed.js?body=1" for ::1 at 2018-06-23 13:19:52 +0900
4122
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:19:56 +0900
4123
+ Processing by SortableController#reorder as JSON
4124
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}]}}
4125
+  (0.1ms) begin transaction
4126
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4127
+ SQL (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-06-23 04:19:56.159412"], ["id", 50]]
4128
+ Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4129
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-06-23 04:19:56.162975"], ["id", 41]]
4130
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4131
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2018-06-23 04:19:56.165369"], ["id", 42]]
4132
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4133
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2018-06-23 04:19:56.166571"], ["id", 43]]
4134
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4135
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2018-06-23 04:19:56.168279"], ["id", 44]]
4136
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4137
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2018-06-23 04:19:56.169436"], ["id", 45]]
4138
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4139
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2018-06-23 04:19:56.170861"], ["id", 46]]
4140
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4141
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2018-06-23 04:19:56.172762"], ["id", 47]]
4142
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4143
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2018-06-23 04:19:56.174329"], ["id", 48]]
4144
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4145
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2018-06-23 04:19:56.175603"], ["id", 49]]
4146
+  (2.9ms) commit transaction
4147
+ Completed 200 OK in 22ms (ActiveRecord: 5.5ms)
4148
+
4149
+
4150
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:19:58 +0900
4151
+ Processing by SortableController#reorder as JSON
4152
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}]}}
4153
+  (0.1ms) begin transaction
4154
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4155
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-06-23 04:19:58.909138"], ["id", 49]]
4156
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4157
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-06-23 04:19:58.910823"], ["id", 50]]
4158
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4159
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2018-06-23 04:19:58.912384"], ["id", 41]]
4160
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4161
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2018-06-23 04:19:58.915102"], ["id", 42]]
4162
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4163
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2018-06-23 04:19:58.917847"], ["id", 43]]
4164
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4165
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2018-06-23 04:19:58.919563"], ["id", 44]]
4166
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4167
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2018-06-23 04:19:58.920972"], ["id", 45]]
4168
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4169
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2018-06-23 04:19:58.922063"], ["id", 46]]
4170
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4171
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2018-06-23 04:19:58.923263"], ["id", 47]]
4172
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4173
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2018-06-23 04:19:58.924345"], ["id", 48]]
4174
+  (2.3ms) commit transaction
4175
+ Completed 200 OK in 20ms (ActiveRecord: 4.2ms)
4176
+
4177
+
4178
+ Started GET "/items" for ::1 at 2018-06-23 13:19:59 +0900
4179
+ Processing by ItemsController#index as HTML
4180
+ Rendering items/index.html.erb within layouts/application
4181
+ Item Load (0.8ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4182
+ Rendered items/index.html.erb within layouts/application (5.9ms)
4183
+ Completed 200 OK in 60ms (Views: 55.6ms | ActiveRecord: 0.8ms)
4184
+
4185
+
4186
+ Started GET "/items" for ::1 at 2018-06-23 13:23:13 +0900
4187
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4188
+ Processing by ItemsController#index as HTML
4189
+ Rendering items/index.html.erb within layouts/application
4190
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4191
+ Rendered items/index.html.erb within layouts/application (24.4ms)
4192
+ Completed 200 OK in 199ms (Views: 194.5ms | ActiveRecord: 1.2ms)
4193
+
4194
+
4195
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:23:18 +0900
4196
+ Processing by SortableController#reorder as JSON
4197
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4198
+  (0.0ms) begin transaction
4199
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4200
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4201
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4202
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4203
+ SQL (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2018-06-23 04:23:18.224223"], ["id", 48]]
4204
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4205
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2018-06-23 04:23:18.226911"], ["id", 42]]
4206
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4207
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2018-06-23 04:23:18.228145"], ["id", 43]]
4208
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4209
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2018-06-23 04:23:18.229306"], ["id", 44]]
4210
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4211
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2018-06-23 04:23:18.230379"], ["id", 45]]
4212
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4213
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2018-06-23 04:23:18.231532"], ["id", 46]]
4214
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4215
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2018-06-23 04:23:18.233276"], ["id", 47]]
4216
+  (2.0ms) commit transaction
4217
+ Completed 200 OK in 17ms (ActiveRecord: 3.8ms)
4218
+
4219
+
4220
+ Started GET "/items" for ::1 at 2018-06-23 13:23:53 +0900
4221
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4222
+ Processing by ItemsController#index as HTML
4223
+ Rendering items/index.html.erb within layouts/application
4224
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4225
+ Rendered items/index.html.erb within layouts/application (15.8ms)
4226
+ Completed 200 OK in 198ms (Views: 193.4ms | ActiveRecord: 0.8ms)
4227
+
4228
+
4229
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:23:56 +0900
4230
+
4231
+ ActionController::RoutingError (No route matches [POST] "/sortable/reorder"):
4232
+
4233
+ actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
4234
+ actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
4235
+ railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
4236
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
4237
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
4238
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
4239
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
4240
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
4241
+ actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
4242
+ actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
4243
+ rack (2.0.3) lib/rack/method_override.rb:22:in `call'
4244
+ rack (2.0.3) lib/rack/runtime.rb:22:in `call'
4245
+ activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
4246
+ actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
4247
+ actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
4248
+ rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
4249
+ railties (5.1.4) lib/rails/engine.rb:522:in `call'
4250
+ rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
4251
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
4252
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
4253
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
4254
+ Started GET "/items" for ::1 at 2018-06-23 13:25:08 +0900
4255
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4256
+ Processing by ItemsController#index as HTML
4257
+ Rendering items/index.html.erb within layouts/application
4258
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4259
+ Rendered items/index.html.erb within layouts/application (11.0ms)
4260
+ Completed 200 OK in 206ms (Views: 201.2ms | ActiveRecord: 0.6ms)
4261
+
4262
+
4263
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:25:11 +0900
4264
+
4265
+ ActionController::RoutingError (No route matches [POST] "/sortable/reorder"):
4266
+
4267
+ actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
4268
+ actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
4269
+ railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
4270
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
4271
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
4272
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
4273
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
4274
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
4275
+ actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
4276
+ actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
4277
+ rack (2.0.3) lib/rack/method_override.rb:22:in `call'
4278
+ rack (2.0.3) lib/rack/runtime.rb:22:in `call'
4279
+ activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
4280
+ actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
4281
+ actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
4282
+ rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
4283
+ railties (5.1.4) lib/rails/engine.rb:522:in `call'
4284
+ rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
4285
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
4286
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
4287
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
4288
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:28:59 +0900
4289
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4290
+ Processing by Rails::InfoController#routes as HTML
4291
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4292
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (12.6ms)
4293
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (20.0ms)
4294
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (47.6ms)
4295
+ Completed 200 OK in 69ms (Views: 63.0ms | ActiveRecord: 0.0ms)
4296
+
4297
+
4298
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:30:26 +0900
4299
+ Processing by Rails::InfoController#routes as HTML
4300
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4301
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (9.1ms)
4302
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
4303
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (18.8ms)
4304
+ Completed 200 OK in 36ms (Views: 30.8ms | ActiveRecord: 0.0ms)
4305
+
4306
+
4307
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:30:29 +0900
4308
+ Processing by Rails::InfoController#routes as HTML
4309
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4310
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (3.4ms)
4311
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
4312
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (10.9ms)
4313
+ Completed 200 OK in 31ms (Views: 24.4ms | ActiveRecord: 0.0ms)
4314
+
4315
+
4316
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:30:47 +0900
4317
+ Processing by Rails::InfoController#routes as HTML
4318
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4319
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (6.2ms)
4320
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
4321
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (13.4ms)
4322
+ Completed 200 OK in 32ms (Views: 26.1ms | ActiveRecord: 0.0ms)
4323
+
4324
+
4325
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:30:50 +0900
4326
+ Processing by Rails::InfoController#routes as HTML
4327
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4328
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (3.8ms)
4329
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
4330
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (14.1ms)
4331
+ Completed 200 OK in 32ms (Views: 26.3ms | ActiveRecord: 0.0ms)
4332
+
4333
+
4334
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:31:04 +0900
4335
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4336
+ Processing by Rails::InfoController#routes as HTML
4337
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4338
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (5.1ms)
4339
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.9ms)
4340
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (28.2ms)
4341
+ Completed 200 OK in 46ms (Views: 41.7ms | ActiveRecord: 0.0ms)
4342
+
4343
+
4344
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:31:26 +0900
4345
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4346
+ Processing by Rails::InfoController#routes as HTML
4347
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4348
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (9.7ms)
4349
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.1ms)
4350
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (25.6ms)
4351
+ Completed 200 OK in 42ms (Views: 37.4ms | ActiveRecord: 0.0ms)
4352
+
4353
+
4354
+ Started GET "/" for ::1 at 2018-06-23 13:31:43 +0900
4355
+ Processing by Rails::WelcomeController#index as HTML
4356
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
4357
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (1.5ms)
4358
+ Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.0ms)
4359
+
4360
+
4361
+ Started GET "/items" for ::1 at 2018-06-23 13:31:49 +0900
4362
+ Processing by ItemsController#index as HTML
4363
+ Rendering items/index.html.erb within layouts/application
4364
+ Item Load (0.5ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4365
+ Rendered items/index.html.erb within layouts/application (26.1ms)
4366
+ Completed 200 OK in 237ms (Views: 228.6ms | ActiveRecord: 1.2ms)
4367
+
4368
+
4369
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:31:52 +0900
4370
+
4371
+ ActionController::RoutingError (No route matches [POST] "/sortable/reorder"):
4372
+
4373
+ actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
4374
+ actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
4375
+ railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
4376
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
4377
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
4378
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
4379
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
4380
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
4381
+ actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
4382
+ actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
4383
+ rack (2.0.3) lib/rack/method_override.rb:22:in `call'
4384
+ rack (2.0.3) lib/rack/runtime.rb:22:in `call'
4385
+ activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
4386
+ actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
4387
+ actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
4388
+ rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
4389
+ railties (5.1.4) lib/rails/engine.rb:522:in `call'
4390
+ rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
4391
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
4392
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
4393
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
4394
+ Started GET "/items" for ::1 at 2018-06-23 13:32:00 +0900
4395
+ Processing by ItemsController#index as HTML
4396
+ Rendering items/index.html.erb within layouts/application
4397
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4398
+ Rendered items/index.html.erb within layouts/application (4.2ms)
4399
+ Completed 200 OK in 37ms (Views: 33.4ms | ActiveRecord: 0.2ms)
4400
+
4401
+
4402
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:37:11 +0900
4403
+ Processing by Rails::InfoController#routes as HTML
4404
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4405
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (3.7ms)
4406
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.7ms)
4407
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (9.6ms)
4408
+ Completed 200 OK in 24ms (Views: 19.0ms | ActiveRecord: 0.0ms)
4409
+
4410
+
4411
+ Started GET "/items" for ::1 at 2018-06-23 13:37:36 +0900
4412
+ Processing by ItemsController#index as HTML
4413
+ Rendering items/index.html.erb within layouts/application
4414
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4415
+ Rendered items/index.html.erb within layouts/application (3.6ms)
4416
+ Completed 500 Internal Server Error in 58ms (ActiveRecord: 0.2ms)
4417
+
4418
+
4419
+
4420
+ ActionView::Template::Error (undefined local variable or method `itmammoth_sortable_reorder_path' for #<#<Class:0x00007fa246bb13a0>:0x00007fa24779b698>):
4421
+ 3: <head>
4422
+ 4: <title>Dummy</title>
4423
+ 5: <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true, :defer => true %>
4424
+ 6: <%= javascript_include_tag "application", "data-turbolinks-track" => true, :defer => true %>
4425
+ 7: <%= csrf_meta_tags %>
4426
+ 8: </head>
4427
+ 9: <body>
4428
+
4429
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___2813485607524607414_70167476100440'
4430
+ Started GET "/items" for ::1 at 2018-06-23 13:38:40 +0900
4431
+ Processing by ItemsController#index as HTML
4432
+ Rendering items/index.html.erb within layouts/application
4433
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4434
+ Rendered items/index.html.erb within layouts/application (6.2ms)
4435
+ Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.3ms)
4436
+
4437
+
4438
+
4439
+ ActionView::Template::Error (undefined local variable or method `itmammoth_sortable_reorder_path' for #<#<Class:0x00007fa2463ab098>:0x00007fa247f15a68>):
4440
+ 3: <head>
4441
+ 4: <title>Dummy</title>
4442
+ 5: <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true, :defer => true %>
4443
+ 6: <%= javascript_include_tag "application", "data-turbolinks-track" => true, :defer => true %>
4444
+ 7: <%= csrf_meta_tags %>
4445
+ 8: </head>
4446
+ 9: <body>
4447
+
4448
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___2813485607524607414_70167482261180'
4449
+ Started GET "/items" for ::1 at 2018-06-23 13:38:51 +0900
4450
+ Processing by ItemsController#index as HTML
4451
+ Rendering items/index.html.erb within layouts/application
4452
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4453
+ Rendered items/index.html.erb within layouts/application (4.2ms)
4454
+ Completed 200 OK in 51ms (Views: 48.6ms | ActiveRecord: 0.2ms)
4455
+
4456
+
4457
+ Started GET "/items" for ::1 at 2018-06-23 13:41:34 +0900
4458
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4459
+ Processing by ItemsController#index as HTML
4460
+ Rendering items/index.html.erb within layouts/application
4461
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4462
+ Rendered items/index.html.erb within layouts/application (14.8ms)
4463
+ Completed 200 OK in 203ms (Views: 199.3ms | ActiveRecord: 0.6ms)
4464
+
4465
+
4466
+ Started POST "/sortable/reorder" for ::1 at 2018-06-23 13:41:39 +0900
4467
+
4468
+ ActionController::RoutingError (No route matches [POST] "/sortable/reorder"):
4469
+
4470
+ actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
4471
+ actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
4472
+ railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
4473
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
4474
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
4475
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
4476
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
4477
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
4478
+ actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
4479
+ actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
4480
+ rack (2.0.3) lib/rack/method_override.rb:22:in `call'
4481
+ rack (2.0.3) lib/rack/runtime.rb:22:in `call'
4482
+ activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
4483
+ actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
4484
+ actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
4485
+ rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
4486
+ railties (5.1.4) lib/rails/engine.rb:522:in `call'
4487
+ rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
4488
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
4489
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
4490
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
4491
+ Started GET "/rails/info/routes" for ::1 at 2018-06-23 13:42:09 +0900
4492
+ Processing by Rails::InfoController#routes as HTML
4493
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application
4494
+ Rendered collection of /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb [18 times] (8.8ms)
4495
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.2ms)
4496
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (28.4ms)
4497
+ Completed 200 OK in 51ms (Views: 43.6ms | ActiveRecord: 0.0ms)
4498
+
4499
+
4500
+ Started GET "/" for ::1 at 2018-08-10 20:03:47 +0900
4501
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4502
+ Processing by Rails::WelcomeController#index as HTML
4503
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
4504
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.7ms)
4505
+ Completed 200 OK in 24ms (Views: 13.2ms | ActiveRecord: 0.0ms)
4506
+
4507
+
4508
+ Started GET "/items" for ::1 at 2018-08-10 20:03:51 +0900
4509
+ Processing by ItemsController#index as HTML
4510
+ Rendering items/index.html.erb within layouts/application
4511
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4512
+ Rendered items/index.html.erb within layouts/application (16.6ms)
4513
+ Completed 200 OK in 373ms (Views: 362.0ms | ActiveRecord: 0.6ms)
4514
+
4515
+
4516
+ Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4517
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4518
+ Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4519
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4520
+ Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4521
+ Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4522
+ Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4523
+ Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4524
+ Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4525
+ Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4526
+ Started GET "/assets/plugin.self-36f2ec2747dda8b53ef2782774bc987c34259b612a2b6bd7491a9efda17529a3.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4527
+ Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4528
+ Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4529
+ Started GET "/assets/items.self-d03e2e146c48fdcab1d5818b466741b5283c64a82d13b8d529761d2b3b48cf3d.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4530
+ Started GET "/assets/sequenced_items.self-bd07269bb38e1168792a274bacc24aa011a3f7bdb35130acb91f2f39e768f2ed.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4531
+ Started GET "/assets/multiple_classes.self-53973d459df78e9f48c10465e01232b4609d2b3b4c94fbe372fe77c897f60ad7.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4532
+ Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2018-08-10 20:03:51 +0900
4533
+ Started POST "/sortable/reorder" for ::1 at 2018-08-10 20:06:12 +0900
4534
+ Processing by SortableController#reorder as JSON
4535
+ Parameters: {"rails_sortable"=>[{"klass"=>"User", "id"=>"48"}, {"klass"=>"User", "id"=>"49"}, {"klass"=>"User", "id"=>"50"}, {"klass"=>"User", "id"=>"41"}, {"klass"=>"User", "id"=>"42"}, {"klass"=>"User", "id"=>"43"}, {"klass"=>"User", "id"=>"44"}, {"klass"=>"User", "id"=>"45"}, {"klass"=>"User", "id"=>"46"}, {"klass"=>"User", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"User", "id"=>"48"}, {"klass"=>"User", "id"=>"49"}, {"klass"=>"User", "id"=>"50"}, {"klass"=>"User", "id"=>"41"}, {"klass"=>"User", "id"=>"42"}, {"klass"=>"User", "id"=>"43"}, {"klass"=>"User", "id"=>"44"}, {"klass"=>"User", "id"=>"45"}, {"klass"=>"User", "id"=>"46"}, {"klass"=>"User", "id"=>"47"}]}}
4536
+  (0.1ms) begin transaction
4537
+  (0.1ms) rollback transaction
4538
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
4539
+
4540
+
4541
+
4542
+ NameError (uninitialized constant User):
4543
+
4544
+ activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `const_get'
4545
+ activesupport (5.1.4) lib/active_support/inflector/methods.rb:269:in `block in constantize'
4546
+ activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `each'
4547
+ activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `inject'
4548
+ activesupport (5.1.4) lib/active_support/inflector/methods.rb:267:in `constantize'
4549
+ activesupport (5.1.4) lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
4550
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:21:in `find_model'
4551
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:8:in `block (2 levels) in reorder'
4552
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `each'
4553
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `each_with_index'
4554
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `block in reorder'
4555
+ activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
4556
+ activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
4557
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
4558
+ activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
4559
+ activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
4560
+ activerecord (5.1.4) lib/active_record/transactions.rb:210:in `transaction'
4561
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:6:in `reorder'
4562
+ actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
4563
+ actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
4564
+ actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
4565
+ actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
4566
+ activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
4567
+ actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
4568
+ actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
4569
+ actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
4570
+ activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
4571
+ activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
4572
+ activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
4573
+ actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
4574
+ actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
4575
+ activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
4576
+ actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
4577
+ actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
4578
+ actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
4579
+ actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
4580
+ actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
4581
+ actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
4582
+ actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
4583
+ actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
4584
+ actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
4585
+ actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
4586
+ rack (2.0.3) lib/rack/etag.rb:25:in `call'
4587
+ rack (2.0.3) lib/rack/conditional_get.rb:38:in `call'
4588
+ rack (2.0.3) lib/rack/head.rb:12:in `call'
4589
+ rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
4590
+ rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
4591
+ actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
4592
+ activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
4593
+ actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
4594
+ activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
4595
+ actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
4596
+ actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
4597
+ actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
4598
+ actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
4599
+ railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
4600
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
4601
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
4602
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
4603
+ activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
4604
+ railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
4605
+ actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
4606
+ actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
4607
+ rack (2.0.3) lib/rack/method_override.rb:22:in `call'
4608
+ rack (2.0.3) lib/rack/runtime.rb:22:in `call'
4609
+ activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
4610
+ actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
4611
+ actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
4612
+ rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
4613
+ railties (5.1.4) lib/rails/engine.rb:522:in `call'
4614
+ rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
4615
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
4616
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
4617
+ /Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
4618
+ Started GET "/" for ::1 at 2018-12-16 16:31:26 +0900
4619
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4620
+ Processing by Rails::WelcomeController#index as HTML
4621
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
4622
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (4.8ms)
4623
+ Completed 200 OK in 27ms (Views: 15.5ms | ActiveRecord: 0.0ms)
4624
+
4625
+
4626
+ Started GET "/items" for ::1 at 2018-12-16 16:31:36 +0900
4627
+ Processing by ItemsController#index as HTML
4628
+ Rendering items/index.html.erb within layouts/application
4629
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4630
+ Rendered items/index.html.erb within layouts/application (57.5ms)
4631
+ Completed 200 OK in 440ms (Views: 412.4ms | ActiveRecord: 4.9ms)
4632
+
4633
+
4634
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2018-12-16 16:31:36 +0900
4635
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2018-12-16 16:31:36 +0900
4636
+ Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2018-12-16 16:31:36 +0900
4637
+ Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2018-12-16 16:31:36 +0900
4638
+ Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4639
+ Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4640
+ Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4641
+ Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4642
+ Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4643
+ Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4644
+ Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4645
+ Started GET "/assets/plugin.self-36f2ec2747dda8b53ef2782774bc987c34259b612a2b6bd7491a9efda17529a3.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4646
+ Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4647
+ Started GET "/assets/multiple_classes.self-53973d459df78e9f48c10465e01232b4609d2b3b4c94fbe372fe77c897f60ad7.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4648
+ Started GET "/assets/items.self-d03e2e146c48fdcab1d5818b466741b5283c64a82d13b8d529761d2b3b48cf3d.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4649
+ Started GET "/assets/sequenced_items.self-bd07269bb38e1168792a274bacc24aa011a3f7bdb35130acb91f2f39e768f2ed.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4650
+ Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2018-12-16 16:31:37 +0900
4651
+ Started GET "/items" for ::1 at 2018-12-16 16:31:52 +0900
4652
+ Processing by ItemsController#index as HTML
4653
+ Rendering items/index.html.erb within layouts/application
4654
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4655
+ Rendered items/index.html.erb within layouts/application (3.5ms)
4656
+ Completed 200 OK in 35ms (Views: 31.7ms | ActiveRecord: 0.2ms)
4657
+
4658
+
4659
+ Started GET "/items" for ::1 at 2018-12-16 16:31:57 +0900
4660
+ Processing by ItemsController#index as HTML
4661
+ Rendering items/index.html.erb within layouts/application
4662
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4663
+ Rendered items/index.html.erb within layouts/application (6.0ms)
4664
+ Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 0.4ms)
4665
+
4666
+
4667
+ Started GET "/items" for ::1 at 2018-12-16 16:32:08 +0900
4668
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4669
+ Processing by ItemsController#index as HTML
4670
+ Rendering items/index.html.erb within layouts/application
4671
+ Rendered items/index.html.erb within layouts/application (7.5ms)
4672
+ Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.0ms)
4673
+
4674
+
4675
+
4676
+ ActionView::Template::Error (undefined method `pry' for #<Binding:0x00007fe28a09bce8>):
4677
+ 13: </thead>
4678
+ 14:
4679
+ 15: <tbody class="sortable-items">
4680
+ 16: <% @items.each_with_sortable_id do |item, sortable_id| %>
4681
+ 17: <tr id="<%= sortable_id %>">
4682
+ 18: <td><%= item.title %></td>
4683
+ 19: <td><%= item.sort %></td>
4684
+
4685
+ app/views/items/index.html.erb:16:in `_app_views_items_index_html_erb__1929685173340938359_70305477894920'
4686
+ Started GET "/items" for ::1 at 2018-12-16 16:35:25 +0900
4687
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4688
+ Processing by ItemsController#index as HTML
4689
+ Rendering items/index.html.erb within layouts/application
4690
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4691
+ Rendered items/index.html.erb within layouts/application (47365.1ms)
4692
+ Completed 200 OK in 47581ms (Views: 47576.9ms | ActiveRecord: 1.0ms)
4693
+
4694
+
4695
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
4696
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
4697
+ boolean values and must have old data converted to 1 and 0 (its native boolean
4698
+ serialization) before setting this flag to true. Conversion can be accomplished
4699
+ by setting up a rake task which runs
4700
+
4701
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
4702
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
4703
+
4704
+ for all models and all boolean columns, after which the flag must be set to
4705
+ true by adding the following to your application.rb file:
4706
+
4707
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
4708
+ (called from <top (required)> at spec/dummy/bin/rake:4)
4709
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4710
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4711
+  (0.0ms) begin transaction
4712
+  (0.0ms) commit transaction
4713
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4714
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
4715
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
4716
+ boolean values and must have old data converted to 1 and 0 (its native boolean
4717
+ serialization) before setting this flag to true. Conversion can be accomplished
4718
+ by setting up a rake task which runs
4719
+
4720
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
4721
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
4722
+
4723
+ for all models and all boolean columns, after which the flag must be set to
4724
+ true by adding the following to your application.rb file:
4725
+
4726
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
4727
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
4728
+ Started GET "/" for ::1 at 2019-04-27 15:31:49 +0900
4729
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4730
+ Processing by Rails::WelcomeController#index as HTML
4731
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
4732
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (3.7ms)
4733
+ Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.0ms)
4734
+
4735
+
4736
+ Started GET "/items" for ::1 at 2019-04-27 15:31:55 +0900
4737
+ Processing by ItemsController#index as HTML
4738
+ Rendering items/index.html.erb within layouts/application
4739
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4740
+ Rendered items/index.html.erb within layouts/application (17.7ms)
4741
+ Completed 200 OK in 481ms (Views: 477.0ms | ActiveRecord: 0.6ms)
4742
+
4743
+
4744
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4745
+ Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4746
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4747
+ Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4748
+ Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4749
+ Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4750
+ Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4751
+ Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4752
+ Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4753
+ Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4754
+ Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4755
+ Started GET "/assets/plugin.self-36f2ec2747dda8b53ef2782774bc987c34259b612a2b6bd7491a9efda17529a3.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4756
+ Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4757
+ Started GET "/assets/items.self-d03e2e146c48fdcab1d5818b466741b5283c64a82d13b8d529761d2b3b48cf3d.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4758
+ Started GET "/assets/multiple_classes.self-53973d459df78e9f48c10465e01232b4609d2b3b4c94fbe372fe77c897f60ad7.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4759
+ Started GET "/assets/sequenced_items.self-bd07269bb38e1168792a274bacc24aa011a3f7bdb35130acb91f2f39e768f2ed.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4760
+ Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2019-04-27 15:31:56 +0900
4761
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:03 +0900
4762
+ Processing by SortableController#reorder as JSON
4763
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4764
+  (0.1ms) begin transaction
4765
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4766
+ Item Update (0.7ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-04-27 06:32:03.893108"], ["id", 50]]
4767
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4768
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-04-27 06:32:03.895764"], ["id", 41]]
4769
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4770
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-04-27 06:32:03.898144"], ["id", 49]]
4771
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4772
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4773
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4774
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4775
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4776
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4777
+ Item Load (1.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4778
+  (2.3ms) commit transaction
4779
+ Completed 200 OK in 23ms (ActiveRecord: 5.4ms)
4780
+
4781
+
4782
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:06 +0900
4783
+ Processing by SortableController#reorder as JSON
4784
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4785
+  (0.1ms) begin transaction
4786
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4787
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-04-27 06:32:06.042952"], ["id", 41]]
4788
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4789
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-04-27 06:32:06.044310"], ["id", 50]]
4790
+ Item Load (0.5ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4791
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4792
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4793
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4794
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4795
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4796
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4797
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4798
+  (1.9ms) commit transaction
4799
+ Completed 200 OK in 23ms (ActiveRecord: 3.5ms)
4800
+
4801
+
4802
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:07 +0900
4803
+ Processing by SortableController#reorder as JSON
4804
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4805
+  (0.1ms) begin transaction
4806
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4807
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4808
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-04-27 06:32:07.712103"], ["id", 42]]
4809
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4810
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-04-27 06:32:07.714948"], ["id", 50]]
4811
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4812
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-04-27 06:32:07.719189"], ["id", 49]]
4813
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4814
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-04-27 06:32:07.720727"], ["id", 48]]
4815
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4816
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4817
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4818
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4819
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4820
+  (0.7ms) commit transaction
4821
+ Completed 200 OK in 20ms (ActiveRecord: 2.4ms)
4822
+
4823
+
4824
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:09 +0900
4825
+ Processing by SortableController#reorder as JSON
4826
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4827
+  (0.1ms) begin transaction
4828
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4829
+ Item Load (0.7ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4830
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4831
+ Item Update (0.7ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-04-27 06:32:09.726628"], ["id", 43]]
4832
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4833
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-04-27 06:32:09.731110"], ["id", 50]]
4834
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4835
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-04-27 06:32:09.735461"], ["id", 49]]
4836
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4837
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-04-27 06:32:09.737303"], ["id", 48]]
4838
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4839
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4840
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4841
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4842
+  (0.9ms) commit transaction
4843
+ Completed 200 OK in 25ms (ActiveRecord: 3.4ms)
4844
+
4845
+
4846
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:11 +0900
4847
+ Processing by SortableController#reorder as JSON
4848
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4849
+  (0.2ms) begin transaction
4850
+ Item Load (1.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4851
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4852
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4853
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4854
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-04-27 06:32:11.893363"], ["id", 44]]
4855
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4856
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-04-27 06:32:11.895192"], ["id", 50]]
4857
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4858
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-04-27 06:32:11.896861"], ["id", 49]]
4859
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4860
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-04-27 06:32:11.899858"], ["id", 48]]
4861
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4862
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4863
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4864
+  (1.9ms) commit transaction
4865
+ Completed 200 OK in 23ms (ActiveRecord: 4.6ms)
4866
+
4867
+
4868
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:14 +0900
4869
+ Processing by SortableController#reorder as JSON
4870
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}]}}
4871
+  (0.1ms) begin transaction
4872
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4873
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4874
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4875
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4876
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4877
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-04-27 06:32:14.288870"], ["id", 45]]
4878
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4879
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-04-27 06:32:14.290147"], ["id", 50]]
4880
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4881
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-04-27 06:32:14.292648"], ["id", 49]]
4882
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4883
+ Item Update (1.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-04-27 06:32:14.293851"], ["id", 48]]
4884
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4885
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4886
+  (1.9ms) commit transaction
4887
+ Completed 200 OK in 21ms (ActiveRecord: 4.5ms)
4888
+
4889
+
4890
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:16 +0900
4891
+ Processing by SortableController#reorder as JSON
4892
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"47"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"47"}]}}
4893
+  (0.1ms) begin transaction
4894
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4895
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4896
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4897
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4898
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4899
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4900
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-04-27 06:32:16.527572"], ["id", 46]]
4901
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4902
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-04-27 06:32:16.529948"], ["id", 50]]
4903
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4904
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-04-27 06:32:16.547613"], ["id", 49]]
4905
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4906
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-04-27 06:32:16.550578"], ["id", 48]]
4907
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4908
+  (0.8ms) commit transaction
4909
+ Completed 200 OK in 35ms (ActiveRecord: 3.0ms)
4910
+
4911
+
4912
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:18 +0900
4913
+ Processing by SortableController#reorder as JSON
4914
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"48"}]}}
4915
+  (0.0ms) begin transaction
4916
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4917
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4918
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4919
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4920
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4921
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4922
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4923
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-04-27 06:32:18.718721"], ["id", 47]]
4924
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4925
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-04-27 06:32:18.720445"], ["id", 50]]
4926
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4927
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-04-27 06:32:18.721590"], ["id", 49]]
4928
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4929
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-04-27 06:32:18.722829"], ["id", 48]]
4930
+  (1.1ms) commit transaction
4931
+ Completed 200 OK in 14ms (ActiveRecord: 2.5ms)
4932
+
4933
+
4934
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:19 +0900
4935
+ Processing by SortableController#reorder as JSON
4936
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}]}}
4937
+  (0.0ms) begin transaction
4938
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4939
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4940
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4941
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4942
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4943
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4944
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4945
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4946
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-04-27 06:32:19.955348"], ["id", 48]]
4947
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4948
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-04-27 06:32:19.956829"], ["id", 50]]
4949
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4950
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-04-27 06:32:19.958060"], ["id", 49]]
4951
+  (1.8ms) commit transaction
4952
+ Completed 200 OK in 15ms (ActiveRecord: 3.2ms)
4953
+
4954
+
4955
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:32:21 +0900
4956
+ Processing by SortableController#reorder as JSON
4957
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
4958
+  (0.1ms) begin transaction
4959
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
4960
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
4961
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
4962
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
4963
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
4964
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
4965
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
4966
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
4967
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
4968
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-04-27 06:32:21.227677"], ["id", 49]]
4969
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
4970
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-04-27 06:32:21.229220"], ["id", 50]]
4971
+  (2.2ms) commit transaction
4972
+ Completed 200 OK in 13ms (ActiveRecord: 3.3ms)
4973
+
4974
+
4975
+ Started GET "/items" for ::1 at 2019-04-27 15:32:22 +0900
4976
+ Processing by ItemsController#index as HTML
4977
+ Rendering items/index.html.erb within layouts/application
4978
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4979
+ Rendered items/index.html.erb within layouts/application (4.0ms)
4980
+ Completed 200 OK in 25ms (Views: 24.6ms | ActiveRecord: 0.2ms)
4981
+
4982
+
4983
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
4984
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
4985
+ boolean values and must have old data converted to 1 and 0 (its native boolean
4986
+ serialization) before setting this flag to true. Conversion can be accomplished
4987
+ by setting up a rake task which runs
4988
+
4989
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
4990
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
4991
+
4992
+ for all models and all boolean columns, after which the flag must be set to
4993
+ true by adding the following to your application.rb file:
4994
+
4995
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
4996
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
4997
+ Started GET "/items" for ::1 at 2019-04-27 15:55:39 +0900
4998
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4999
+ Processing by ItemsController#index as HTML
5000
+ Rendering items/index.html.erb within layouts/application
5001
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5002
+ Rendered items/index.html.erb within layouts/application (11.9ms)
5003
+ Completed 200 OK in 473ms (Views: 468.5ms | ActiveRecord: 0.8ms)
5004
+
5005
+
5006
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:55:41 +0900
5007
+ Processing by SortableController#reorder as JSON
5008
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}]}}
5009
+  (0.0ms) begin transaction
5010
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5011
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-04-27 06:55:41.622792"], ["id", 50]]
5012
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5013
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-04-27 06:55:41.624778"], ["id", 41]]
5014
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5015
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-04-27 06:55:41.628760"], ["id", 42]]
5016
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5017
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-04-27 06:55:41.631014"], ["id", 43]]
5018
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5019
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-04-27 06:55:41.632933"], ["id", 44]]
5020
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5021
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-04-27 06:55:41.637101"], ["id", 45]]
5022
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5023
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-04-27 06:55:41.639726"], ["id", 46]]
5024
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5025
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-04-27 06:55:41.641464"], ["id", 47]]
5026
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5027
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-04-27 06:55:41.643068"], ["id", 48]]
5028
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5029
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-04-27 06:55:41.644592"], ["id", 49]]
5030
+  (2.0ms) commit transaction
5031
+ Completed 200 OK in 29ms (ActiveRecord: 4.0ms)
5032
+
5033
+
5034
+ Started GET "/items" for ::1 at 2019-04-27 15:55:42 +0900
5035
+ Processing by ItemsController#index as HTML
5036
+ Rendering items/index.html.erb within layouts/application
5037
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5038
+ Rendered items/index.html.erb within layouts/application (6.8ms)
5039
+ Completed 200 OK in 50ms (Views: 47.1ms | ActiveRecord: 0.2ms)
5040
+
5041
+
5042
+ Started POST "/sortable/reorder" for ::1 at 2019-04-27 15:55:45 +0900
5043
+ Processing by SortableController#reorder as JSON
5044
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5045
+  (0.1ms) begin transaction
5046
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5047
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-04-27 06:55:45.566564"], ["id", 41]]
5048
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5049
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-04-27 06:55:45.568642"], ["id", 42]]
5050
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5051
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-04-27 06:55:45.570658"], ["id", 43]]
5052
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5053
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-04-27 06:55:45.572165"], ["id", 44]]
5054
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5055
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-04-27 06:55:45.573634"], ["id", 45]]
5056
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5057
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-04-27 06:55:45.575319"], ["id", 46]]
5058
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5059
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-04-27 06:55:45.576575"], ["id", 47]]
5060
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5061
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-04-27 06:55:45.578149"], ["id", 48]]
5062
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5063
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-04-27 06:55:45.580160"], ["id", 49]]
5064
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5065
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-04-27 06:55:45.581843"], ["id", 50]]
5066
+  (2.1ms) commit transaction
5067
+ Completed 200 OK in 25ms (ActiveRecord: 3.8ms)
5068
+
5069
+
5070
+ Started GET "/items" for ::1 at 2019-04-27 15:55:46 +0900
5071
+ Processing by ItemsController#index as HTML
5072
+ Rendering items/index.html.erb within layouts/application
5073
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5074
+ Rendered items/index.html.erb within layouts/application (3.7ms)
5075
+ Completed 200 OK in 36ms (Views: 34.6ms | ActiveRecord: 0.1ms)
5076
+
5077
+
5078
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
5079
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
5080
+ boolean values and must have old data converted to 1 and 0 (its native boolean
5081
+ serialization) before setting this flag to true. Conversion can be accomplished
5082
+ by setting up a rake task which runs
5083
+
5084
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
5085
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
5086
+
5087
+ for all models and all boolean columns, after which the flag must be set to
5088
+ true by adding the following to your application.rb file:
5089
+
5090
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
5091
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
5092
+ Started GET "/" for ::1 at 2019-07-24 11:38:47 +0900
5093
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5094
+ Processing by Rails::WelcomeController#index as HTML
5095
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
5096
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (4.4ms)
5097
+ Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)
5098
+
5099
+
5100
+ Started GET "/items" for ::1 at 2019-07-24 11:38:57 +0900
5101
+ Processing by ItemsController#index as HTML
5102
+ Rendering items/index.html.erb within layouts/application
5103
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5104
+ Rendered items/index.html.erb within layouts/application (10.2ms)
5105
+ Completed 200 OK in 246ms (Views: 241.1ms | ActiveRecord: 0.8ms)
5106
+
5107
+
5108
+ Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5109
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5110
+ Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5111
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5112
+ Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5113
+ Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5114
+ Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5115
+ Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5116
+ Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5117
+ Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5118
+ Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5119
+ Started GET "/assets/plugin.self-36f2ec2747dda8b53ef2782774bc987c34259b612a2b6bd7491a9efda17529a3.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5120
+ Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5121
+ Started GET "/assets/sequenced_items.self-bd07269bb38e1168792a274bacc24aa011a3f7bdb35130acb91f2f39e768f2ed.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5122
+ Started GET "/assets/multiple_classes.self-53973d459df78e9f48c10465e01232b4609d2b3b4c94fbe372fe77c897f60ad7.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5123
+ Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5124
+ Started GET "/assets/items.self-d03e2e146c48fdcab1d5818b466741b5283c64a82d13b8d529761d2b3b48cf3d.js?body=1" for ::1 at 2019-07-24 11:38:57 +0900
5125
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:39:01 +0900
5126
+ Processing by SortableController#reorder as JSON
5127
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}]}}
5128
+  (0.1ms) begin transaction
5129
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5130
+ Item Update (0.6ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:39:01.517972"], ["id", 50]]
5131
+ Item Load (1.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5132
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:39:01.524641"], ["id", 41]]
5133
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5134
+ Item Update (0.8ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 02:39:01.526132"], ["id", 42]]
5135
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5136
+ Item Update (0.6ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 02:39:01.535213"], ["id", 43]]
5137
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5138
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 02:39:01.539709"], ["id", 44]]
5139
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5140
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 02:39:01.542722"], ["id", 45]]
5141
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5142
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 02:39:01.545056"], ["id", 46]]
5143
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5144
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 02:39:01.551646"], ["id", 47]]
5145
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5146
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 02:39:01.554206"], ["id", 48]]
5147
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5148
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 02:39:01.556061"], ["id", 49]]
5149
+  (3.3ms) commit transaction
5150
+ Completed 200 OK in 58ms (ActiveRecord: 7.9ms)
5151
+
5152
+
5153
+ Started GET "/items" for ::1 at 2019-07-24 11:39:07 +0900
5154
+ Processing by ItemsController#index as HTML
5155
+ Rendering items/index.html.erb within layouts/application
5156
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5157
+ Rendered items/index.html.erb within layouts/application (5.9ms)
5158
+ Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.2ms)
5159
+
5160
+
5161
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:39:10 +0900
5162
+ Processing by SortableController#reorder as JSON
5163
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5164
+  (0.1ms) begin transaction
5165
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5166
+ Item Update (0.6ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:39:10.762303"], ["id", 41]]
5167
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5168
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:39:10.766959"], ["id", 42]]
5169
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5170
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 02:39:10.769632"], ["id", 43]]
5171
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5172
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 02:39:10.771954"], ["id", 44]]
5173
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5174
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 02:39:10.774267"], ["id", 45]]
5175
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5176
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 02:39:10.779268"], ["id", 46]]
5177
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5178
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 02:39:10.781323"], ["id", 47]]
5179
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5180
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 02:39:10.783360"], ["id", 48]]
5181
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5182
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 02:39:10.793163"], ["id", 49]]
5183
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5184
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 02:39:10.797181"], ["id", 50]]
5185
+  (1.0ms) commit transaction
5186
+ Completed 200 OK in 42ms (ActiveRecord: 4.3ms)
5187
+
5188
+
5189
+ Started GET "/items" for ::1 at 2019-07-24 11:39:12 +0900
5190
+ Processing by ItemsController#index as HTML
5191
+ Rendering items/index.html.erb within layouts/application
5192
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5193
+ Rendered items/index.html.erb within layouts/application (2.4ms)
5194
+ Completed 200 OK in 27ms (Views: 26.5ms | ActiveRecord: 0.1ms)
5195
+
5196
+
5197
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:40:06 +0900
5198
+ Processing by SortableController#reorder as JSON
5199
+ Parameters: {"rails_sortable"=>[{"klass"=>"User", "id"=>"42"}, {"klass"=>"User", "id"=>"41"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"User", "id"=>"42"}, {"klass"=>"User", "id"=>"41"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5200
+  (0.0ms) begin transaction
5201
+  (0.0ms) rollback transaction
5202
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
5203
+
5204
+
5205
+
5206
+ NameError (uninitialized constant User):
5207
+
5208
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:283:in `const_get'
5209
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:283:in `block in constantize'
5210
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `each'
5211
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `inject'
5212
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `constantize'
5213
+ activesupport (5.2.3) lib/active_support/core_ext/string/inflections.rb:68:in `constantize'
5214
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:21:in `find_model'
5215
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:8:in `block (2 levels) in reorder'
5216
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `each'
5217
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `each_with_index'
5218
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `block in reorder'
5219
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
5220
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
5221
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
5222
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
5223
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
5224
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
5225
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:6:in `reorder'
5226
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
5227
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
5228
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
5229
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
5230
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
5231
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
5232
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
5233
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
5234
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
5235
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
5236
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
5237
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
5238
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
5239
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
5240
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
5241
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
5242
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
5243
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
5244
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
5245
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
5246
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
5247
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
5248
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
5249
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
5250
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
5251
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
5252
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
5253
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
5254
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
5255
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
5256
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
5257
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
5258
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
5259
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
5260
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
5261
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
5262
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5263
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
5264
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
5265
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
5266
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
5267
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
5268
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
5269
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
5270
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
5271
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
5272
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
5273
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
5274
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
5275
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
5276
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5277
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
5278
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
5279
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
5280
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
5281
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
5282
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
5283
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
5284
+ Started GET "/items" for ::1 at 2019-07-24 11:40:20 +0900
5285
+ Processing by ItemsController#index as HTML
5286
+ Rendering items/index.html.erb within layouts/application
5287
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5288
+ Rendered items/index.html.erb within layouts/application (3.8ms)
5289
+ Completed 200 OK in 34ms (Views: 32.3ms | ActiveRecord: 0.2ms)
5290
+
5291
+
5292
+ Started GET "/items" for ::1 at 2019-07-24 11:40:34 +0900
5293
+ Processing by ItemsController#index as HTML
5294
+ Rendering items/index.html.erb within layouts/application
5295
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5296
+ Rendered items/index.html.erb within layouts/application (3.1ms)
5297
+ Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.1ms)
5298
+
5299
+
5300
+ Started GET "/items" for ::1 at 2019-07-24 11:45:33 +0900
5301
+ Processing by ItemsController#index as HTML
5302
+ Rendering items/index.html.erb within layouts/application
5303
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5304
+ Rendered items/index.html.erb within layouts/application (4.6ms)
5305
+ Completed 200 OK in 103ms (Views: 102.4ms | ActiveRecord: 0.1ms)
5306
+
5307
+
5308
+ Started GET "/assets/plugin.self-ef62151b5823d5cd96337e0733a50791f4b8d69e4ef90e5fbb9e461c9f7fb469.js?body=1" for ::1 at 2019-07-24 11:45:33 +0900
5309
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:45:37 +0900
5310
+ Processing by SortableController#reorder as JSON
5311
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5312
+  (0.1ms) begin transaction
5313
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5314
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:45:37.750394"], ["id", 42]]
5315
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5316
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:45:37.761711"], ["id", 43]]
5317
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5318
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 02:45:37.763122"], ["id", 44]]
5319
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5320
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 02:45:37.765077"], ["id", 45]]
5321
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5322
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 02:45:37.766218"], ["id", 46]]
5323
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5324
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 02:45:37.767289"], ["id", 47]]
5325
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5326
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 02:45:37.768503"], ["id", 41]]
5327
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5328
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5329
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5330
+  (1.8ms) commit transaction
5331
+ Completed 200 OK in 25ms (ActiveRecord: 3.4ms)
5332
+
5333
+
5334
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:45:40 +0900
5335
+ Processing by SortableController#reorder as JSON
5336
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}]}}
5337
+  (0.1ms) begin transaction
5338
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5339
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5340
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:45:40.029322"], ["id", 50]]
5341
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5342
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 02:45:40.031269"], ["id", 43]]
5343
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5344
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 02:45:40.033248"], ["id", 44]]
5345
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5346
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 02:45:40.045023"], ["id", 45]]
5347
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5348
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 02:45:40.047136"], ["id", 46]]
5349
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5350
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 02:45:40.048543"], ["id", 47]]
5351
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5352
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 02:45:40.049720"], ["id", 41]]
5353
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5354
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 02:45:40.050694"], ["id", 48]]
5355
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5356
+ Item Update (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 02:45:40.051599"], ["id", 49]]
5357
+  (1.9ms) commit transaction
5358
+ Completed 200 OK in 28ms (ActiveRecord: 3.6ms)
5359
+
5360
+
5361
+ Started GET "/items" for ::1 at 2019-07-24 11:45:41 +0900
5362
+ Processing by ItemsController#index as HTML
5363
+ Rendering items/index.html.erb within layouts/application
5364
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5365
+ Rendered items/index.html.erb within layouts/application (4.3ms)
5366
+ Completed 200 OK in 31ms (Views: 28.5ms | ActiveRecord: 0.2ms)
5367
+
5368
+
5369
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:45:44 +0900
5370
+ Processing by SortableController#reorder as JSON
5371
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}]}}
5372
+  (0.0ms) begin transaction
5373
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5374
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:45:44.623646"], ["id", 50]]
5375
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5376
+ Item Update (0.5ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:45:44.633382"], ["id", 42]]
5377
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5378
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5379
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5380
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5381
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5382
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5383
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5384
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5385
+  (2.0ms) commit transaction
5386
+ Completed 200 OK in 37ms (ActiveRecord: 3.7ms)
5387
+
5388
+
5389
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:45:46 +0900
5390
+ Processing by SortableController#reorder as JSON
5391
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5392
+  (0.1ms) begin transaction
5393
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5394
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:45:46.715184"], ["id", 42]]
5395
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5396
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:45:46.724772"], ["id", 43]]
5397
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5398
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 02:45:46.726512"], ["id", 44]]
5399
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5400
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 02:45:46.732769"], ["id", 45]]
5401
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5402
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 02:45:46.739858"], ["id", 46]]
5403
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5404
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 02:45:46.741982"], ["id", 47]]
5405
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5406
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 02:45:46.744548"], ["id", 41]]
5407
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5408
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 02:45:46.747134"], ["id", 48]]
5409
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5410
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 02:45:46.754409"], ["id", 49]]
5411
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5412
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 02:45:46.756470"], ["id", 50]]
5413
+  (2.0ms) commit transaction
5414
+ Completed 200 OK in 47ms (ActiveRecord: 4.7ms)
5415
+
5416
+
5417
+ Started GET "/items" for ::1 at 2019-07-24 11:45:47 +0900
5418
+ Processing by ItemsController#index as HTML
5419
+ Rendering items/index.html.erb within layouts/application
5420
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5421
+ Rendered items/index.html.erb within layouts/application (2.5ms)
5422
+ Completed 200 OK in 26ms (Views: 24.8ms | ActiveRecord: 0.1ms)
5423
+
5424
+
5425
+ Started GET "/items" for ::1 at 2019-07-24 11:51:17 +0900
5426
+ Processing by ItemsController#index as HTML
5427
+ Rendering items/index.html.erb within layouts/application
5428
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5429
+ Rendered items/index.html.erb within layouts/application (2.1ms)
5430
+ Completed 200 OK in 33ms (Views: 32.0ms | ActiveRecord: 0.1ms)
5431
+
5432
+
5433
+ Started GET "/items" for ::1 at 2019-07-24 11:55:51 +0900
5434
+ Processing by ItemsController#index as HTML
5435
+ Rendering items/index.html.erb within layouts/application
5436
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5437
+ Rendered items/index.html.erb within layouts/application (4.0ms)
5438
+ Completed 200 OK in 27ms (Views: 26.7ms | ActiveRecord: 0.1ms)
5439
+
5440
+
5441
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:56:03 +0900
5442
+ Processing by SortableController#reorder as JSON
5443
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5444
+ Can't verify CSRF token authenticity.
5445
+ Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)
5446
+
5447
+
5448
+
5449
+ ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
5450
+
5451
+ actionpack (5.2.3) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request'
5452
+ actionpack (5.2.3) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request'
5453
+ actionpack (5.2.3) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token'
5454
+ activesupport (5.2.3) lib/active_support/callbacks.rb:426:in `block in make_lambda'
5455
+ activesupport (5.2.3) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
5456
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
5457
+ activesupport (5.2.3) lib/active_support/callbacks.rb:199:in `block in halting'
5458
+ activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `block in invoke_before'
5459
+ activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `each'
5460
+ activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `invoke_before'
5461
+ activesupport (5.2.3) lib/active_support/callbacks.rb:131:in `run_callbacks'
5462
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
5463
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
5464
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
5465
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
5466
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
5467
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
5468
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
5469
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
5470
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
5471
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
5472
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
5473
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
5474
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
5475
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
5476
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
5477
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
5478
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
5479
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
5480
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
5481
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
5482
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
5483
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
5484
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
5485
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
5486
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
5487
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
5488
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
5489
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
5490
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
5491
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
5492
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
5493
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5494
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
5495
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
5496
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
5497
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
5498
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
5499
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
5500
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
5501
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
5502
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
5503
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
5504
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
5505
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
5506
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
5507
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5508
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
5509
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
5510
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
5511
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
5512
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
5513
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
5514
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
5515
+ Started GET "/items" for ::1 at 2019-07-24 11:56:27 +0900
5516
+ Processing by ItemsController#index as HTML
5517
+ Rendering items/index.html.erb within layouts/application
5518
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5519
+ Rendered items/index.html.erb within layouts/application (3.1ms)
5520
+ Completed 200 OK in 27ms (Views: 25.9ms | ActiveRecord: 0.1ms)
5521
+
5522
+
5523
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:56:33 +0900
5524
+ Processing by SortableController#reorder as JSON
5525
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5526
+  (0.0ms) begin transaction
5527
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5528
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:56:33.853588"], ["id", 43]]
5529
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5530
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:56:33.875391"], ["id", 42]]
5531
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5532
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5533
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5534
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5535
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5536
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5537
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5538
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5539
+  (1.9ms) commit transaction
5540
+ Completed 200 OK in 37ms (ActiveRecord: 2.8ms)
5541
+
5542
+
5543
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:56:35 +0900
5544
+ Processing by SortableController#reorder as JSON
5545
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5546
+  (0.0ms) begin transaction
5547
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
5548
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 02:56:35.821788"], ["id", 42]]
5549
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
5550
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 02:56:35.831634"], ["id", 43]]
5551
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
5552
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
5553
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
5554
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
5555
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
5556
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
5557
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
5558
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
5559
+  (2.5ms) commit transaction
5560
+ Completed 200 OK in 20ms (ActiveRecord: 3.5ms)
5561
+
5562
+
5563
+ Started GET "/items" for ::1 at 2019-07-24 11:56:36 +0900
5564
+ Processing by ItemsController#index as HTML
5565
+ Rendering items/index.html.erb within layouts/application
5566
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5567
+ Rendered items/index.html.erb within layouts/application (2.3ms)
5568
+ Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.1ms)
5569
+
5570
+
5571
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 11:56:45 +0900
5572
+ Processing by SortableController#reorder as JSON
5573
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
5574
+ Can't verify CSRF token authenticity.
5575
+ Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)
5576
+
5577
+
5578
+
5579
+ ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
5580
+
5581
+ actionpack (5.2.3) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request'
5582
+ actionpack (5.2.3) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request'
5583
+ actionpack (5.2.3) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token'
5584
+ activesupport (5.2.3) lib/active_support/callbacks.rb:426:in `block in make_lambda'
5585
+ activesupport (5.2.3) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
5586
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
5587
+ activesupport (5.2.3) lib/active_support/callbacks.rb:199:in `block in halting'
5588
+ activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `block in invoke_before'
5589
+ activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `each'
5590
+ activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `invoke_before'
5591
+ activesupport (5.2.3) lib/active_support/callbacks.rb:131:in `run_callbacks'
5592
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
5593
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
5594
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
5595
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
5596
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
5597
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
5598
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
5599
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
5600
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
5601
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
5602
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
5603
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
5604
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
5605
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
5606
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
5607
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
5608
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
5609
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
5610
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
5611
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
5612
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
5613
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
5614
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
5615
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
5616
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
5617
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
5618
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
5619
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
5620
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
5621
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
5622
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
5623
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5624
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
5625
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
5626
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
5627
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
5628
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
5629
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
5630
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
5631
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
5632
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
5633
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
5634
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
5635
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
5636
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
5637
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5638
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
5639
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
5640
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
5641
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
5642
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
5643
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
5644
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
5645
+ Started GET "/items" for ::1 at 2019-07-24 11:56:49 +0900
5646
+ Processing by ItemsController#index as HTML
5647
+ Rendering items/index.html.erb within layouts/application
5648
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5649
+ Rendered items/index.html.erb within layouts/application (2.5ms)
5650
+ Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.1ms)
5651
+
5652
+
5653
+ Started GET "/items" for ::1 at 2019-07-24 13:45:58 +0900
5654
+ Processing by ItemsController#index as HTML
5655
+ Rendering items/index.html.erb within layouts/application
5656
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5657
+ Rendered items/index.html.erb within layouts/application (4.7ms)
5658
+ Completed 200 OK in 39ms (Views: 37.2ms | ActiveRecord: 0.4ms)
5659
+
5660
+
5661
+ Started GET "/items" for ::1 at 2019-07-24 13:46:01 +0900
5662
+ Processing by ItemsController#index as HTML
5663
+ Rendering items/index.html.erb within layouts/application
5664
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5665
+ Rendered items/index.html.erb within layouts/application (3.6ms)
5666
+ Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.2ms)
5667
+
5668
+
5669
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
5670
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
5671
+ boolean values and must have old data converted to 1 and 0 (its native boolean
5672
+ serialization) before setting this flag to true. Conversion can be accomplished
5673
+ by setting up a rake task which runs
5674
+
5675
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
5676
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
5677
+
5678
+ for all models and all boolean columns, after which the flag must be set to
5679
+ true by adding the following to your application.rb file:
5680
+
5681
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
5682
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
5683
+ Started GET "/items" for ::1 at 2019-07-24 13:46:10 +0900
5684
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5685
+ Processing by ItemsController#index as HTML
5686
+ Rendering items/index.html.erb within layouts/application
5687
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC LIMIT ? [["LIMIT", 11]]
5688
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5689
+ Rendered items/index.html.erb within layouts/application (195578.4ms)
5690
+ Completed 200 OK in 195871ms (Views: 195864.0ms | ActiveRecord: 1.2ms)
5691
+
5692
+
5693
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
5694
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
5695
+ boolean values and must have old data converted to 1 and 0 (its native boolean
5696
+ serialization) before setting this flag to true. Conversion can be accomplished
5697
+ by setting up a rake task which runs
5698
+
5699
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
5700
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
5701
+
5702
+ for all models and all boolean columns, after which the flag must be set to
5703
+ true by adding the following to your application.rb file:
5704
+
5705
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
5706
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
5707
+ Started GET "/items" for ::1 at 2019-07-24 13:49:33 +0900
5708
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5709
+ Processing by ItemsController#index as HTML
5710
+ Rendering items/index.html.erb within layouts/application
5711
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5712
+ Rendered items/index.html.erb within layouts/application (7.3ms)
5713
+ Completed 200 OK in 272ms (Views: 267.1ms | ActiveRecord: 0.6ms)
5714
+
5715
+
5716
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
5717
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
5718
+ boolean values and must have old data converted to 1 and 0 (its native boolean
5719
+ serialization) before setting this flag to true. Conversion can be accomplished
5720
+ by setting up a rake task which runs
5721
+
5722
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
5723
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
5724
+
5725
+ for all models and all boolean columns, after which the flag must be set to
5726
+ true by adding the following to your application.rb file:
5727
+
5728
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
5729
+ (called from require at spec/dummy/bin/rails:4)
5730
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
5731
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
5732
+ boolean values and must have old data converted to 1 and 0 (its native boolean
5733
+ serialization) before setting this flag to true. Conversion can be accomplished
5734
+ by setting up a rake task which runs
5735
+
5736
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
5737
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
5738
+
5739
+ for all models and all boolean columns, after which the flag must be set to
5740
+ true by adding the following to your application.rb file:
5741
+
5742
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
5743
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
5744
+ Started GET "/items" for ::1 at 2019-07-24 15:11:21 +0900
5745
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5746
+ Processing by ItemsController#index as HTML
5747
+ Rendering items/index.html.erb within layouts/application
5748
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5749
+ Rendered items/index.html.erb within layouts/application (11.9ms)
5750
+ Completed 200 OK in 295ms (Views: 289.5ms | ActiveRecord: 1.0ms)
5751
+
5752
+
5753
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:15:13 +0900
5754
+ Processing by SortableController#reorder as JSON
5755
+ Parameters: {"rails_sortable"=>[{"klass"=>"BAhJIgxJdGVtXzQzBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQyBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ0BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ1BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ2BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ3BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQxBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ4BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ5BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzUwBjoGRVQ", "id"=>""}], "sortable"=>{"rails_sortable"=>[{"klass"=>"BAhJIgxJdGVtXzQzBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQyBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ0BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ1BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ2BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ3BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQxBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ4BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ5BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzUwBjoGRVQ", "id"=>""}]}}
5756
+  (0.1ms) begin transaction
5757
+  (0.1ms) rollback transaction
5758
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
5759
+
5760
+
5761
+
5762
+ NameError (uninitialized constant BAhJIgxJdGVtXzQzBjoGRVQ):
5763
+
5764
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:283:in `const_get'
5765
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:283:in `block in constantize'
5766
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `each'
5767
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `inject'
5768
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `constantize'
5769
+ activesupport (5.2.3) lib/active_support/core_ext/string/inflections.rb:68:in `constantize'
5770
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:21:in `find_model'
5771
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:8:in `block (2 levels) in reorder'
5772
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `each'
5773
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `each_with_index'
5774
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:7:in `block in reorder'
5775
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
5776
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
5777
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
5778
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
5779
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
5780
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
5781
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:6:in `reorder'
5782
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
5783
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
5784
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
5785
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
5786
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
5787
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
5788
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
5789
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
5790
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
5791
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
5792
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
5793
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
5794
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
5795
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
5796
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
5797
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
5798
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
5799
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
5800
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
5801
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
5802
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
5803
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
5804
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
5805
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
5806
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
5807
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
5808
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
5809
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
5810
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
5811
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
5812
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
5813
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
5814
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
5815
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
5816
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
5817
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
5818
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5819
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
5820
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
5821
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
5822
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
5823
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
5824
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
5825
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
5826
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
5827
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
5828
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
5829
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
5830
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
5831
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
5832
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5833
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
5834
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
5835
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
5836
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
5837
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
5838
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
5839
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
5840
+ Started GET "/items" for ::1 at 2019-07-24 15:16:45 +0900
5841
+ Processing by ItemsController#index as HTML
5842
+ Rendering items/index.html.erb within layouts/application
5843
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5844
+ Rendered items/index.html.erb within layouts/application (14.4ms)
5845
+ Completed 200 OK in 62ms (Views: 57.6ms | ActiveRecord: 0.8ms)
5846
+
5847
+
5848
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:16:52 +0900
5849
+ Processing by SortableController#reorder as JSON
5850
+ Parameters: {"rails_sortable"=>[{"klass"=>"BAhJIgxJdGVtXzQzBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQyBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ0BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ1BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ2BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ3BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQxBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ4BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ5BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzUwBjoGRVQ", "id"=>""}], "sortable"=>{"rails_sortable"=>[{"klass"=>"BAhJIgxJdGVtXzQzBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQyBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ0BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ1BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ2BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ3BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQxBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ4BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ5BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzUwBjoGRVQ", "id"=>""}]}}
5851
+  (0.2ms) begin transaction
5852
+  (0.1ms) rollback transaction
5853
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)
5854
+
5855
+
5856
+
5857
+ NoMethodError (undefined method `veryfy' for #<ActiveSupport::MessageVerifier:0x00007fc8e5779c90>):
5858
+
5859
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `block (2 levels) in reorder'
5860
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each'
5861
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each_with_index'
5862
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `block in reorder'
5863
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
5864
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
5865
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
5866
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
5867
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
5868
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
5869
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `reorder'
5870
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
5871
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
5872
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
5873
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
5874
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
5875
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
5876
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
5877
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
5878
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
5879
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
5880
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
5881
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
5882
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
5883
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
5884
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
5885
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
5886
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
5887
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
5888
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
5889
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
5890
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
5891
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
5892
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
5893
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
5894
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
5895
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
5896
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
5897
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
5898
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
5899
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
5900
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
5901
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
5902
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
5903
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
5904
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
5905
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
5906
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5907
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
5908
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
5909
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
5910
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
5911
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
5912
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
5913
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
5914
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
5915
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
5916
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
5917
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
5918
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
5919
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
5920
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5921
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
5922
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
5923
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
5924
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
5925
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
5926
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
5927
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
5928
+ Started GET "/items" for ::1 at 2019-07-24 15:17:28 +0900
5929
+ Processing by ItemsController#index as HTML
5930
+ Rendering items/index.html.erb within layouts/application
5931
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5932
+ Rendered items/index.html.erb within layouts/application (8.0ms)
5933
+ Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.5ms)
5934
+
5935
+
5936
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:17:43 +0900
5937
+ Processing by SortableController#reorder as JSON
5938
+ Parameters: {"rails_sortable"=>[{"klass"=>"BAhJIgxJdGVtXzQzBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQyBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ0BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ1BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ2BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ3BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQxBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ4BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ5BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzUwBjoGRVQ", "id"=>""}], "sortable"=>{"rails_sortable"=>[{"klass"=>"BAhJIgxJdGVtXzQzBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQyBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ0BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ1BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ2BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ3BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQxBjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ4BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzQ5BjoGRVQ", "id"=>""}, {"klass"=>"BAhJIgxJdGVtXzUwBjoGRVQ", "id"=>""}]}}
5939
+  (0.1ms) begin transaction
5940
+  (0.0ms) rollback transaction
5941
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
5942
+
5943
+
5944
+
5945
+ ActionController::UnfilteredParameters (unable to convert unpermitted parameters to hash):
5946
+
5947
+ actionpack (5.2.3) lib/action_controller/metal/strong_parameters.rb:266:in `to_h'
5948
+ actionpack (5.2.3) lib/action_controller/metal/strong_parameters.rb:283:in `to_hash'
5949
+ activesupport (5.2.3) lib/active_support/message_verifier.rb:176:in `verify'
5950
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `block (2 levels) in reorder'
5951
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each'
5952
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each_with_index'
5953
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `block in reorder'
5954
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
5955
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
5956
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
5957
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
5958
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
5959
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
5960
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `reorder'
5961
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
5962
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
5963
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
5964
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
5965
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
5966
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
5967
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
5968
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
5969
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
5970
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
5971
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
5972
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
5973
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
5974
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
5975
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
5976
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
5977
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
5978
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
5979
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
5980
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
5981
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
5982
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
5983
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
5984
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
5985
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
5986
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
5987
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
5988
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
5989
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
5990
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
5991
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
5992
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
5993
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
5994
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
5995
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
5996
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
5997
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
5998
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
5999
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
6000
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
6001
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
6002
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
6003
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
6004
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
6005
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
6006
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
6007
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
6008
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
6009
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
6010
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
6011
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6012
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
6013
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
6014
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
6015
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
6016
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
6017
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
6018
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
6019
+ Started GET "/items" for ::1 at 2019-07-24 15:22:52 +0900
6020
+ Processing by ItemsController#index as HTML
6021
+ Rendering items/index.html.erb within layouts/application
6022
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6023
+ Rendered items/index.html.erb within layouts/application (4.2ms)
6024
+ Completed 200 OK in 127ms (Views: 125.8ms | ActiveRecord: 0.1ms)
6025
+
6026
+
6027
+ Started GET "/assets/plugin.self-b31daf19916f6d17bb29e3069ad0ea9f3aea43bb80ae910133c728c99b3069cd.js?body=1" for ::1 at 2019-07-24 15:22:52 +0900
6028
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:22:55 +0900
6029
+ Processing by SortableController#reorder as JSON
6030
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6031
+  (0.1ms) begin transaction
6032
+  (0.1ms) rollback transaction
6033
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
6034
+
6035
+
6036
+
6037
+ NoMethodError (undefined method `values_at' for "Item_43":String):
6038
+
6039
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:24:in `find_model'
6040
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `block (2 levels) in reorder'
6041
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each'
6042
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each_with_index'
6043
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `block in reorder'
6044
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
6045
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
6046
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
6047
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
6048
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
6049
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
6050
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `reorder'
6051
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
6052
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
6053
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
6054
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
6055
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
6056
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
6057
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
6058
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
6059
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
6060
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
6061
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
6062
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
6063
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
6064
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
6065
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
6066
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
6067
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
6068
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
6069
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
6070
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
6071
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
6072
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
6073
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
6074
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
6075
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
6076
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
6077
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
6078
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
6079
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
6080
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
6081
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
6082
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
6083
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
6084
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
6085
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
6086
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
6087
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6088
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
6089
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
6090
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
6091
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
6092
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
6093
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
6094
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
6095
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
6096
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
6097
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
6098
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
6099
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
6100
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
6101
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6102
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
6103
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
6104
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
6105
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
6106
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
6107
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
6108
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
6109
+ Started GET "/items" for ::1 at 2019-07-24 15:23:34 +0900
6110
+ Processing by ItemsController#index as HTML
6111
+ Rendering items/index.html.erb within layouts/application
6112
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6113
+ Rendered items/index.html.erb within layouts/application (2.5ms)
6114
+ Completed 200 OK in 76ms (Views: 75.3ms | ActiveRecord: 0.1ms)
6115
+
6116
+
6117
+ Started GET "/assets/plugin.self-e1fc6acb263909f30a8b6339260ed49085c0c574a600559286e6ebdd033d0a3c.js?body=1" for ::1 at 2019-07-24 15:23:34 +0900
6118
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:23:36 +0900
6119
+ Processing by SortableController#reorder as JSON
6120
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6121
+  (0.1ms) begin transaction
6122
+  (0.0ms) rollback transaction
6123
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
6124
+
6125
+
6126
+
6127
+ NoMethodError (undefined method `values_at' for "Item_43":String):
6128
+
6129
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:24:in `find_model'
6130
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `block (2 levels) in reorder'
6131
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each'
6132
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each_with_index'
6133
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `block in reorder'
6134
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
6135
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
6136
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
6137
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
6138
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
6139
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
6140
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `reorder'
6141
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
6142
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
6143
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
6144
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
6145
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
6146
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
6147
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
6148
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
6149
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
6150
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
6151
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
6152
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
6153
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
6154
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
6155
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
6156
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
6157
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
6158
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
6159
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
6160
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
6161
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
6162
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
6163
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
6164
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
6165
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
6166
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
6167
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
6168
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
6169
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
6170
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
6171
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
6172
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
6173
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
6174
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
6175
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
6176
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
6177
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6178
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
6179
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
6180
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
6181
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
6182
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
6183
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
6184
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
6185
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
6186
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
6187
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
6188
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
6189
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
6190
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
6191
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6192
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
6193
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
6194
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
6195
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
6196
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
6197
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
6198
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
6199
+ Started GET "/items" for ::1 at 2019-07-24 15:24:19 +0900
6200
+ Processing by ItemsController#index as HTML
6201
+ Rendering items/index.html.erb within layouts/application
6202
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6203
+ Rendered items/index.html.erb within layouts/application (7.9ms)
6204
+ Completed 200 OK in 49ms (Views: 42.8ms | ActiveRecord: 1.4ms)
6205
+
6206
+
6207
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:24:23 +0900
6208
+ Processing by SortableController#reorder as JSON
6209
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6210
+  (0.1ms) begin transaction
6211
+  (0.1ms) rollback transaction
6212
+ Completed 500 Internal Server Error in 302423ms (ActiveRecord: 0.2ms)
6213
+
6214
+
6215
+
6216
+ NoMethodError (undefined method `values_at' for "Item_43":String):
6217
+
6218
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:25:in `find_model'
6219
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:13:in `block (2 levels) in reorder'
6220
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each'
6221
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `each_with_index'
6222
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `block in reorder'
6223
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
6224
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
6225
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
6226
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
6227
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
6228
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
6229
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `reorder'
6230
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
6231
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
6232
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
6233
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
6234
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
6235
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
6236
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
6237
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
6238
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
6239
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
6240
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
6241
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
6242
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
6243
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
6244
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
6245
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
6246
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
6247
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
6248
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
6249
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
6250
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
6251
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
6252
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
6253
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
6254
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
6255
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
6256
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
6257
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
6258
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
6259
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
6260
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
6261
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
6262
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
6263
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
6264
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
6265
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
6266
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6267
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
6268
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
6269
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
6270
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
6271
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
6272
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
6273
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
6274
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
6275
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
6276
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
6277
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
6278
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
6279
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
6280
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6281
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
6282
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
6283
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
6284
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
6285
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
6286
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
6287
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
6288
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
6289
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
6290
+ boolean values and must have old data converted to 1 and 0 (its native boolean
6291
+ serialization) before setting this flag to true. Conversion can be accomplished
6292
+ by setting up a rake task which runs
6293
+
6294
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
6295
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
6296
+
6297
+ for all models and all boolean columns, after which the flag must be set to
6298
+ true by adding the following to your application.rb file:
6299
+
6300
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
6301
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
6302
+ Started GET "/items" for ::1 at 2019-07-24 15:29:36 +0900
6303
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6304
+ Processing by ItemsController#index as HTML
6305
+ Rendering items/index.html.erb within layouts/application
6306
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6307
+ Rendered items/index.html.erb within layouts/application (13.0ms)
6308
+ Completed 200 OK in 323ms (Views: 318.7ms | ActiveRecord: 0.7ms)
6309
+
6310
+
6311
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:29:40 +0900
6312
+ Processing by SortableController#reorder as JSON
6313
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6314
+  (0.1ms) begin transaction
6315
+  (0.1ms) rollback transaction
6316
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
6317
+
6318
+
6319
+
6320
+ NoMethodError (undefined method `values_at' for #<String:0x00007feb71beff50>):
6321
+
6322
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:23:in `find_model'
6323
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `block (2 levels) in reorder'
6324
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `each'
6325
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `each_with_index'
6326
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:10:in `block in reorder'
6327
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
6328
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
6329
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
6330
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
6331
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
6332
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
6333
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:9:in `reorder'
6334
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
6335
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
6336
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
6337
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
6338
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
6339
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
6340
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
6341
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
6342
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
6343
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
6344
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
6345
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
6346
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
6347
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
6348
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
6349
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
6350
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
6351
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
6352
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
6353
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
6354
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
6355
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
6356
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
6357
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
6358
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
6359
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
6360
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
6361
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
6362
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
6363
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
6364
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
6365
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
6366
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
6367
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
6368
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
6369
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
6370
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6371
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
6372
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
6373
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
6374
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
6375
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
6376
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
6377
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
6378
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
6379
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
6380
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
6381
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
6382
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
6383
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
6384
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
6385
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
6386
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
6387
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
6388
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
6389
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
6390
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
6391
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
6392
+ Started GET "/items" for ::1 at 2019-07-24 15:30:59 +0900
6393
+ Processing by ItemsController#index as HTML
6394
+ Rendering items/index.html.erb within layouts/application
6395
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6396
+ Rendered items/index.html.erb within layouts/application (9.2ms)
6397
+ Completed 200 OK in 56ms (Views: 52.8ms | ActiveRecord: 0.8ms)
6398
+
6399
+
6400
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:03 +0900
6401
+ Processing by SortableController#reorder as JSON
6402
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6403
+  (0.1ms) begin transaction
6404
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6405
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:31:03.627417"], ["id", 43]]
6406
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6407
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:31:03.629323"], ["id", 42]]
6408
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6409
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6410
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6411
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6412
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6413
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6414
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6415
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6416
+  (1.1ms) commit transaction
6417
+ Completed 200 OK in 17ms (ActiveRecord: 2.2ms)
6418
+
6419
+
6420
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:08 +0900
6421
+ Processing by SortableController#reorder as JSON
6422
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6423
+  (0.1ms) begin transaction
6424
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6425
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6426
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6427
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:31:08.578011"], ["id", 48]]
6428
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6429
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:31:08.579503"], ["id", 44]]
6430
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6431
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:08.581096"], ["id", 45]]
6432
+ Item Load (0.5ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6433
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:08.584571"], ["id", 46]]
6434
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6435
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:08.587927"], ["id", 47]]
6436
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6437
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:08.592734"], ["id", 41]]
6438
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6439
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6440
+  (0.8ms) commit transaction
6441
+ Completed 200 OK in 22ms (ActiveRecord: 3.0ms)
6442
+
6443
+
6444
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:10 +0900
6445
+ Processing by SortableController#reorder as JSON
6446
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6447
+  (0.1ms) begin transaction
6448
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6449
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6450
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6451
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:31:10.213155"], ["id", 50]]
6452
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6453
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:31:10.215518"], ["id", 48]]
6454
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6455
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:10.224443"], ["id", 44]]
6456
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6457
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:10.226053"], ["id", 45]]
6458
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6459
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:10.227671"], ["id", 46]]
6460
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6461
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:10.228994"], ["id", 47]]
6462
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6463
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:31:10.230889"], ["id", 41]]
6464
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6465
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:31:10.234559"], ["id", 49]]
6466
+  (1.8ms) commit transaction
6467
+ Completed 200 OK in 28ms (ActiveRecord: 3.9ms)
6468
+
6469
+
6470
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:11 +0900
6471
+ Processing by SortableController#reorder as JSON
6472
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6473
+  (0.1ms) begin transaction
6474
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6475
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6476
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6477
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6478
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:31:11.587249"], ["id", 47]]
6479
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6480
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:11.589265"], ["id", 48]]
6481
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6482
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:11.596468"], ["id", 44]]
6483
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6484
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:11.601426"], ["id", 45]]
6485
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6486
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:11.604897"], ["id", 46]]
6487
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6488
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6489
+  (1.8ms) commit transaction
6490
+ Completed 200 OK in 26ms (ActiveRecord: 3.7ms)
6491
+
6492
+
6493
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:12 +0900
6494
+ Processing by SortableController#reorder as JSON
6495
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6496
+  (0.1ms) begin transaction
6497
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6498
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6499
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6500
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:31:12.599594"], ["id", 45]]
6501
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6502
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:31:12.601060"], ["id", 50]]
6503
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6504
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:12.606406"], ["id", 47]]
6505
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6506
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:12.608557"], ["id", 48]]
6507
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6508
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:12.610629"], ["id", 44]]
6509
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6510
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6511
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6512
+  (1.8ms) commit transaction
6513
+ Completed 200 OK in 20ms (ActiveRecord: 3.4ms)
6514
+
6515
+
6516
+ Started GET "/items" for ::1 at 2019-07-24 15:31:13 +0900
6517
+ Processing by ItemsController#index as HTML
6518
+ Rendering items/index.html.erb within layouts/application
6519
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6520
+ Rendered items/index.html.erb within layouts/application (6.5ms)
6521
+ Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 0.2ms)
6522
+
6523
+
6524
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:15 +0900
6525
+ Processing by SortableController#reorder as JSON
6526
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6527
+  (0.1ms) begin transaction
6528
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6529
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:31:15.958465"], ["id", 42]]
6530
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6531
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:31:15.960133"], ["id", 43]]
6532
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6533
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6534
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6535
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6536
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6537
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6538
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6539
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6540
+  (1.9ms) commit transaction
6541
+ Completed 200 OK in 12ms (ActiveRecord: 2.9ms)
6542
+
6543
+
6544
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:18 +0900
6545
+ Processing by SortableController#reorder as JSON
6546
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6547
+  (0.1ms) begin transaction
6548
+ Item Load (0.8ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6549
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6550
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6551
+ Item Update (0.7ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:31:18.575384"], ["id", 44]]
6552
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6553
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:31:18.578321"], ["id", 45]]
6554
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6555
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:18.583129"], ["id", 50]]
6556
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6557
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:18.585059"], ["id", 47]]
6558
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6559
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:18.587002"], ["id", 48]]
6560
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6561
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6562
+ Item Load (0.5ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6563
+  (1.9ms) commit transaction
6564
+ Completed 200 OK in 28ms (ActiveRecord: 5.2ms)
6565
+
6566
+
6567
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:21 +0900
6568
+ Processing by SortableController#reorder as JSON
6569
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6570
+  (0.2ms) begin transaction
6571
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6572
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6573
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6574
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6575
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6576
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:21.060313"], ["id", 46]]
6577
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6578
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:21.062542"], ["id", 50]]
6579
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6580
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:21.067431"], ["id", 47]]
6581
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6582
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:21.071626"], ["id", 48]]
6583
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6584
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6585
+  (0.8ms) commit transaction
6586
+ Completed 200 OK in 29ms (ActiveRecord: 2.7ms)
6587
+
6588
+
6589
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:22 +0900
6590
+ Processing by SortableController#reorder as JSON
6591
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6592
+  (0.1ms) begin transaction
6593
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6594
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6595
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6596
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6597
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6598
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6599
+ Item Update (0.6ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:22.266036"], ["id", 47]]
6600
+ Item Load (0.5ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6601
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:22.272864"], ["id", 50]]
6602
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6603
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6604
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6605
+  (2.1ms) commit transaction
6606
+ Completed 200 OK in 20ms (ActiveRecord: 4.0ms)
6607
+
6608
+
6609
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:23 +0900
6610
+ Processing by SortableController#reorder as JSON
6611
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee"]}}
6612
+  (0.1ms) begin transaction
6613
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6614
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6615
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6616
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6617
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6618
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6619
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6620
+ Item Update (0.5ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:23.296006"], ["id", 48]]
6621
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6622
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:23.299097"], ["id", 50]]
6623
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6624
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6625
+  (2.1ms) commit transaction
6626
+ Completed 200 OK in 21ms (ActiveRecord: 3.7ms)
6627
+
6628
+
6629
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:24 +0900
6630
+ Processing by SortableController#reorder as JSON
6631
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4"]}}
6632
+  (0.1ms) begin transaction
6633
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6634
+ Item Load (0.6ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6635
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6636
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6637
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6638
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6639
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6640
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6641
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:24.759417"], ["id", 49]]
6642
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6643
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:31:24.762485"], ["id", 50]]
6644
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6645
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:31:24.764527"], ["id", 41]]
6646
+  (2.3ms) commit transaction
6647
+ Completed 200 OK in 27ms (ActiveRecord: 4.6ms)
6648
+
6649
+
6650
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:31:26 +0900
6651
+ Processing by SortableController#reorder as JSON
6652
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6653
+  (0.1ms) begin transaction
6654
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6655
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:31:26.556937"], ["id", 41]]
6656
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6657
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:31:26.559250"], ["id", 42]]
6658
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6659
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:31:26.562531"], ["id", 43]]
6660
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6661
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:31:26.571350"], ["id", 44]]
6662
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6663
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:31:26.573849"], ["id", 45]]
6664
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6665
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:31:26.575448"], ["id", 46]]
6666
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6667
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:31:26.577392"], ["id", 47]]
6668
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6669
+ Item Update (0.5ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:31:26.578761"], ["id", 48]]
6670
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6671
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:31:26.580730"], ["id", 49]]
6672
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6673
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:31:26.588431"], ["id", 50]]
6674
+  (2.2ms) commit transaction
6675
+ Completed 200 OK in 37ms (ActiveRecord: 4.6ms)
6676
+
6677
+
6678
+ Started GET "/items" for ::1 at 2019-07-24 15:31:27 +0900
6679
+ Processing by ItemsController#index as HTML
6680
+ Rendering items/index.html.erb within layouts/application
6681
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6682
+ Rendered items/index.html.erb within layouts/application (6.3ms)
6683
+ Completed 200 OK in 41ms (Views: 39.1ms | ActiveRecord: 0.3ms)
6684
+
6685
+
6686
+ Started GET "/items" for ::1 at 2019-07-24 15:34:34 +0900
6687
+ Processing by ItemsController#index as HTML
6688
+ Rendering items/index.html.erb within layouts/application
6689
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6690
+ Rendered items/index.html.erb within layouts/application (11.4ms)
6691
+ Completed 200 OK in 108ms (Views: 105.7ms | ActiveRecord: 0.3ms)
6692
+
6693
+
6694
+ Started GET "/assets/plugin.self-9cfff7938f99cdae010b9b4a176a505c2832772207865621c0b73562b07bc6ec.js?body=1" for ::1 at 2019-07-24 15:34:34 +0900
6695
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
6696
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
6697
+ boolean values and must have old data converted to 1 and 0 (its native boolean
6698
+ serialization) before setting this flag to true. Conversion can be accomplished
6699
+ by setting up a rake task which runs
6700
+
6701
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
6702
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
6703
+
6704
+ for all models and all boolean columns, after which the flag must be set to
6705
+ true by adding the following to your application.rb file:
6706
+
6707
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
6708
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
6709
+ Started GET "/items" for ::1 at 2019-07-24 15:34:43 +0900
6710
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6711
+ Processing by ItemsController#index as HTML
6712
+ Rendering items/index.html.erb within layouts/application
6713
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6714
+ Rendered items/index.html.erb within layouts/application (14.1ms)
6715
+ Completed 200 OK in 376ms (Views: 373.2ms | ActiveRecord: 0.6ms)
6716
+
6717
+
6718
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:34:46 +0900
6719
+ Processing by SortableController#reorder as JSON
6720
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4"]}}
6721
+  (0.1ms) begin transaction
6722
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6723
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:34:46.969065"], ["id", 42]]
6724
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6725
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:34:46.970665"], ["id", 43]]
6726
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6727
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:34:46.972020"], ["id", 44]]
6728
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6729
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:34:46.973484"], ["id", 45]]
6730
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6731
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:34:46.976943"], ["id", 46]]
6732
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6733
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:34:46.986114"], ["id", 47]]
6734
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6735
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:34:46.987599"], ["id", 48]]
6736
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6737
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:34:46.989316"], ["id", 49]]
6738
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6739
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:34:46.990776"], ["id", 50]]
6740
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6741
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:34:46.997158"], ["id", 41]]
6742
+  (2.1ms) commit transaction
6743
+ Completed 200 OK in 35ms (ActiveRecord: 4.4ms)
6744
+
6745
+
6746
+ Started GET "/items" for ::1 at 2019-07-24 15:34:48 +0900
6747
+ Processing by ItemsController#index as HTML
6748
+ Rendering items/index.html.erb within layouts/application
6749
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6750
+ Rendered items/index.html.erb within layouts/application (6.1ms)
6751
+ Completed 200 OK in 29ms (Views: 27.6ms | ActiveRecord: 0.2ms)
6752
+
6753
+
6754
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:34:51 +0900
6755
+ Processing by SortableController#reorder as JSON
6756
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6757
+  (0.2ms) begin transaction
6758
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6759
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:34:51.334522"], ["id", 41]]
6760
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6761
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:34:51.336627"], ["id", 42]]
6762
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6763
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:34:51.338393"], ["id", 43]]
6764
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6765
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:34:51.339772"], ["id", 44]]
6766
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6767
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:34:51.340799"], ["id", 45]]
6768
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6769
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:34:51.341923"], ["id", 46]]
6770
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6771
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:34:51.343529"], ["id", 47]]
6772
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6773
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:34:51.344700"], ["id", 48]]
6774
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6775
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:34:51.348924"], ["id", 49]]
6776
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6777
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:34:51.351358"], ["id", 50]]
6778
+  (2.1ms) commit transaction
6779
+ Completed 200 OK in 25ms (ActiveRecord: 4.3ms)
6780
+
6781
+
6782
+ Started GET "/items" for ::1 at 2019-07-24 15:34:52 +0900
6783
+ Processing by ItemsController#index as HTML
6784
+ Rendering items/index.html.erb within layouts/application
6785
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6786
+ Rendered items/index.html.erb within layouts/application (4.0ms)
6787
+ Completed 200 OK in 23ms (Views: 22.6ms | ActiveRecord: 0.1ms)
6788
+
6789
+
6790
+ Started GET "/items" for ::1 at 2019-07-24 15:36:58 +0900
6791
+ Processing by ItemsController#index as HTML
6792
+ Rendering items/index.html.erb within layouts/application
6793
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6794
+ Rendered items/index.html.erb within layouts/application (9.6ms)
6795
+ Completed 200 OK in 64ms (Views: 60.3ms | ActiveRecord: 0.5ms)
6796
+
6797
+
6798
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:37:01 +0900
6799
+ Processing by SortableController#reorder as JSON
6800
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4"]}}
6801
+  (0.1ms) begin transaction
6802
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6803
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:37:01.078621"], ["id", 42]]
6804
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6805
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:37:01.080295"], ["id", 43]]
6806
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6807
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:37:01.081439"], ["id", 44]]
6808
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6809
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:37:01.082559"], ["id", 45]]
6810
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6811
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:37:01.083973"], ["id", 46]]
6812
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6813
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:37:01.085540"], ["id", 47]]
6814
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6815
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:37:01.088612"], ["id", 48]]
6816
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6817
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:37:01.092642"], ["id", 49]]
6818
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6819
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:37:01.094281"], ["id", 50]]
6820
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6821
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:37:01.098715"], ["id", 41]]
6822
+  (1.1ms) commit transaction
6823
+ Completed 200 OK in 25ms (ActiveRecord: 3.2ms)
6824
+
6825
+
6826
+ Started GET "/items" for ::1 at 2019-07-24 15:37:06 +0900
6827
+ Processing by ItemsController#index as HTML
6828
+ Rendering items/index.html.erb within layouts/application
6829
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6830
+ Rendered items/index.html.erb within layouts/application (3.7ms)
6831
+ Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.2ms)
6832
+
6833
+
6834
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:37:08 +0900
6835
+ Processing by SortableController#reorder as JSON
6836
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6837
+  (0.1ms) begin transaction
6838
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6839
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:37:08.897724"], ["id", 41]]
6840
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6841
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:37:08.899259"], ["id", 42]]
6842
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6843
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:37:08.900918"], ["id", 43]]
6844
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6845
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:37:08.902239"], ["id", 44]]
6846
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6847
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:37:08.903959"], ["id", 45]]
6848
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6849
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:37:08.906317"], ["id", 46]]
6850
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6851
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:37:08.910071"], ["id", 47]]
6852
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6853
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:37:08.912053"], ["id", 48]]
6854
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6855
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 06:37:08.913428"], ["id", 49]]
6856
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6857
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 06:37:08.917652"], ["id", 50]]
6858
+  (2.3ms) commit transaction
6859
+ Completed 200 OK in 25ms (ActiveRecord: 4.3ms)
6860
+
6861
+
6862
+ Started GET "/items" for ::1 at 2019-07-24 15:37:10 +0900
6863
+ Processing by ItemsController#index as HTML
6864
+ Rendering items/index.html.erb within layouts/application
6865
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6866
+ Rendered items/index.html.erb within layouts/application (3.1ms)
6867
+ Completed 200 OK in 26ms (Views: 25.6ms | ActiveRecord: 0.1ms)
6868
+
6869
+
6870
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
6871
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
6872
+ boolean values and must have old data converted to 1 and 0 (its native boolean
6873
+ serialization) before setting this flag to true. Conversion can be accomplished
6874
+ by setting up a rake task which runs
6875
+
6876
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
6877
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
6878
+
6879
+ for all models and all boolean columns, after which the flag must be set to
6880
+ true by adding the following to your application.rb file:
6881
+
6882
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
6883
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
6884
+ Started GET "/items" for ::1 at 2019-07-24 15:41:36 +0900
6885
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6886
+ Processing by ItemsController#index as HTML
6887
+ Rendering items/index.html.erb within layouts/application
6888
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6889
+ Rendered items/index.html.erb within layouts/application (17.1ms)
6890
+ Completed 200 OK in 318ms (Views: 309.6ms | ActiveRecord: 1.5ms)
6891
+
6892
+
6893
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:41:39 +0900
6894
+ Processing by SortableController#reorder as JSON
6895
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6896
+  (0.3ms) begin transaction
6897
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6898
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:41:39.696060"], ["id", 42]]
6899
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6900
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:41:39.698236"], ["id", 43]]
6901
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6902
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:41:39.699738"], ["id", 44]]
6903
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6904
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:41:39.700993"], ["id", 45]]
6905
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6906
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:41:39.702248"], ["id", 46]]
6907
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6908
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:41:39.703360"], ["id", 47]]
6909
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6910
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:41:39.704499"], ["id", 48]]
6911
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6912
+ Item Update (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:41:39.705389"], ["id", 41]]
6913
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6914
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6915
+  (2.1ms) commit transaction
6916
+ Completed 200 OK in 25ms (ActiveRecord: 3.9ms)
6917
+
6918
+
6919
+ Started GET "/items" for ::1 at 2019-07-24 15:41:41 +0900
6920
+ Processing by ItemsController#index as HTML
6921
+ Rendering items/index.html.erb within layouts/application
6922
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6923
+ Rendered items/index.html.erb within layouts/application (5.1ms)
6924
+ Completed 200 OK in 25ms (Views: 24.1ms | ActiveRecord: 0.1ms)
6925
+
6926
+
6927
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:41:43 +0900
6928
+ Processing by SortableController#reorder as JSON
6929
+ Parameters: {"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"], "sortable"=>{"rails_sortable"=>["BAhJIgxJdGVtXzQxBjoGRVQ=--869f64605ad9ad8876f400d53dbd05aa9b36ada4", "BAhJIgxJdGVtXzQyBjoGRVQ=--db85cc8278eec3c85336077b8f72959feb5420f3", "BAhJIgxJdGVtXzQzBjoGRVQ=--0e8259f44e121eae66eb635036a50c8e4e4e4695", "BAhJIgxJdGVtXzQ0BjoGRVQ=--b77c7b7e674c2edd88462037ace1c15d2452df42", "BAhJIgxJdGVtXzQ1BjoGRVQ=--ca4765336d070090c0987dffbd3b7e671999ddf9", "BAhJIgxJdGVtXzQ2BjoGRVQ=--f00743541f56aab13b1f81c011926f17502f60a4", "BAhJIgxJdGVtXzQ3BjoGRVQ=--b9bcdc5d962a3eaa0e7be4c4893e9d156e1919df", "BAhJIgxJdGVtXzQ4BjoGRVQ=--557cceb1ec1ac7da80bce51960fbb573ba269586", "BAhJIgxJdGVtXzQ5BjoGRVQ=--b6564588decb5b28e7e04f7dfc6c376702cacbee", "BAhJIgxJdGVtXzUwBjoGRVQ=--c7a36c0016da12fc58c2f3df1c59f080508e4587"]}}
6930
+  (0.1ms) begin transaction
6931
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
6932
+ Item Update (0.7ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 06:41:43.423612"], ["id", 41]]
6933
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
6934
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 06:41:43.429457"], ["id", 42]]
6935
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
6936
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 06:41:43.431108"], ["id", 43]]
6937
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
6938
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 06:41:43.432670"], ["id", 44]]
6939
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
6940
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 06:41:43.433905"], ["id", 45]]
6941
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
6942
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 06:41:43.434910"], ["id", 46]]
6943
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
6944
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 06:41:43.436098"], ["id", 47]]
6945
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
6946
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 06:41:43.437260"], ["id", 48]]
6947
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
6948
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
6949
+  (1.8ms) commit transaction
6950
+ Completed 200 OK in 20ms (ActiveRecord: 4.0ms)
6951
+
6952
+
6953
+ Started GET "/items" for ::1 at 2019-07-24 15:41:44 +0900
6954
+ Processing by ItemsController#index as HTML
6955
+ Rendering items/index.html.erb within layouts/application
6956
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6957
+ Rendered items/index.html.erb within layouts/application (4.4ms)
6958
+ Completed 200 OK in 29ms (Views: 28.0ms | ActiveRecord: 0.1ms)
6959
+
6960
+
6961
+ Started GET "/items" for ::1 at 2019-07-24 15:58:53 +0900
6962
+ Processing by ItemsController#index as HTML
6963
+ Rendering items/index.html.erb within layouts/application
6964
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6965
+ Rendered items/index.html.erb within layouts/application (7.3ms)
6966
+ Completed 200 OK in 54ms (Views: 49.6ms | ActiveRecord: 0.9ms)
6967
+
6968
+
6969
+ Started GET "/items" for ::1 at 2019-07-24 15:59:30 +0900
6970
+ Processing by ItemsController#index as HTML
6971
+ Rendering items/index.html.erb within layouts/application
6972
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6973
+ Rendered items/index.html.erb within layouts/application (35.9ms)
6974
+ Completed 200 OK in 64ms (Views: 60.9ms | ActiveRecord: 0.9ms)
6975
+
6976
+
6977
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 15:59:33 +0900
6978
+ Processing by SortableController#reorder as JSON
6979
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"]}}
6980
+  (0.1ms) begin transaction
6981
+  (0.1ms) rollback transaction
6982
+ Completed 500 Internal Server Error in 282010ms (ActiveRecord: 0.2ms)
6983
+
6984
+
6985
+
6986
+ NameError (wrong constant name class=Item,id=42):
6987
+
6988
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:283:in `const_get'
6989
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:283:in `block in constantize'
6990
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `each'
6991
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `inject'
6992
+ activesupport (5.2.3) lib/active_support/inflector/methods.rb:281:in `constantize'
6993
+ activesupport (5.2.3) lib/active_support/core_ext/string/inflections.rb:68:in `constantize'
6994
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:27:in `find_model'
6995
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:13:in `block (2 levels) in reorder'
6996
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `each'
6997
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `each_with_index'
6998
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:12:in `block in reorder'
6999
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
7000
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
7001
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
7002
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
7003
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
7004
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
7005
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:11:in `reorder'
7006
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
7007
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
7008
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
7009
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
7010
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
7011
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
7012
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
7013
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
7014
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
7015
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
7016
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
7017
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
7018
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
7019
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
7020
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
7021
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
7022
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
7023
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
7024
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
7025
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
7026
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
7027
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
7028
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
7029
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
7030
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
7031
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
7032
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
7033
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
7034
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
7035
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
7036
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
7037
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
7038
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
7039
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
7040
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
7041
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
7042
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
7043
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
7044
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
7045
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
7046
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
7047
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
7048
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
7049
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
7050
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
7051
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
7052
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
7053
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
7054
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
7055
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
7056
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
7057
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
7058
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
7059
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
7060
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
7061
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
7062
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
7063
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
7064
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7065
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7066
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7067
+ serialization) before setting this flag to true. Conversion can be accomplished
7068
+ by setting up a rake task which runs
7069
+
7070
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7071
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7072
+
7073
+ for all models and all boolean columns, after which the flag must be set to
7074
+ true by adding the following to your application.rb file:
7075
+
7076
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7077
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
7078
+ Started GET "/items" for ::1 at 2019-07-24 16:04:23 +0900
7079
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7080
+ Processing by ItemsController#index as HTML
7081
+ Rendering items/index.html.erb within layouts/application
7082
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7083
+ Rendered items/index.html.erb within layouts/application (14.8ms)
7084
+ Completed 200 OK in 344ms (Views: 340.5ms | ActiveRecord: 0.6ms)
7085
+
7086
+
7087
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:04:30 +0900
7088
+ Processing by SortableController#reorder as JSON
7089
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"]}}
7090
+  (0.2ms) begin transaction
7091
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7092
+ Item Update (0.5ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:04:33.909047"], ["id", 42]]
7093
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7094
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:04:37.573925"], ["id", 41]]
7095
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7096
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7097
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7098
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7099
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7100
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7101
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7102
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7103
+  (1.9ms) commit transaction
7104
+ Completed 200 OK in 7267ms (ActiveRecord: 3.8ms)
7105
+
7106
+
7107
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7108
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7109
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7110
+ serialization) before setting this flag to true. Conversion can be accomplished
7111
+ by setting up a rake task which runs
7112
+
7113
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7114
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7115
+
7116
+ for all models and all boolean columns, after which the flag must be set to
7117
+ true by adding the following to your application.rb file:
7118
+
7119
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7120
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
7121
+ Started GET "/items" for ::1 at 2019-07-24 16:04:51 +0900
7122
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7123
+ Processing by ItemsController#index as HTML
7124
+ Rendering items/index.html.erb within layouts/application
7125
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7126
+ Rendered items/index.html.erb within layouts/application (17.5ms)
7127
+ Completed 200 OK in 229ms (Views: 223.6ms | ActiveRecord: 0.8ms)
7128
+
7129
+
7130
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:04:55 +0900
7131
+ Processing by SortableController#reorder as JSON
7132
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"]}}
7133
+  (0.1ms) begin transaction
7134
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7135
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:04:55.700185"], ["id", 41]]
7136
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7137
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:04:55.703327"], ["id", 42]]
7138
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7139
+ Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7140
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7141
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7142
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7143
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7144
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7145
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7146
+  (2.0ms) commit transaction
7147
+ Completed 200 OK in 29ms (ActiveRecord: 4.0ms)
7148
+
7149
+
7150
+ Started GET "/items" for ::1 at 2019-07-24 16:04:57 +0900
7151
+ Processing by ItemsController#index as HTML
7152
+ Rendering items/index.html.erb within layouts/application
7153
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7154
+ Rendered items/index.html.erb within layouts/application (3.1ms)
7155
+ Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.1ms)
7156
+
7157
+
7158
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:05:01 +0900
7159
+ Processing by SortableController#reorder as JSON
7160
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"]}}
7161
+  (0.1ms) begin transaction
7162
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7163
+ Item Update (0.6ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:05:01.802734"], ["id", 50]]
7164
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7165
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:05:01.805012"], ["id", 41]]
7166
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7167
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 07:05:01.806532"], ["id", 42]]
7168
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7169
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 07:05:01.808021"], ["id", 43]]
7170
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7171
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 07:05:01.809342"], ["id", 44]]
7172
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7173
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 07:05:01.810509"], ["id", 45]]
7174
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7175
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 07:05:01.811633"], ["id", 46]]
7176
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7177
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 07:05:01.812902"], ["id", 47]]
7178
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7179
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 07:05:01.814641"], ["id", 48]]
7180
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7181
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 07:05:01.816638"], ["id", 49]]
7182
+  (0.8ms) commit transaction
7183
+ Completed 200 OK in 21ms (ActiveRecord: 2.9ms)
7184
+
7185
+
7186
+ Started GET "/items" for ::1 at 2019-07-24 16:05:02 +0900
7187
+ Processing by ItemsController#index as HTML
7188
+ Rendering items/index.html.erb within layouts/application
7189
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7190
+ Rendered items/index.html.erb within layouts/application (4.5ms)
7191
+ Completed 200 OK in 31ms (Views: 30.1ms | ActiveRecord: 0.2ms)
7192
+
7193
+
7194
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:05:04 +0900
7195
+ Processing by SortableController#reorder as JSON
7196
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"]}}
7197
+  (0.1ms) begin transaction
7198
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7199
+ Item Update (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:05:04.262040"], ["id", 41]]
7200
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7201
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:05:04.263842"], ["id", 50]]
7202
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7203
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7204
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7205
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7206
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7207
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7208
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7209
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7210
+  (2.0ms) commit transaction
7211
+ Completed 200 OK in 21ms (ActiveRecord: 3.5ms)
7212
+
7213
+
7214
+ Started GET "/items" for ::1 at 2019-07-24 16:05:05 +0900
7215
+ Processing by ItemsController#index as HTML
7216
+ Rendering items/index.html.erb within layouts/application
7217
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7218
+ Rendered items/index.html.erb within layouts/application (3.4ms)
7219
+ Completed 200 OK in 30ms (Views: 29.0ms | ActiveRecord: 0.1ms)
7220
+
7221
+
7222
+ Started GET "/items" for ::1 at 2019-07-24 16:20:44 +0900
7223
+ Processing by ItemsController#index as HTML
7224
+ Rendering items/index.html.erb within layouts/application
7225
+ Item Load (2.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7226
+ Rendered items/index.html.erb within layouts/application (25.2ms)
7227
+ Completed 200 OK in 104ms (Views: 94.9ms | ActiveRecord: 2.9ms)
7228
+
7229
+
7230
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:21:05 +0900
7231
+ Processing by SortableController#reorder as JSON
7232
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"]}}
7233
+  (0.1ms) begin transaction
7234
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7235
+ Item Update (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:21:05.615744"], ["id", 50]]
7236
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7237
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:21:05.617912"], ["id", 41]]
7238
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7239
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7240
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7241
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7242
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7243
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7244
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7245
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7246
+  (1.1ms) commit transaction
7247
+ Completed 200 OK in 22ms (ActiveRecord: 2.5ms)
7248
+
7249
+
7250
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7251
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7252
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7253
+ serialization) before setting this flag to true. Conversion can be accomplished
7254
+ by setting up a rake task which runs
7255
+
7256
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7257
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7258
+
7259
+ for all models and all boolean columns, after which the flag must be set to
7260
+ true by adding the following to your application.rb file:
7261
+
7262
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7263
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
7264
+ Started GET "/items" for ::1 at 2019-07-24 16:22:23 +0900
7265
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7266
+ Processing by ItemsController#index as HTML
7267
+ Rendering items/index.html.erb within layouts/application
7268
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7269
+ Rendered items/index.html.erb within layouts/application (16.9ms)
7270
+ Completed 200 OK in 344ms (Views: 339.5ms | ActiveRecord: 0.7ms)
7271
+
7272
+
7273
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:22:26 +0900
7274
+ Processing by SortableController#reorder as JSON
7275
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47"]}}
7276
+  (0.1ms) begin transaction
7277
+ Item Load (4.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7278
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:22:26.241189"], ["id", 41]]
7279
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7280
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:22:26.242762"], ["id", 50]]
7281
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7282
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7283
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7284
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7285
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7286
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7287
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7288
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7289
+  (0.9ms) commit transaction
7290
+ Completed 200 OK in 18ms (ActiveRecord: 6.0ms)
7291
+
7292
+
7293
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:22:27 +0900
7294
+ Processing by SortableController#reorder as JSON
7295
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--ac1c2d3b8eae8dd72e49fae302005e5ae4fc00a4", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--a9be63beb4104d314ed45f308b6b8acf95f97522", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--e560f1b9b8502dc38f266c0525e47153dc51b564", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--42aebbcf4dc9765a3de8f618a06a6dac9595004f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--9f51825f87b6b29ec275214850bc08aa1d5805cd", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--aa575e43a659ffb7b5d3b3f2fb68bc18eb659aa2", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--ce71f610895657fd005b7a9ba5809b0fdd0ff220", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--6cf6112bf3e5d32cca109b1e34c31c9731eef520", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--3ad8578fbab1ed0026383d5940c7d7438d854c47", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--b48adfad6d6d7764e4106c44fc090fcad15d721e"]}}
7296
+  (0.1ms) begin transaction
7297
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7298
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7299
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:22:27.943569"], ["id", 42]]
7300
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7301
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 07:22:27.945605"], ["id", 43]]
7302
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7303
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 07:22:27.946906"], ["id", 44]]
7304
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7305
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 07:22:27.947964"], ["id", 45]]
7306
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7307
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 07:22:27.948964"], ["id", 46]]
7308
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7309
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 07:22:27.950452"], ["id", 47]]
7310
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7311
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 07:22:27.951869"], ["id", 48]]
7312
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7313
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 07:22:27.953035"], ["id", 49]]
7314
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7315
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 07:22:27.957580"], ["id", 50]]
7316
+  (2.1ms) commit transaction
7317
+ Completed 200 OK in 20ms (ActiveRecord: 3.8ms)
7318
+
7319
+
7320
+ Started GET "/items" for ::1 at 2019-07-24 16:22:29 +0900
7321
+ Processing by ItemsController#index as HTML
7322
+ Rendering items/index.html.erb within layouts/application
7323
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7324
+ Rendered items/index.html.erb within layouts/application (6.7ms)
7325
+ Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.2ms)
7326
+
7327
+
7328
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7329
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7330
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7331
+ serialization) before setting this flag to true. Conversion can be accomplished
7332
+ by setting up a rake task which runs
7333
+
7334
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7335
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7336
+
7337
+ for all models and all boolean columns, after which the flag must be set to
7338
+ true by adding the following to your application.rb file:
7339
+
7340
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7341
+ (called from require at spec/dummy/bin/rails:4)
7342
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7343
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7344
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7345
+ serialization) before setting this flag to true. Conversion can be accomplished
7346
+ by setting up a rake task which runs
7347
+
7348
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7349
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7350
+
7351
+ for all models and all boolean columns, after which the flag must be set to
7352
+ true by adding the following to your application.rb file:
7353
+
7354
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7355
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
7356
+ Started GET "/items" for ::1 at 2019-07-24 16:52:04 +0900
7357
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7358
+ Processing by ItemsController#index as HTML
7359
+ Rendering items/index.html.erb within layouts/application
7360
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7361
+ Rendered items/index.html.erb within layouts/application (12.8ms)
7362
+ Completed 200 OK in 286ms (Views: 282.0ms | ActiveRecord: 0.8ms)
7363
+
7364
+
7365
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:52:07 +0900
7366
+ Processing by SortableController#reorder as JSON
7367
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640"]}}
7368
+  (0.1ms) begin transaction
7369
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7370
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:52:07.917890"], ["id", 42]]
7371
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7372
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:52:07.919653"], ["id", 43]]
7373
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7374
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 07:52:07.921065"], ["id", 44]]
7375
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7376
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 07:52:07.922367"], ["id", 45]]
7377
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7378
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 07:52:07.923616"], ["id", 46]]
7379
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7380
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 07:52:07.924942"], ["id", 47]]
7381
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7382
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 07:52:07.926603"], ["id", 48]]
7383
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7384
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 07:52:07.927646"], ["id", 49]]
7385
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7386
+ Item Update (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 07:52:07.928565"], ["id", 50]]
7387
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7388
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 07:52:07.933002"], ["id", 41]]
7389
+  (0.7ms) commit transaction
7390
+ Completed 200 OK in 24ms (ActiveRecord: 2.5ms)
7391
+
7392
+
7393
+ Started GET "/items" for ::1 at 2019-07-24 16:52:09 +0900
7394
+ Processing by ItemsController#index as HTML
7395
+ Rendering items/index.html.erb within layouts/application
7396
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7397
+ Rendered items/index.html.erb within layouts/application (4.0ms)
7398
+ Completed 200 OK in 26ms (Views: 25.5ms | ActiveRecord: 0.1ms)
7399
+
7400
+
7401
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:52:11 +0900
7402
+ Processing by SortableController#reorder as JSON
7403
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b"]}}
7404
+  (0.1ms) begin transaction
7405
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7406
+ Item Update (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:52:11.941471"], ["id", 41]]
7407
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7408
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:52:11.943254"], ["id", 42]]
7409
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7410
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 07:52:11.944519"], ["id", 43]]
7411
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7412
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 07:52:11.945701"], ["id", 44]]
7413
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7414
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 07:52:11.946793"], ["id", 45]]
7415
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7416
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 07:52:11.948108"], ["id", 46]]
7417
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7418
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 07:52:11.949875"], ["id", 47]]
7419
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7420
+ Item Update (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 07:52:11.951214"], ["id", 48]]
7421
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7422
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 07:52:11.955448"], ["id", 49]]
7423
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7424
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 07:52:11.956653"], ["id", 50]]
7425
+  (2.4ms) commit transaction
7426
+ Completed 200 OK in 21ms (ActiveRecord: 4.0ms)
7427
+
7428
+
7429
+ Started GET "/items" for ::1 at 2019-07-24 16:52:13 +0900
7430
+ Processing by ItemsController#index as HTML
7431
+ Rendering items/index.html.erb within layouts/application
7432
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7433
+ Rendered items/index.html.erb within layouts/application (3.9ms)
7434
+ Completed 200 OK in 32ms (Views: 30.8ms | ActiveRecord: 0.1ms)
7435
+
7436
+
7437
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:52:16 +0900
7438
+ Processing by SortableController#reorder as JSON
7439
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8", "BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640"]}}
7440
+  (0.2ms) begin transaction
7441
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 42], ["LIMIT", 1]]
7442
+ Item Update (0.7ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2019-07-24 07:52:16.418849"], ["id", 42]]
7443
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 43], ["LIMIT", 1]]
7444
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2019-07-24 07:52:16.422949"], ["id", 43]]
7445
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 44], ["LIMIT", 1]]
7446
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2019-07-24 07:52:16.424329"], ["id", 44]]
7447
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 45], ["LIMIT", 1]]
7448
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2019-07-24 07:52:16.431103"], ["id", 45]]
7449
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 46], ["LIMIT", 1]]
7450
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2019-07-24 07:52:16.432966"], ["id", 46]]
7451
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 47], ["LIMIT", 1]]
7452
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2019-07-24 07:52:16.434660"], ["id", 47]]
7453
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 48], ["LIMIT", 1]]
7454
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2019-07-24 07:52:16.436292"], ["id", 48]]
7455
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 49], ["LIMIT", 1]]
7456
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2019-07-24 07:52:16.437701"], ["id", 49]]
7457
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 50], ["LIMIT", 1]]
7458
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2019-07-24 07:52:16.442046"], ["id", 50]]
7459
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 41], ["LIMIT", 1]]
7460
+ Item Update (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2019-07-24 07:52:16.444280"], ["id", 41]]
7461
+  (2.4ms) commit transaction
7462
+ Completed 200 OK in 32ms (ActiveRecord: 4.9ms)
7463
+
7464
+
7465
+ Started GET "/items" for ::1 at 2019-07-24 16:52:17 +0900
7466
+ Processing by ItemsController#index as HTML
7467
+ Rendering items/index.html.erb within layouts/application
7468
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7469
+ Rendered items/index.html.erb within layouts/application (5.2ms)
7470
+ Completed 200 OK in 28ms (Views: 26.8ms | ActiveRecord: 0.1ms)
7471
+
7472
+
7473
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7474
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7475
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7476
+ serialization) before setting this flag to true. Conversion can be accomplished
7477
+ by setting up a rake task which runs
7478
+
7479
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7480
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7481
+
7482
+ for all models and all boolean columns, after which the flag must be set to
7483
+ true by adding the following to your application.rb file:
7484
+
7485
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7486
+ (called from instance_eval at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
7487
+ Started POST "/sortable/reorder" for ::1 at 2019-07-24 16:52:28 +0900
7488
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7489
+ Processing by SortableController#reorder as JSON
7490
+ Parameters: {"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8"], "sortable"=>{"rails_sortable"=>["BAhJIhVjbGFzcz1JdGVtLGlkPTQzBjoGRVQ=--c343b80174e041f373741866f091511a6d65a393", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ0BjoGRVQ=--61a4b011918eecfa04d9986a2b7fb576bd43ab8f", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ1BjoGRVQ=--c5373a8a1347dd923ab347cb11a10edcbddd1019", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ2BjoGRVQ=--5756aa6d55145156f403c6d4051d797560b3dd74", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ3BjoGRVQ=--568dd2eaa0b52ac31b48dc3bbe68e3e02ffcd334", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ4BjoGRVQ=--24d604fba7bd2c9f1f53c8e1cbf732341b143de0", "BAhJIhVjbGFzcz1JdGVtLGlkPTQ5BjoGRVQ=--9269238b8fa234992e9422f95e74dd4660ec849f", "BAhJIhVjbGFzcz1JdGVtLGlkPTUwBjoGRVQ=--27018643b04ec563e544518b1d6fcf33cf33623b", "BAhJIhVjbGFzcz1JdGVtLGlkPTQxBjoGRVQ=--d9d6f3d44b81ca5def3de7093e252510a15e1640", "BAhJIhVjbGFzcz1JdGVtLGlkPTQyBjoGRVQ=--d02b14d09b33ff5d8ce4edd7b0bf0b754f4b15e8"]}}
7491
+  (0.0ms) begin transaction
7492
+  (0.0ms) rollback transaction
7493
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.1ms)
7494
+
7495
+
7496
+
7497
+ ActiveSupport::MessageVerifier::InvalidSignature (ActiveSupport::MessageVerifier::InvalidSignature):
7498
+
7499
+ activesupport (5.2.3) lib/active_support/message_verifier.rb:176:in `verify'
7500
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:27:in `find_model'
7501
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:15:in `block (2 levels) in reorder'
7502
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:14:in `each'
7503
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:14:in `each_with_index'
7504
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:14:in `block in reorder'
7505
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction'
7506
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
7507
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize'
7508
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
7509
+ activerecord (5.2.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction'
7510
+ activerecord (5.2.3) lib/active_record/transactions.rb:212:in `transaction'
7511
+ /Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:13:in `reorder'
7512
+ actionpack (5.2.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
7513
+ actionpack (5.2.3) lib/abstract_controller/base.rb:194:in `process_action'
7514
+ actionpack (5.2.3) lib/action_controller/metal/rendering.rb:30:in `process_action'
7515
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
7516
+ activesupport (5.2.3) lib/active_support/callbacks.rb:132:in `run_callbacks'
7517
+ actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
7518
+ actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
7519
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
7520
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
7521
+ activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
7522
+ activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
7523
+ actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
7524
+ actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
7525
+ activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
7526
+ actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
7527
+ actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
7528
+ actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
7529
+ actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
7530
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
7531
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
7532
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
7533
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
7534
+ actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
7535
+ actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
7536
+ rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
7537
+ rack (2.0.7) lib/rack/etag.rb:25:in `call'
7538
+ rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
7539
+ rack (2.0.7) lib/rack/head.rb:12:in `call'
7540
+ actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
7541
+ rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
7542
+ rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
7543
+ actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
7544
+ activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
7545
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
7546
+ activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
7547
+ actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
7548
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
7549
+ actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
7550
+ actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
7551
+ railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
7552
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
7553
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
7554
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
7555
+ activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
7556
+ railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
7557
+ actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
7558
+ actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
7559
+ rack (2.0.7) lib/rack/method_override.rb:22:in `call'
7560
+ rack (2.0.7) lib/rack/runtime.rb:22:in `call'
7561
+ activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
7562
+ actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
7563
+ actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
7564
+ rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
7565
+ railties (5.2.3) lib/rails/engine.rb:524:in `call'
7566
+ rack (2.0.7) lib/rack/handler/webrick.rb:86:in `service'
7567
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
7568
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
7569
+ /Users/madmax/.rbenv/versions/2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
7570
+ Started GET "/items" for ::1 at 2019-07-24 16:52:33 +0900
7571
+ Processing by ItemsController#index as HTML
7572
+ Rendering items/index.html.erb within layouts/application
7573
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
7574
+ Rendered items/index.html.erb within layouts/application (8.2ms)
7575
+ Completed 200 OK in 213ms (Views: 208.6ms | ActiveRecord: 1.0ms)
7576
+
7577
+
7578
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
7579
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
7580
+ boolean values and must have old data converted to 1 and 0 (its native boolean
7581
+ serialization) before setting this flag to true. Conversion can be accomplished
7582
+ by setting up a rake task which runs
7583
+
7584
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
7585
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
7586
+
7587
+ for all models and all boolean columns, after which the flag must be set to
7588
+ true by adding the following to your application.rb file:
7589
+
7590
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
7591
+ (called from require at spec/dummy/bin/rails:4)