rails_sortable 0.1.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +61 -24
  3. data/app/helpers/sortable_helper.rb +4 -6
  4. data/app/models/rails_sortable/model.rb +8 -5
  5. data/lib/rails_sortable/core_ext/enumerable.rb +6 -0
  6. data/lib/rails_sortable/core_ext.rb +3 -0
  7. data/lib/rails_sortable/version.rb +1 -1
  8. data/lib/rails_sortable.rb +1 -0
  9. data/spec/dummy/app/models/sequenced_item.rb +1 -1
  10. data/spec/dummy/app/views/items/index.html.erb +2 -2
  11. data/spec/dummy/app/views/sequenced_items/index.html.erb +2 -2
  12. data/spec/dummy/config/application.rb +2 -0
  13. data/spec/dummy/db/development.sqlite3 +0 -0
  14. data/spec/dummy/db/migrate/20131223124841_create_items.rb +1 -1
  15. data/spec/dummy/db/migrate/20170414031946_create_sequenced_items.rb +1 -1
  16. data/spec/dummy/db/schema.rb +0 -1
  17. data/spec/dummy/db/test.sqlite3 +0 -0
  18. data/spec/dummy/log/development.log +686 -0
  19. data/spec/dummy/log/test.log +7647 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-M/-MwqdQ791aPntbEy7upqu3cADI-2KlCz2SjOQXwCd5w.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0l/0lxOLKgMUMzAFvW2sDd-e6N0cnDR_PNDv-s69MSMiAA.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1U/1U1pW6Uavmef847C1JXIdugGlbThpoaH5psPBv7R_J8.cache +1 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/31/31pAh-ykal9wFBvxGXPlw8TvfVP9I3g8AKUN1RD12Sg.cache +1 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5_/5_YaqD4YPAqkrxzucbFB0d7IJcA1OkWUzybswbWefwc.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/77/776QkbrTcZYapIcbwGFTJtbgfh3cNgMT2c40Aj54fEU.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7U/7UBkdE46evReoZt_EYaKUwH58UyqcXz2y56G9dIqFP0.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8f/8fIg59WLGyiXkq1RifIbIftwSQZKF-yZ2EXsZMXMch8.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9U/9U2DhKS6xwVOdGrAQv2FhUnh6toPdgGRab6NIRsXp0o.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ag/AgpGgXbfyusDXjo1mDj-AFk_o2SSeoZO0lEdU9qWQX8.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bq/BqBJyBS41Jda6NbagWARTtmiCR-quplnsjL7d5z4p1c.cache +0 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bq/bqKThELB3qgSQcjs5dN-vSX3A407npeY8MIKpowe-Js.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/C8/C8hb35kAhvJiAFUsoqojTrsfrThtdp49E4nptXI_9Ro.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CO/COP5g_SpHcHL9NYeZARiQDwPnIZty47_OGxvjAnrncI.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dm/dmwAuKE4eBzCm6glINJ_ZwcD69v9t8l15j03VzHLxh8.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/E6/E6CVif4RjoY04O2IF5Vb4QI-F_S02jIpChkH6YLZy9A.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ei/Eiu0Y5dKtNlRmNbmh7sA6xxf5BCI-ijBOXcJG5XDPAQ.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gn/GnyjUg0eyY4eXLM8LB7BH4Ivh2xVIcwH_qv7mwyyjJw.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFuNhzNZA5ILxIzWi2wxnZ_uEYPrAQ4OVoo0Y_92muU.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jc/JcODu6JBZielcrLviF0o_T1GbgKIhK-zRaK6x6QTozw.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jn/JnjBvfKtl8TXKycLjUNrFw0bedaarjPKagB7vF8TUK8.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ND/NDJu7JZ4s949_mBSyh1RlDbvIA4g5-5pvgaOWqG-Ac0.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NW/NWqf7xq8uxCcCLqLyqR4P6Xdp7ptpiR-nfnIdZpLUKM.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OX/OXQFRQZ5OA2i3YtnP1fZ96aWeUC3_IIqO4fAMdR9FsM.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Oq/Oq9qxOybVTkEsplZxHkAXQtRjPsCla5NvnuEBpzA6aQ.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qn/QnVahtlgxWDe8pZzWsgQMPKPFKUVrX-zODRgJ88d8g0.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R6/R6jjGP-ss5qq0jCtD8DVMldYO5CZ3CnR8ATE0bBwS9s.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RT/RtNDq2dTGBn8a9lKsp_NdLkLSZ_qC14uMcRAnJa8MwU.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SE/SEOXTAR9ayZjI7koj_F8NhHi0BcVNcfS2CJoYYvgfmA.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UG/UGUKHaW4DiFx1aZgMUpclbzKInIDVBd5f75rfkqDRd4.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vi/VinvgmlVKmvmmSv0n3iGxgjUEMX6B95Jsp7rUJkKvxk.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YC/YCmSRb5SEvvoBvnJsRlYJpjX4bDwV_X9TkGytX3NnRs.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yu/yue8-Q5bNZaBmyxqsXfEfa-f2AFyNQfYiPjFz1iiOC8.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z9/Z9BQI9WcvV299qzaK1M_BzYQ0JyoibxRUHVkgjQAglI.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZJ/ZJ44p6_pZuT7WpBrGCBRBtJ5QdfNcMjNQvu5qqXgxDk.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aN/aN7HmMd7uTy_8MNbMlPVBrUnBks5bEWJMA6PBRz6bHs.cache +1 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/by/bycyWG1KvMAFy-MNbyR0Jg_fDRj_lPz1FTGz-a3lBuw.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d2/d2Yn085-A4NAn9xG1tVfpAF_Wq_xF-41XbpMJWJrx3I.cache +0 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ep/epOwUzkCBUUf3qec0T3hdrf2NnOzeQ6raN7_mH70hIE.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fO/Fot3cRKzEJDZ24jtzhnIGTxk4y0oangfskCEIQhU5mM.cache +0 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fR/fR7lphpj83NQV2tYMU8ejAZ8IE9LVsOaLLjXr3QB0hY.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gP/gPOrGelZGMmC2JmWhxBVOrc1sFhQtfgSnODI-Ul_sWs.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/Hj4c2gR3CanPccvkZw0kp49U1R-mtB9wIGo7YzEUtRY.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l-/l-tlnwp5uJdRwxd_83TYgEcK2tKtc0BgtknMUirnIMU.cache +0 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lv/lvVdgHzQTW7MQ3US3THd4ZE84XRfWcPT5qwJLXv0rN4.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m2/m2egBUvfxGWpUmYKTgZQuNXHWm8EvHntYVaIlpLM38s.cache +0 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nh/nh8v3yrwWXGoRhmmkfOR5UPo9GMZPUFyt6LSRdvHyy8.cache +0 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4Y9F2XU_uVXmdHbLHiTSqN0NE0piayqn2EwMN4yDgQ.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oE/OEkPR9rCjDF_RsHHp1mxYgYBdzX3EWkvcck8pAa7-cI.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oJ/oJCqbKqh-ra1_jrvq68KLQTNjUH6bSq5jguVUig8lcE.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pf/pfqGxtUxd_Aih4aBeO5sUUDN0-3Vb0S5_nqLjj0cMAw.cache +1 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s7/s7VWT9DZLFqtya2VSPGzhMBSY277k6KTrT8nUYpeBu8.cache +0 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uV/uV_S1Cg7y0O0HsF1rc8eYpK_AgSbsKuL5jH9NMfjv04.cache +0 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/up/upVymLTBG2KFDubvLigJERLKkH6kU_CVWmn2lgOYg54.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uw/uWpRXEIJzFMcsSUwp-Vu5QLS3vWbos65wsNMgWi-9k0.cache +0 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vn/vnFhMxGWzyZFIqsnCGE3pR5PnSiBGsLvdsOfQccjeZ4.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wv/wvLIhRJ2wqhPrnqvkacm2QHyG0rFmmf3VSAGNiZnOWU.cache +0 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xb/xbyHnHRcdnYQamtz02quX36a2_ef91bDpDlDcKN9k8w.cache +0 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xo/xomBLC8CXZdVx5BbdIwBVW9ROU-L7Lx6udDAW3t43I4.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xo/xox6GSP3_45BgwDA_Qsm5x9I4tMzd_-JBiArTeUVQQI.cache +0 -0
  83. data/spec/helpers/sortable_helper_spec.rb +1 -1
  84. data/spec/models/rails_sortable/model_spec.rb +13 -3
  85. data/spec/spec_helper.rb +0 -1
  86. metadata +93 -33
@@ -11472,3 +11472,689 @@ Started GET "/" for ::1 at 2017-04-14 16:01:19 +0900
11472
11472
  Processing by Rails::WelcomeController#index as HTML
11473
11473
  Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/templates/rails/welcome/index.html.erb (1.5ms)
11474
11474
  Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
11475
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11476
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11477
+  (1.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11478
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11479
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
11480
+  (0.0ms) begin transaction
11481
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-10-30 09:21:16 UTC], ["updated_at", 2017-10-30 09:21:16 UTC]]
11482
+  (1.1ms) commit transaction
11483
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11484
+ DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/bin/rake:23)
11485
+  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
11486
+  (0.1ms) select sqlite_version(*)
11487
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11488
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11489
+ Migrating to CreateItems (20131223124841)
11490
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11491
+ Migrating to CreateItems (20131223124841)
11492
+  (0.0ms) begin transaction
11493
+  (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
11494
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131223124841"]]
11495
+  (2.3ms) commit transaction
11496
+ Migrating to CreateSequencedItems (20170414031946)
11497
+  (0.0ms) begin transaction
11498
+  (0.3ms) CREATE TABLE "sequenced_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sequence" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
11499
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170414031946"]]
11500
+  (0.9ms) commit transaction
11501
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11502
+  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11503
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11504
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
11505
+  (0.1ms) begin transaction
11506
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-10-30 09:21:49 UTC], ["updated_at", 2017-10-30 09:21:49 UTC]]
11507
+  (0.6ms) commit transaction
11508
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11509
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11510
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11511
+  (0.1ms)  SELECT sql
11512
+ FROM sqlite_master
11513
+ WHERE name='sqlite_autoindex_ar_internal_metadata_1' AND type='index'
11514
+ UNION ALL
11515
+ SELECT sql
11516
+ FROM sqlite_temp_master
11517
+ WHERE name='sqlite_autoindex_ar_internal_metadata_1' AND type='index'
11518
+ 
11519
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11520
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
11521
+  (0.0ms) begin transaction
11522
+  (0.0ms) commit transaction
11523
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11524
+ DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/bin/rake:23)
11525
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
11526
+  (0.1ms) select sqlite_version(*)
11527
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11528
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11529
+ Migrating to CreateItems (20131223124841)
11530
+  (0.0ms) begin transaction
11531
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11532
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131223124841"]]
11533
+  (1.1ms) commit transaction
11534
+ Migrating to CreateSequencedItems (20170414031946)
11535
+  (0.0ms) begin transaction
11536
+  (0.2ms) CREATE TABLE "sequenced_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sequence" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11537
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170414031946"]]
11538
+  (1.1ms) commit transaction
11539
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11540
+  (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11541
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11542
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
11543
+  (0.0ms) begin transaction
11544
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-10-30 09:23:27 UTC], ["updated_at", 2017-10-30 09:23:27 UTC]]
11545
+  (0.8ms) commit transaction
11546
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11547
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11548
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11549
+  (0.1ms)  SELECT sql
11550
+ FROM sqlite_master
11551
+ WHERE name='sqlite_autoindex_ar_internal_metadata_1' AND type='index'
11552
+ UNION ALL
11553
+ SELECT sql
11554
+ FROM sqlite_temp_master
11555
+ WHERE name='sqlite_autoindex_ar_internal_metadata_1' AND type='index'
11556
+ 
11557
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
11558
+  (0.1ms) select sqlite_version(*)
11559
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11560
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11561
+ Migrating to CreateItems (20131223124841)
11562
+  (0.0ms) begin transaction
11563
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11564
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131223124841"]]
11565
+  (1.0ms) commit transaction
11566
+ Migrating to CreateSequencedItems (20170414031946)
11567
+  (0.0ms) begin transaction
11568
+  (0.2ms) CREATE TABLE "sequenced_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sequence" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11569
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170414031946"]]
11570
+  (1.1ms) commit transaction
11571
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11572
+ DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/bin/rake:23)
11573
+ DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/bin/rake:23)
11574
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
11575
+  (0.1ms) select sqlite_version(*)
11576
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11577
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11578
+ Migrating to CreateItems (20131223124841)
11579
+  (0.0ms) begin transaction
11580
+  (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11581
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131223124841"]]
11582
+  (0.6ms) commit transaction
11583
+ Migrating to CreateSequencedItems (20170414031946)
11584
+  (0.0ms) begin transaction
11585
+  (0.2ms) CREATE TABLE "sequenced_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sequence" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11586
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170414031946"]]
11587
+  (1.0ms) commit transaction
11588
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11589
+  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11590
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11591
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
11592
+  (0.1ms) begin transaction
11593
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-10-30 09:33:07 UTC], ["updated_at", 2017-10-30 09:33:07 UTC]]
11594
+  (0.5ms) commit transaction
11595
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
11596
+ Started GET "/" for ::1 at 2017-11-03 15:02:02 +0900
11597
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
11598
+ Processing by Rails::WelcomeController#index as HTML
11599
+ Rendering /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
11600
+ Rendered /Users/madmax/Programs/itmammoth/rails_sortable/vendor/bundle/ruby/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (4.6ms)
11601
+ Completed 200 OK in 17ms (Views: 10.4ms | ActiveRecord: 0.0ms)
11602
+
11603
+
11604
+ Started GET "/items" for ::1 at 2017-11-03 15:02:08 +0900
11605
+ Processing by ItemsController#index as HTML
11606
+ Rendering items/index.html.erb within layouts/application
11607
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11608
+ Rendered items/index.html.erb within layouts/application (1.6ms)
11609
+ Completed 200 OK in 512ms (Views: 509.0ms | ActiveRecord: 0.4ms)
11610
+
11611
+
11612
+ Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11613
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11614
+ Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11615
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11616
+ Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11617
+ Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11618
+ Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11619
+ Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11620
+ Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11621
+ Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11622
+ Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11623
+ Started GET "/assets/plugin.self-84bdbacb1efd558ee0dac9e9a39c3f2acc7a75ef4b01112739eec325ddfa2429.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11624
+ Started GET "/assets/sequenced_items.self-3f5ee897a5a4a74ee2d01575104d7e38daf09a55678ea0eec89cd57028db5471.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11625
+ Started GET "/assets/items.self-3f5ee897a5a4a74ee2d01575104d7e38daf09a55678ea0eec89cd57028db5471.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11626
+ Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11627
+ Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2017-11-03 15:02:09 +0900
11628
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
11629
+  (0.0ms) begin transaction
11630
+ SQL (0.4ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title0"], ["sort", 0], ["created_at", "2017-11-03 06:02:43.627428"], ["updated_at", "2017-11-03 06:02:43.627428"]]
11631
+  (1.3ms) commit transaction
11632
+  (0.1ms) begin transaction
11633
+ SQL (0.3ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title1"], ["sort", 1], ["created_at", "2017-11-03 06:02:43.630942"], ["updated_at", "2017-11-03 06:02:43.630942"]]
11634
+  (0.7ms) commit transaction
11635
+  (0.1ms) begin transaction
11636
+ SQL (0.2ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title2"], ["sort", 2], ["created_at", "2017-11-03 06:02:43.633306"], ["updated_at", "2017-11-03 06:02:43.633306"]]
11637
+  (0.7ms) commit transaction
11638
+  (0.0ms) begin transaction
11639
+ SQL (0.3ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title3"], ["sort", 3], ["created_at", "2017-11-03 06:02:43.635532"], ["updated_at", "2017-11-03 06:02:43.635532"]]
11640
+  (1.2ms) commit transaction
11641
+  (0.1ms) begin transaction
11642
+ SQL (0.4ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title4"], ["sort", 4], ["created_at", "2017-11-03 06:02:43.638718"], ["updated_at", "2017-11-03 06:02:43.638718"]]
11643
+  (0.7ms) commit transaction
11644
+  (0.0ms) begin transaction
11645
+ SQL (0.2ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title5"], ["sort", 5], ["created_at", "2017-11-03 06:02:43.641629"], ["updated_at", "2017-11-03 06:02:43.641629"]]
11646
+  (1.1ms) commit transaction
11647
+  (0.1ms) begin transaction
11648
+ SQL (0.3ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title6"], ["sort", 6], ["created_at", "2017-11-03 06:02:43.644167"], ["updated_at", "2017-11-03 06:02:43.644167"]]
11649
+  (0.8ms) commit transaction
11650
+  (0.0ms) begin transaction
11651
+ SQL (0.2ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title7"], ["sort", 7], ["created_at", "2017-11-03 06:02:43.646358"], ["updated_at", "2017-11-03 06:02:43.646358"]]
11652
+  (0.6ms) commit transaction
11653
+  (0.0ms) begin transaction
11654
+ SQL (0.2ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title8"], ["sort", 8], ["created_at", "2017-11-03 06:02:43.648220"], ["updated_at", "2017-11-03 06:02:43.648220"]]
11655
+  (0.5ms) commit transaction
11656
+  (0.0ms) begin transaction
11657
+ SQL (0.2ms) INSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Title9"], ["sort", 9], ["created_at", "2017-11-03 06:02:43.649870"], ["updated_at", "2017-11-03 06:02:43.649870"]]
11658
+  (0.5ms) commit transaction
11659
+  (0.0ms) begin transaction
11660
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle0"], ["sequence", 0], ["created_at", "2017-11-03 06:02:43.655759"], ["updated_at", "2017-11-03 06:02:43.655759"]]
11661
+  (0.5ms) commit transaction
11662
+  (0.0ms) begin transaction
11663
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle1"], ["sequence", 1], ["created_at", "2017-11-03 06:02:43.659285"], ["updated_at", "2017-11-03 06:02:43.659285"]]
11664
+  (1.1ms) commit transaction
11665
+  (0.0ms) begin transaction
11666
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle2"], ["sequence", 2], ["created_at", "2017-11-03 06:02:43.661492"], ["updated_at", "2017-11-03 06:02:43.661492"]]
11667
+  (1.2ms) commit transaction
11668
+  (0.1ms) begin transaction
11669
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle3"], ["sequence", 3], ["created_at", "2017-11-03 06:02:43.663982"], ["updated_at", "2017-11-03 06:02:43.663982"]]
11670
+  (0.8ms) commit transaction
11671
+  (0.0ms) begin transaction
11672
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle4"], ["sequence", 4], ["created_at", "2017-11-03 06:02:43.666070"], ["updated_at", "2017-11-03 06:02:43.666070"]]
11673
+  (1.0ms) commit transaction
11674
+  (0.0ms) begin transaction
11675
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle5"], ["sequence", 5], ["created_at", "2017-11-03 06:02:43.668319"], ["updated_at", "2017-11-03 06:02:43.668319"]]
11676
+  (0.6ms) commit transaction
11677
+  (0.0ms) begin transaction
11678
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle6"], ["sequence", 6], ["created_at", "2017-11-03 06:02:43.670207"], ["updated_at", "2017-11-03 06:02:43.670207"]]
11679
+  (1.0ms) commit transaction
11680
+  (0.1ms) begin transaction
11681
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle7"], ["sequence", 7], ["created_at", "2017-11-03 06:02:43.672333"], ["updated_at", "2017-11-03 06:02:43.672333"]]
11682
+  (0.6ms) commit transaction
11683
+  (0.0ms) begin transaction
11684
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle8"], ["sequence", 8], ["created_at", "2017-11-03 06:02:43.674046"], ["updated_at", "2017-11-03 06:02:43.674046"]]
11685
+  (0.6ms) commit transaction
11686
+  (0.0ms) begin transaction
11687
+ SQL (0.1ms) INSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "OtherTitle9"], ["sequence", 9], ["created_at", "2017-11-03 06:02:43.675515"], ["updated_at", "2017-11-03 06:02:43.675515"]]
11688
+  (0.6ms) commit transaction
11689
+ Started GET "/items" for ::1 at 2017-11-03 15:02:48 +0900
11690
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
11691
+ Processing by ItemsController#index as HTML
11692
+ Rendering items/index.html.erb within layouts/application
11693
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11694
+ Rendered items/index.html.erb within layouts/application (9.5ms)
11695
+ Completed 200 OK in 172ms (Views: 168.9ms | ActiveRecord: 0.5ms)
11696
+
11697
+
11698
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:02:54 +0900
11699
+ Processing by SortableController#reorder as */*
11700
+ Parameters: {"Item"=>["10", "1", "2", "3", "4", "5", "6", "7", "8", "9"]}
11701
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11702
+  (0.0ms) begin transaction
11703
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2017-11-03 06:02:54.618811"], ["id", 10]]
11704
+  (2.3ms) commit transaction
11705
+  (0.1ms) begin transaction
11706
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-11-03 06:02:54.623147"], ["id", 1]]
11707
+  (0.6ms) commit transaction
11708
+  (0.1ms) begin transaction
11709
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2017-11-03 06:02:54.625206"], ["id", 2]]
11710
+  (0.6ms) commit transaction
11711
+  (0.0ms) begin transaction
11712
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2017-11-03 06:02:54.627015"], ["id", 3]]
11713
+  (0.6ms) commit transaction
11714
+  (0.0ms) begin transaction
11715
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2017-11-03 06:02:54.628900"], ["id", 4]]
11716
+  (0.6ms) commit transaction
11717
+  (0.0ms) begin transaction
11718
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2017-11-03 06:02:54.630857"], ["id", 5]]
11719
+  (0.8ms) commit transaction
11720
+  (0.0ms) begin transaction
11721
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2017-11-03 06:02:54.632739"], ["id", 6]]
11722
+  (0.5ms) commit transaction
11723
+  (0.0ms) begin transaction
11724
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2017-11-03 06:02:54.634369"], ["id", 7]]
11725
+  (0.6ms) commit transaction
11726
+  (0.0ms) begin transaction
11727
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2017-11-03 06:02:54.636369"], ["id", 8]]
11728
+  (0.8ms) commit transaction
11729
+  (0.0ms) begin transaction
11730
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2017-11-03 06:02:54.638284"], ["id", 9]]
11731
+  (0.7ms) commit transaction
11732
+ Completed 200 OK in 23ms (ActiveRecord: 10.9ms)
11733
+
11734
+
11735
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:02:57 +0900
11736
+ Processing by SortableController#reorder as */*
11737
+ Parameters: {"Item"=>["10", "5", "1", "2", "3", "4", "6", "7", "8", "9"]}
11738
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11739
+  (0.0ms) begin transaction
11740
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-11-03 06:02:57.155538"], ["id", 5]]
11741
+  (2.2ms) commit transaction
11742
+  (0.1ms) begin transaction
11743
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2017-11-03 06:02:57.159416"], ["id", 1]]
11744
+  (0.6ms) commit transaction
11745
+  (0.1ms) begin transaction
11746
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2017-11-03 06:02:57.161918"], ["id", 2]]
11747
+  (0.7ms) commit transaction
11748
+  (0.0ms) begin transaction
11749
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2017-11-03 06:02:57.163727"], ["id", 3]]
11750
+  (0.6ms) commit transaction
11751
+  (0.0ms) begin transaction
11752
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2017-11-03 06:02:57.165466"], ["id", 4]]
11753
+  (0.7ms) commit transaction
11754
+ Completed 200 OK in 13ms (ActiveRecord: 6.3ms)
11755
+
11756
+
11757
+ Started GET "/items" for ::1 at 2017-11-03 15:02:59 +0900
11758
+ Processing by ItemsController#index as HTML
11759
+ Rendering items/index.html.erb within layouts/application
11760
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11761
+ Rendered items/index.html.erb within layouts/application (2.9ms)
11762
+ Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.2ms)
11763
+
11764
+
11765
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:03:02 +0900
11766
+ Processing by SortableController#reorder as */*
11767
+ Parameters: {"Item"=>["10", "1", "2", "3", "4", "5", "6", "7", "8", "9"]}
11768
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11769
+  (0.0ms) begin transaction
11770
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-11-03 06:03:02.713798"], ["id", 1]]
11771
+  (2.1ms) commit transaction
11772
+  (0.0ms) begin transaction
11773
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2017-11-03 06:03:02.717477"], ["id", 2]]
11774
+  (0.8ms) commit transaction
11775
+  (0.1ms) begin transaction
11776
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2017-11-03 06:03:02.719742"], ["id", 3]]
11777
+  (0.9ms) commit transaction
11778
+  (0.0ms) begin transaction
11779
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2017-11-03 06:03:02.722541"], ["id", 4]]
11780
+  (0.6ms) commit transaction
11781
+  (0.0ms) begin transaction
11782
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2017-11-03 06:03:02.724461"], ["id", 5]]
11783
+  (0.9ms) commit transaction
11784
+ Completed 200 OK in 15ms (ActiveRecord: 6.8ms)
11785
+
11786
+
11787
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:03:10 +0900
11788
+ Processing by SortableController#reorder as */*
11789
+ Parameters: {"Item"=>["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]}
11790
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11791
+  (0.0ms) begin transaction
11792
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2017-11-03 06:03:10.800855"], ["id", 1]]
11793
+  (1.5ms) commit transaction
11794
+  (0.1ms) begin transaction
11795
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-11-03 06:03:10.804328"], ["id", 2]]
11796
+  (1.2ms) commit transaction
11797
+  (0.0ms) begin transaction
11798
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2017-11-03 06:03:10.806944"], ["id", 3]]
11799
+  (1.1ms) commit transaction
11800
+  (0.1ms) begin transaction
11801
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2017-11-03 06:03:10.809718"], ["id", 4]]
11802
+  (0.8ms) commit transaction
11803
+  (0.0ms) begin transaction
11804
+ SQL (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2017-11-03 06:03:10.812007"], ["id", 5]]
11805
+  (0.8ms) commit transaction
11806
+  (0.0ms) begin transaction
11807
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2017-11-03 06:03:10.814614"], ["id", 6]]
11808
+  (0.5ms) commit transaction
11809
+  (0.0ms) begin transaction
11810
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2017-11-03 06:03:10.816130"], ["id", 7]]
11811
+  (1.2ms) commit transaction
11812
+  (0.0ms) begin transaction
11813
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2017-11-03 06:03:10.818453"], ["id", 8]]
11814
+  (1.4ms) commit transaction
11815
+  (0.1ms) begin transaction
11816
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2017-11-03 06:03:10.821304"], ["id", 9]]
11817
+  (0.7ms) commit transaction
11818
+  (0.1ms) begin transaction
11819
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2017-11-03 06:03:10.824145"], ["id", 10]]
11820
+  (0.7ms) commit transaction
11821
+ Completed 200 OK in 27ms (ActiveRecord: 13.1ms)
11822
+
11823
+
11824
+ Started GET "/items" for ::1 at 2017-11-03 15:03:12 +0900
11825
+ Processing by ItemsController#index as HTML
11826
+ Rendering items/index.html.erb within layouts/application
11827
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11828
+ Rendered items/index.html.erb within layouts/application (2.8ms)
11829
+ Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.1ms)
11830
+
11831
+
11832
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 15:03:49 +0900
11833
+ Processing by SequencedItemsController#index as HTML
11834
+ Rendering sequenced_items/index.html.erb within layouts/application
11835
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
11836
+ Rendered sequenced_items/index.html.erb within layouts/application (6.1ms)
11837
+ Completed 200 OK in 28ms (Views: 24.5ms | ActiveRecord: 0.5ms)
11838
+
11839
+
11840
+ Started GET "/items" for ::1 at 2017-11-03 15:50:26 +0900
11841
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
11842
+ Processing by ItemsController#index as HTML
11843
+ Rendering items/index.html.erb within layouts/application
11844
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11845
+ Rendered items/index.html.erb within layouts/application (9.6ms)
11846
+ Completed 200 OK in 175ms (Views: 171.9ms | ActiveRecord: 0.6ms)
11847
+
11848
+
11849
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:50:30 +0900
11850
+ Processing by SortableController#reorder as */*
11851
+ Parameters: {"Item"=>["10", "1", "2", "3", "4", "5", "6", "7", "8", "9"]}
11852
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11853
+  (0.0ms) begin transaction
11854
+ SQL (0.4ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2017-11-03 06:50:30.833104"], ["id", 10]]
11855
+  (1.2ms) commit transaction
11856
+  (0.0ms) begin transaction
11857
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-11-03 06:50:30.836074"], ["id", 1]]
11858
+  (0.5ms) commit transaction
11859
+  (0.0ms) begin transaction
11860
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2017-11-03 06:50:30.837854"], ["id", 2]]
11861
+  (0.8ms) commit transaction
11862
+  (0.0ms) begin transaction
11863
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2017-11-03 06:50:30.840025"], ["id", 3]]
11864
+  (0.5ms) commit transaction
11865
+  (0.1ms) begin transaction
11866
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2017-11-03 06:50:30.841920"], ["id", 4]]
11867
+  (0.5ms) commit transaction
11868
+  (0.0ms) begin transaction
11869
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2017-11-03 06:50:30.843588"], ["id", 5]]
11870
+  (0.8ms) commit transaction
11871
+  (0.0ms) begin transaction
11872
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 6], ["updated_at", "2017-11-03 06:50:30.845598"], ["id", 6]]
11873
+  (0.6ms) commit transaction
11874
+  (0.0ms) begin transaction
11875
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 7], ["updated_at", "2017-11-03 06:50:30.847540"], ["id", 7]]
11876
+  (0.8ms) commit transaction
11877
+  (0.0ms) begin transaction
11878
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 8], ["updated_at", "2017-11-03 06:50:30.849440"], ["id", 8]]
11879
+  (0.6ms) commit transaction
11880
+  (0.0ms) begin transaction
11881
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 9], ["updated_at", "2017-11-03 06:50:30.851112"], ["id", 9]]
11882
+  (0.5ms) commit transaction
11883
+ Completed 200 OK in 21ms (ActiveRecord: 9.5ms)
11884
+
11885
+
11886
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:50:33 +0900
11887
+ Processing by SortableController#reorder as */*
11888
+ Parameters: {"Item"=>["10", "5", "1", "2", "3", "4", "6", "7", "8", "9"]}
11889
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11890
+  (0.1ms) begin transaction
11891
+ SQL (0.3ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-11-03 06:50:33.333817"], ["id", 5]]
11892
+  (0.5ms) commit transaction
11893
+  (0.0ms) begin transaction
11894
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 2], ["updated_at", "2017-11-03 06:50:33.335927"], ["id", 1]]
11895
+  (1.1ms) commit transaction
11896
+  (0.1ms) begin transaction
11897
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 3], ["updated_at", "2017-11-03 06:50:33.338832"], ["id", 2]]
11898
+  (0.5ms) commit transaction
11899
+  (0.0ms) begin transaction
11900
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 4], ["updated_at", "2017-11-03 06:50:33.340703"], ["id", 3]]
11901
+  (1.1ms) commit transaction
11902
+  (0.1ms) begin transaction
11903
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 5], ["updated_at", "2017-11-03 06:50:33.343215"], ["id", 4]]
11904
+  (0.6ms) commit transaction
11905
+ Completed 200 OK in 13ms (ActiveRecord: 5.4ms)
11906
+
11907
+
11908
+ Started GET "/items" for ::1 at 2017-11-03 15:50:35 +0900
11909
+ Processing by ItemsController#index as HTML
11910
+ Rendering items/index.html.erb within layouts/application
11911
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11912
+ Rendered items/index.html.erb within layouts/application (3.9ms)
11913
+ Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.4ms)
11914
+
11915
+
11916
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 15:50:39 +0900
11917
+ Processing by SequencedItemsController#index as HTML
11918
+ Rendering sequenced_items/index.html.erb within layouts/application
11919
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
11920
+ Rendered sequenced_items/index.html.erb within layouts/application (18.0ms)
11921
+ Completed 200 OK in 37ms (Views: 34.2ms | ActiveRecord: 0.6ms)
11922
+
11923
+
11924
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:50:41 +0900
11925
+ Processing by SortableController#reorder as */*
11926
+ Parameters: {"SequencedItem"=>["10", "1", "2", "3", "4", "5", "6", "7", "8", "9"]}
11927
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
11928
+  (0.1ms) begin transaction
11929
+ SQL (0.3ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 0], ["id", 10]]
11930
+  (2.0ms) commit transaction
11931
+  (0.0ms) begin transaction
11932
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 1], ["id", 1]]
11933
+  (0.8ms) commit transaction
11934
+  (0.0ms) begin transaction
11935
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 2], ["id", 2]]
11936
+  (0.7ms) commit transaction
11937
+  (0.0ms) begin transaction
11938
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 3], ["id", 3]]
11939
+  (0.6ms) commit transaction
11940
+  (0.0ms) begin transaction
11941
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 4], ["id", 4]]
11942
+  (0.8ms) commit transaction
11943
+  (0.0ms) begin transaction
11944
+ SQL (0.4ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 5], ["id", 5]]
11945
+  (0.7ms) commit transaction
11946
+  (0.0ms) begin transaction
11947
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 6], ["id", 6]]
11948
+  (0.8ms) commit transaction
11949
+  (0.1ms) begin transaction
11950
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 7], ["id", 7]]
11951
+  (0.7ms) commit transaction
11952
+  (0.0ms) begin transaction
11953
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 8], ["id", 8]]
11954
+  (0.7ms) commit transaction
11955
+  (0.0ms) begin transaction
11956
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 9], ["id", 9]]
11957
+  (0.5ms) commit transaction
11958
+ Completed 200 OK in 24ms (ActiveRecord: 11.2ms)
11959
+
11960
+
11961
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 15:50:43 +0900
11962
+ Processing by SortableController#reorder as */*
11963
+ Parameters: {"SequencedItem"=>["10", "6", "1", "2", "3", "4", "5", "7", "8", "9"]}
11964
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
11965
+  (0.1ms) begin transaction
11966
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 1], ["id", 6]]
11967
+  (0.6ms) commit transaction
11968
+  (0.0ms) begin transaction
11969
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 2], ["id", 1]]
11970
+  (1.2ms) commit transaction
11971
+  (0.1ms) begin transaction
11972
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 3], ["id", 2]]
11973
+  (0.6ms) commit transaction
11974
+  (0.0ms) begin transaction
11975
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 4], ["id", 3]]
11976
+  (0.7ms) commit transaction
11977
+  (0.1ms) begin transaction
11978
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 5], ["id", 4]]
11979
+  (1.0ms) commit transaction
11980
+  (0.0ms) begin transaction
11981
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 6], ["id", 5]]
11982
+  (0.8ms) commit transaction
11983
+ Completed 200 OK in 15ms (ActiveRecord: 6.7ms)
11984
+
11985
+
11986
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 15:50:45 +0900
11987
+ Processing by SequencedItemsController#index as HTML
11988
+ Rendering sequenced_items/index.html.erb within layouts/application
11989
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
11990
+ Rendered sequenced_items/index.html.erb within layouts/application (3.1ms)
11991
+ Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 0.2ms)
11992
+
11993
+
11994
+ Started GET "/items" for ::1 at 2017-11-03 16:19:16 +0900
11995
+ Processing by ItemsController#index as HTML
11996
+ Rendering items/index.html.erb within layouts/application
11997
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
11998
+ Rendered items/index.html.erb within layouts/application (9.1ms)
11999
+ Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 1.3ms)
12000
+
12001
+
12002
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 16:19:31 +0900
12003
+ Processing by SequencedItemsController#index as HTML
12004
+ Rendering sequenced_items/index.html.erb within layouts/application
12005
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12006
+ Rendered sequenced_items/index.html.erb within layouts/application (9.4ms)
12007
+ Completed 200 OK in 51ms (Views: 45.7ms | ActiveRecord: 0.6ms)
12008
+
12009
+
12010
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 16:19:39 +0900
12011
+ Processing by SortableController#reorder as */*
12012
+ Parameters: {"SequencedItem"=>["9", "10", "6", "1", "2", "3", "4", "5", "7", "8"]}
12013
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12014
+  (0.0ms) begin transaction
12015
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 0], ["id", 9]]
12016
+  (1.2ms) commit transaction
12017
+  (0.1ms) begin transaction
12018
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 1], ["id", 10]]
12019
+  (0.7ms) commit transaction
12020
+  (0.0ms) begin transaction
12021
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 2], ["id", 6]]
12022
+  (1.3ms) commit transaction
12023
+  (0.1ms) begin transaction
12024
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 3], ["id", 1]]
12025
+  (0.5ms) commit transaction
12026
+  (0.0ms) begin transaction
12027
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 4], ["id", 2]]
12028
+  (0.9ms) commit transaction
12029
+  (0.2ms) begin transaction
12030
+ SQL (0.3ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 5], ["id", 3]]
12031
+  (0.8ms) commit transaction
12032
+  (0.0ms) begin transaction
12033
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 6], ["id", 4]]
12034
+  (0.8ms) commit transaction
12035
+  (0.0ms) begin transaction
12036
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 7], ["id", 5]]
12037
+  (0.7ms) commit transaction
12038
+  (0.0ms) begin transaction
12039
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 8], ["id", 7]]
12040
+  (1.3ms) commit transaction
12041
+  (0.0ms) begin transaction
12042
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 9], ["id", 8]]
12043
+  (0.5ms) commit transaction
12044
+ Completed 200 OK in 24ms (ActiveRecord: 11.6ms)
12045
+
12046
+
12047
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 16:19:41 +0900
12048
+ Processing by SortableController#reorder as */*
12049
+ Parameters: {"SequencedItem"=>["10", "9", "6", "1", "2", "3", "4", "5", "7", "8"]}
12050
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12051
+  (0.0ms) begin transaction
12052
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 0], ["id", 10]]
12053
+  (2.3ms) commit transaction
12054
+  (0.1ms) begin transaction
12055
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 1], ["id", 9]]
12056
+  (0.6ms) commit transaction
12057
+ Completed 200 OK in 8ms (ActiveRecord: 3.7ms)
12058
+
12059
+
12060
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 16:19:45 +0900
12061
+ Processing by SequencedItemsController#index as HTML
12062
+ Rendering sequenced_items/index.html.erb within layouts/application
12063
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12064
+ Rendered sequenced_items/index.html.erb within layouts/application (3.1ms)
12065
+ Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.2ms)
12066
+
12067
+
12068
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 16:19:58 +0900
12069
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
12070
+ Processing by SequencedItemsController#index as HTML
12071
+ Rendering sequenced_items/index.html.erb within layouts/application
12072
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12073
+ Rendered sequenced_items/index.html.erb within layouts/application (9.0ms)
12074
+ Completed 200 OK in 170ms (Views: 166.6ms | ActiveRecord: 0.6ms)
12075
+
12076
+
12077
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 16:20:07 +0900
12078
+ Processing by SortableController#reorder as */*
12079
+ Parameters: {"SequencedItem"=>["1", "10", "9", "6", "2", "3", "4", "5", "7", "8"]}
12080
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12081
+  (0.1ms) begin transaction
12082
+ SQL (0.8ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 0], ["id", 1]]
12083
+  (1.3ms) commit transaction
12084
+  (0.1ms) begin transaction
12085
+ SQL (0.3ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 1], ["id", 10]]
12086
+  (0.6ms) commit transaction
12087
+  (0.0ms) begin transaction
12088
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 2], ["id", 9]]
12089
+  (0.7ms) commit transaction
12090
+  (0.0ms) begin transaction
12091
+ SQL (0.3ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 3], ["id", 6]]
12092
+  (0.6ms) commit transaction
12093
+ Completed 200 OK in 12ms (ActiveRecord: 5.2ms)
12094
+
12095
+
12096
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 16:20:42 +0900
12097
+ Processing by SequencedItemsController#index as HTML
12098
+ Rendering sequenced_items/index.html.erb within layouts/application
12099
+ SequencedItem Load (0.1ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12100
+ Rendered sequenced_items/index.html.erb within layouts/application (8.1ms)
12101
+ Completed 200 OK in 29ms (Views: 26.3ms | ActiveRecord: 0.8ms)
12102
+
12103
+
12104
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 16:21:02 +0900
12105
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
12106
+ Processing by SequencedItemsController#index as HTML
12107
+ Rendering sequenced_items/index.html.erb within layouts/application
12108
+ SequencedItem Load (0.3ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12109
+ Rendered sequenced_items/index.html.erb within layouts/application (10.1ms)
12110
+ Completed 200 OK in 164ms (Views: 159.5ms | ActiveRecord: 0.8ms)
12111
+
12112
+
12113
+ Started GET "/sequenced_items" for ::1 at 2017-11-03 16:21:10 +0900
12114
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
12115
+ Processing by SequencedItemsController#index as HTML
12116
+ Rendering sequenced_items/index.html.erb within layouts/application
12117
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12118
+ Rendered sequenced_items/index.html.erb within layouts/application (8.9ms)
12119
+ Completed 200 OK in 173ms (Views: 166.8ms | ActiveRecord: 0.5ms)
12120
+
12121
+
12122
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 16:21:16 +0900
12123
+ Processing by SortableController#reorder as */*
12124
+ Parameters: {"SequencedItem"=>["1", "2", "10", "9", "6", "3", "4", "5", "7", "8"]}
12125
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12126
+  (0.0ms) begin transaction
12127
+ SQL (0.3ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 1], ["id", 2]]
12128
+  (2.2ms) commit transaction
12129
+  (0.1ms) begin transaction
12130
+ SQL (0.4ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 2], ["id", 10]]
12131
+  (0.8ms) commit transaction
12132
+  (0.0ms) begin transaction
12133
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 3], ["id", 9]]
12134
+  (0.5ms) commit transaction
12135
+  (0.0ms) begin transaction
12136
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 4], ["id", 6]]
12137
+  (0.7ms) commit transaction
12138
+ Completed 200 OK in 12ms (ActiveRecord: 5.7ms)
12139
+
12140
+
12141
+ Started POST "/sortable/reorder" for ::1 at 2017-11-03 16:21:39 +0900
12142
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
12143
+ Processing by SortableController#reorder as */*
12144
+ Parameters: {"SequencedItem"=>["1", "2", "3", "10", "9", "6", "4", "5", "7", "8"]}
12145
+ SequencedItem Load (0.2ms) SELECT "sequenced_items".* FROM "sequenced_items" ORDER BY "sequenced_items"."sequence" ASC
12146
+  (0.0ms) begin transaction
12147
+ SQL (0.4ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 2], ["id", 3]]
12148
+  (2.1ms) commit transaction
12149
+  (0.0ms) begin transaction
12150
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 3], ["id", 10]]
12151
+  (0.6ms) commit transaction
12152
+  (0.0ms) begin transaction
12153
+ SQL (0.2ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 4], ["id", 9]]
12154
+  (0.6ms) commit transaction
12155
+  (0.0ms) begin transaction
12156
+ SQL (0.4ms) UPDATE "sequenced_items" SET "sequence" = ? WHERE "sequenced_items"."id" = ? [["sequence", 5], ["id", 6]]
12157
+  (0.5ms) commit transaction
12158
+ Completed 200 OK in 23ms (ActiveRecord: 5.8ms)
12159
+
12160
+