rails_sortable 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/rails_sortable/version.rb +1 -1
- data/spec/dummy/app/assets/javascripts/items.js +0 -2
- data/spec/dummy/app/assets/javascripts/multiple_classes.js +1 -3
- data/spec/dummy/app/assets/javascripts/sequenced_items.js +1 -3
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +159 -0
- data/spec/dummy/log/test.log +744 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-A/-A7_8_MYsJx2PDRA-tSgnGq6z_AYVSZg3Wzw2g39Ll0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2I/2Irq1AU-DIfVBlPGvWSgRxEg2MqMDmADG6WQUAcd8Eo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3B/3Be7pM0hj5UJCs2r47IhpKR6ZLq93IfvouTPEOKCOYo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/44/44PXxaDB5DKHa1cNx_x2cjNkjFaIAzzXZ0cYULGl0Sw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6r/6r82hgXDFp9O087kYk74ihInkVzSW1SKWJ_3tEFO10s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8V/8VSW-32nGZcyBdSlCgGpIGOClrzZCtrcj2EOpEG_T8Y.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9I/9IIZmBD1MEFYjYxB2ymBcTiywx-yu0CQBTVnROrqbEM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ap/ApFurNEUCg00ef5bcrPMuA-R5GgBVWjr2AecgA-Zn1A.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BJ/BJ4CqxUM1jMrkjgOYP--W7ke2Gn4xM1vAcwRCF1KvHY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/E9/E9-iXGREF2boPVTbrkS3l21_yR6xBWTDKWD8jxmIZY0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F9/F9PVXNJ0zAB15xgC8B1skuonq6cDS16OtmKa7VLqGa0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFuNhzNZA5ILxIzWi2wxnZ_uEYPrAQ4OVoo0Y_92muU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jx/JxMfKNpOX9fSg9wK4InGsuvsnX-dbKlrEiUiA94sIVE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nb/NbdcpptyOGjqsVQnYDZprB-eHAQa5mxIZAAYTMaeWzE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ON/ONa-_yyxM-6Jwb8nd_UbBdNNHYCd7NkcK9qp-jFbuxQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q-/Q-8sguKwAAN-tazMV_uLhxyUfWo9B43Sv1Meid7tAkA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S1/S1QOAlBnRFRtUUFJtf_XOMqOPJMJMNxAL2aNUAU88xU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UZ/UZCeRACjTy1dSiJlXXGAACZMyUN67mfTZH3APaFtlAk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uy/UyetlmKTIdtCVPOSocRRkF1xMs0MKx180qYYhbZcY_w.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/vWmbYLfVIq8FLIBPBuos-nm4hLJF7B8T4Lyhnd3lNMk.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_c/_C8OKLSpL7Gb_S2PoCt3hV3YK-349D8nFFEVDOlQF00.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cK/cKTTtku78zEJGKmJZ7M9vh-RJn80JXPaA8ydu6mCdNI.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i5/i5SnV3CqxS3d4Jwz_G6njSLZDTR5DKATTTRaXfL8d4I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kB/kBTIidDZtExp6m2DO8ZBckTcqowVmKEBjplzXcysSEY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p2/p25_M0eBowYsigE3Cho4J6Dt0t6J2BlakkPCSZU3-mM.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q8/q8ZW3PZmK4T01mbIA88_4P3iDhQZJwIVqcUQbyl3fZY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x5/x5ha-Z4qc_6UIT9KoHrYIvcDTGzhHTJUBYSnsxL_R9o.cache +1 -0
- data/vendor/assets/javascripts/plugin.js +2 -3
- metadata +54 -4
- data/spec/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b3aaf27ff8752d22e1f98d763fe97592d2827ec510fa7471ee0a478fc44b811
|
4
|
+
data.tar.gz: da62dcc27afa7f402e57bb1a83ac602dc5036c0a5d67bd8fbf5661fc507272a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03c9413b30873f2103a2de6c9dfa9035a54f461293d453507309acf80ab72c48953063385a1659cc20d15684942407aa597c3e3697b08d0e88cc1edd31a08d83
|
7
|
+
data.tar.gz: 4f7f14b38ec27dc3e53ac818ff6e1e7f52ffcadbba1be23634e9d223b966ce41f585a290f0fe14a1cd764d597536a38243c4444ededfc47b441c80e810583c1d
|
data/README.md
CHANGED
@@ -90,6 +90,9 @@ $(function() {
|
|
90
90
|
});
|
91
91
|
```
|
92
92
|
|
93
|
+
## More
|
94
|
+
Please have a look at [Use cases@wiki](https://github.com/itmammoth/rails_sortable/wiki#use-cases) for further information.
|
95
|
+
|
93
96
|
# Javascript options
|
94
97
|
jQuery plugin `railsSortable` is just a wrapper of `jquery.ui.sortable`. therefore it accepts all of `sortbale` options.
|
95
98
|
|
Binary file
|
@@ -3927,3 +3927,162 @@ Processing by MultipleClassesController#index as HTML
|
|
3927
3927
|
Completed 200 OK in 32ms (Views: 27.9ms | ActiveRecord: 0.3ms)
|
3928
3928
|
|
3929
3929
|
|
3930
|
+
Started GET "/" for ::1 at 2018-05-25 18:08:12 +0900
|
3931
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3932
|
+
Processing by Rails::WelcomeController#index as HTML
|
3933
|
+
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
|
3934
|
+
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 (6.4ms)
|
3935
|
+
Completed 200 OK in 29ms (Views: 16.6ms | ActiveRecord: 0.0ms)
|
3936
|
+
|
3937
|
+
|
3938
|
+
Started GET "/items" for ::1 at 2018-05-25 18:08:18 +0900
|
3939
|
+
Processing by ItemsController#index as HTML
|
3940
|
+
Rendering items/index.html.erb within layouts/application
|
3941
|
+
[1m[36mItem Load (0.7ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
3942
|
+
Rendered items/index.html.erb within layouts/application (18.4ms)
|
3943
|
+
Completed 200 OK in 368ms (Views: 358.3ms | ActiveRecord: 1.4ms)
|
3944
|
+
|
3945
|
+
|
3946
|
+
Started GET "/assets/application.self-f9e7c1541e1b8783561468c59162bd896007380f5a3799ef2169d3a3fdf40bed.css?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3947
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3948
|
+
Started GET "/assets/jquery.self-bd7ddd393353a8d2480a622e80342adf488fb6006d667e8b42e4c0073393abee.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3949
|
+
Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3950
|
+
Started GET "/assets/jquery-ui/version.self-c8e3d1203da26ea7efdf83c1eabb3f0ba55cb68e463f5ccf0d77bd15ce6a8e61.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3951
|
+
Started GET "/assets/jquery-ui/ie.self-163eb039dcb1e0c3471b7d91386eabb8753da6906e84824c019f9ff56bdb83a6.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3952
|
+
Started GET "/assets/jquery-ui/widget.self-fca20bcec06d192f97cffa6e734e24360e227237b8ae7d7e7e60754df7d5444f.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3953
|
+
Started GET "/assets/jquery-ui/widgets/mouse.self-f0790a202dcf54fab051e71b042335d5346f9cceb0f645223c1dab93f349a04b.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3954
|
+
Started GET "/assets/jquery-ui/data.self-2067c82e6fe39a9cba5623206a5dc28d5c60d26b95cd100855b78cacf72865b8.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3955
|
+
Started GET "/assets/jquery-ui/scroll-parent.self-38e26a71a450a29fb63425e8f589a7046862f927eb0a1dbf6a6c44da05196d2e.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3956
|
+
Started GET "/assets/jquery-ui/widgets/sortable.self-6e5e1f07a29b5a89ec1d359363d2800904e3ae548a38ab2f8eded36746d1adbe.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3957
|
+
Started GET "/assets/plugin.self-36f2ec2747dda8b53ef2782774bc987c34259b612a2b6bd7491a9efda17529a3.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3958
|
+
Started GET "/assets/rails_sortable.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3959
|
+
Started GET "/assets/sequenced_items.self-bd07269bb38e1168792a274bacc24aa011a3f7bdb35130acb91f2f39e768f2ed.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3960
|
+
Started GET "/assets/application.self-120f3cf1cb67bea53c4a2a57336b34ca04b04b55a55c38cf76ce20a147e5eff9.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3961
|
+
Started GET "/assets/multiple_classes.self-53973d459df78e9f48c10465e01232b4609d2b3b4c94fbe372fe77c897f60ad7.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3962
|
+
Started GET "/assets/items.self-d03e2e146c48fdcab1d5818b466741b5283c64a82d13b8d529761d2b3b48cf3d.js?body=1" for ::1 at 2018-05-25 18:08:18 +0900
|
3963
|
+
Started POST "/sortable/reorder" for ::1 at 2018-05-25 18:08:22 +0900
|
3964
|
+
Processing by SortableController#reorder as JSON
|
3965
|
+
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"}]}}
|
3966
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3967
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 50], ["LIMIT", 1]]
|
3968
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:08:22.333737"], ["id", 50]]
|
3969
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 41], ["LIMIT", 1]]
|
3970
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:08:22.335570"], ["id", 41]]
|
3971
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 42], ["LIMIT", 1]]
|
3972
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:08:22.336772"], ["id", 42]]
|
3973
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
3974
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:08:22.337973"], ["id", 43]]
|
3975
|
+
[1m[36mItem Load (0.3ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 44], ["LIMIT", 1]]
|
3976
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-05-25 09:08:22.340778"], ["id", 44]]
|
3977
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 45], ["LIMIT", 1]]
|
3978
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-05-25 09:08:22.342534"], ["id", 45]]
|
3979
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
3980
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-05-25 09:08:22.345133"], ["id", 46]]
|
3981
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 47], ["LIMIT", 1]]
|
3982
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-05-25 09:08:22.347761"], ["id", 47]]
|
3983
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 48], ["LIMIT", 1]]
|
3984
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-05-25 09:08:22.350130"], ["id", 48]]
|
3985
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
3986
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-05-25 09:08:22.352421"], ["id", 49]]
|
3987
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
3988
|
+
Completed 200 OK in 25ms (ActiveRecord: 6.0ms)
|
3989
|
+
|
3990
|
+
|
3991
|
+
Started POST "/sortable/reorder" for ::1 at 2018-05-25 18:08:29 +0900
|
3992
|
+
Processing by SortableController#reorder as JSON
|
3993
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"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"=>"50"}, {"klass"=>"Item", "id"=>"49"}, {"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"}]}}
|
3994
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3995
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 50], ["LIMIT", 1]]
|
3996
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
3997
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:08:29.112426"], ["id", 49]]
|
3998
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 41], ["LIMIT", 1]]
|
3999
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:08:29.114126"], ["id", 41]]
|
4000
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 42], ["LIMIT", 1]]
|
4001
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:08:29.118872"], ["id", 42]]
|
4002
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
4003
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-05-25 09:08:29.121324"], ["id", 43]]
|
4004
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 44], ["LIMIT", 1]]
|
4005
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-05-25 09:08:29.122527"], ["id", 44]]
|
4006
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 45], ["LIMIT", 1]]
|
4007
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-05-25 09:08:29.123631"], ["id", 45]]
|
4008
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
4009
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-05-25 09:08:29.125735"], ["id", 46]]
|
4010
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 47], ["LIMIT", 1]]
|
4011
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-05-25 09:08:29.127523"], ["id", 47]]
|
4012
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 48], ["LIMIT", 1]]
|
4013
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-05-25 09:08:29.130109"], ["id", 48]]
|
4014
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
4015
|
+
Completed 200 OK in 26ms (ActiveRecord: 6.4ms)
|
4016
|
+
|
4017
|
+
|
4018
|
+
Started GET "/items" for ::1 at 2018-05-25 18:08:30 +0900
|
4019
|
+
Processing by ItemsController#index as HTML
|
4020
|
+
Rendering items/index.html.erb within layouts/application
|
4021
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
4022
|
+
Rendered items/index.html.erb within layouts/application (4.6ms)
|
4023
|
+
Completed 200 OK in 55ms (Views: 51.7ms | ActiveRecord: 0.2ms)
|
4024
|
+
|
4025
|
+
|
4026
|
+
Started POST "/sortable/reorder" for ::1 at 2018-05-25 18:08:34 +0900
|
4027
|
+
Processing by SortableController#reorder as JSON
|
4028
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"49"}, {"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"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"49"}, {"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"}]}}
|
4029
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4030
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
4031
|
+
[1m[35mSQL (1.7ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:08:34.367806"], ["id", 49]]
|
4032
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 41], ["LIMIT", 1]]
|
4033
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:08:34.371833"], ["id", 41]]
|
4034
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 42], ["LIMIT", 1]]
|
4035
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:08:34.374187"], ["id", 42]]
|
4036
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
4037
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:08:34.375864"], ["id", 43]]
|
4038
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 44], ["LIMIT", 1]]
|
4039
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-05-25 09:08:34.377739"], ["id", 44]]
|
4040
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 45], ["LIMIT", 1]]
|
4041
|
+
[1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-05-25 09:08:34.380450"], ["id", 45]]
|
4042
|
+
[1m[36mItem Load (1.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
4043
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-05-25 09:08:34.386278"], ["id", 46]]
|
4044
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 47], ["LIMIT", 1]]
|
4045
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-05-25 09:08:34.388380"], ["id", 47]]
|
4046
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 48], ["LIMIT", 1]]
|
4047
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-05-25 09:08:34.391551"], ["id", 48]]
|
4048
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 50], ["LIMIT", 1]]
|
4049
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-05-25 09:08:34.393783"], ["id", 50]]
|
4050
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
4051
|
+
Completed 200 OK in 38ms (ActiveRecord: 13.3ms)
|
4052
|
+
|
4053
|
+
|
4054
|
+
Started POST "/sortable/reorder" for ::1 at 2018-05-25 18:08:36 +0900
|
4055
|
+
Processing by SortableController#reorder as JSON
|
4056
|
+
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"}]}}
|
4057
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4058
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 41], ["LIMIT", 1]]
|
4059
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:08:36.528234"], ["id", 41]]
|
4060
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 42], ["LIMIT", 1]]
|
4061
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:08:36.530718"], ["id", 42]]
|
4062
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
4063
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:08:36.534173"], ["id", 43]]
|
4064
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 44], ["LIMIT", 1]]
|
4065
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:08:36.536620"], ["id", 44]]
|
4066
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 45], ["LIMIT", 1]]
|
4067
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-05-25 09:08:36.539362"], ["id", 45]]
|
4068
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
4069
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-05-25 09:08:36.541635"], ["id", 46]]
|
4070
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 47], ["LIMIT", 1]]
|
4071
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-05-25 09:08:36.543089"], ["id", 47]]
|
4072
|
+
[1m[36mItem Load (0.3ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 48], ["LIMIT", 1]]
|
4073
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-05-25 09:08:36.545567"], ["id", 48]]
|
4074
|
+
[1m[36mItem Load (0.4ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
4075
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-05-25 09:08:36.549770"], ["id", 49]]
|
4076
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 50], ["LIMIT", 1]]
|
4077
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
4078
|
+
Completed 200 OK in 29ms (ActiveRecord: 5.7ms)
|
4079
|
+
|
4080
|
+
|
4081
|
+
Started GET "/items" for ::1 at 2018-05-25 18:08:37 +0900
|
4082
|
+
Processing by ItemsController#index as HTML
|
4083
|
+
Rendering items/index.html.erb within layouts/application
|
4084
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
4085
|
+
Rendered items/index.html.erb within layouts/application (4.6ms)
|
4086
|
+
Completed 200 OK in 54ms (Views: 51.4ms | ActiveRecord: 0.2ms)
|
4087
|
+
|
4088
|
+
|
data/spec/dummy/log/test.log
CHANGED
@@ -6529,3 +6529,747 @@ Completed 200 OK in 6ms (ActiveRecord: 0.4ms)
|
|
6529
6529
|
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-04-27 07:31:58.299372"], ["updated_at", "2018-04-27 07:31:58.299372"]]
|
6530
6530
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6531
6531
|
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6532
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6533
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6535
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-05-25 09:06:18.341607"], ["updated_at", "2018-05-25 09:06:18.341607"]]
|
6536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6538
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:18.343444"], ["updated_at", "2018-05-25 09:06:18.343444"]]
|
6539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6540
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6541
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
6542
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6544
|
+
[1m[36m (0.3ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6545
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.352603"], ["updated_at", "2018-05-25 09:06:18.352603"], ["sort", 1]]
|
6546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6547
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6548
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6549
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6550
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
6551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6553
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6554
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2018-05-25 09:06:18.380284"], ["updated_at", "2018-05-25 09:06:18.380284"], ["sort", 1]]
|
6555
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6557
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-05-25 09:06:18.383053"], ["id", 1]]
|
6558
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6559
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
6560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6562
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
6563
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.392212"], ["updated_at", "2018-05-25 09:06:18.392212"], ["sequence", 1]]
|
6564
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6565
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
6566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6568
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:06:18.399351"], ["updated_at", "2018-05-25 09:06:18.399351"]]
|
6569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6571
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6572
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2018-05-25 09:06:18.402050"], ["updated_at", "2018-05-25 09:06:18.402050"], ["sort", 1001]]
|
6573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6574
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
6575
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6577
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-05-25 09:06:18.405782"], ["updated_at", "2018-05-25 09:06:18.405782"]]
|
6578
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6579
|
+
[1m[35m (2.2ms)[0m rollback transaction
|
6580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6582
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6583
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.411292"], ["updated_at", "2018-05-25 09:06:18.411292"], ["sort", 1]]
|
6584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6585
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
6586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6587
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6588
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6589
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.427082"], ["updated_at", "2018-05-25 09:06:18.427082"], ["sort", 1]]
|
6590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6591
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6592
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6593
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.429016"], ["updated_at", "2018-05-25 09:06:18.429016"], ["sort", 2]]
|
6594
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6596
|
+
[1m[36m (0.0ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6597
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.430516"], ["updated_at", "2018-05-25 09:06:18.430516"], ["sort", 3]]
|
6598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6599
|
+
Processing by SortableController#reorder as HTML
|
6600
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
|
6601
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6602
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6603
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-05-25 09:06:18.437327"], ["id", 1]]
|
6604
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
6605
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-05-25 09:06:18.438889"], ["id", 3]]
|
6606
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6607
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6608
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
|
6609
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6610
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
|
6611
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
6612
|
+
[1m[35m (2.4ms)[0m rollback transaction
|
6613
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6614
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6615
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6616
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.452197"], ["updated_at", "2018-05-25 09:06:18.452197"], ["sort", 1]]
|
6617
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6618
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6619
|
+
[1m[36m (0.0ms)[0m [1mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6620
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.453894"], ["updated_at", "2018-05-25 09:06:18.453894"], ["sort", 2]]
|
6621
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6622
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6623
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
6624
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.458282"], ["updated_at", "2018-05-25 09:06:18.458282"], ["sort", 1]]
|
6625
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6627
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
6628
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.460638"], ["updated_at", "2018-05-25 09:06:18.460638"], ["sort", 2]]
|
6629
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6630
|
+
Processing by SortableController#reorder as HTML
|
6631
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
|
6632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6633
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6634
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-05-25 09:06:18.463822"], ["id", 2]]
|
6635
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6636
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-05-25 09:06:18.464839"], ["id", 2]]
|
6637
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6638
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-05-25 09:06:18.466343"], ["id", 1]]
|
6639
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6640
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-05-25 09:06:18.467344"], ["id", 1]]
|
6641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6642
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
|
6643
|
+
[1m[35mSecondItem Load (0.0ms)[0m SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
|
6644
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6645
|
+
[1m[35mFirstItem Load (0.0ms)[0m SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
|
6646
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6647
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
6648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6649
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6650
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6651
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:06:18.474873"], ["updated_at", "2018-05-25 09:06:18.474873"], ["sort", 1]]
|
6652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6653
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
6654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6655
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6656
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6657
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6658
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6659
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6660
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.002561"], ["updated_at", "2018-05-25 09:06:22.002561"]]
|
6661
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6662
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6663
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6664
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:06:22.006635"], ["updated_at", "2018-05-25 09:06:22.006635"]]
|
6665
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6666
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6667
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
6668
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.011838"], ["updated_at", "2018-05-25 09:06:22.011838"]]
|
6669
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6670
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6671
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
6672
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:06:22.013086"], ["updated_at", "2018-05-25 09:06:22.013086"]]
|
6673
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6674
|
+
Processing by SortableController#reorder as HTML
|
6675
|
+
Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
|
6676
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6677
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6678
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:06:22.027681"], ["id", 2]]
|
6679
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6680
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:06:22.029027"], ["id", 2]]
|
6681
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6682
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:06:22.029927"], ["id", 1]]
|
6683
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6684
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:06:22.030801"], ["id", 1]]
|
6685
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6686
|
+
Completed 200 OK in 7ms (ActiveRecord: 0.6ms)
|
6687
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6688
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6689
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6690
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6691
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
6692
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6693
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6694
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6695
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.040715"], ["updated_at", "2018-05-25 09:06:22.040715"]]
|
6696
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6697
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6698
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6699
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:06:22.042897"], ["updated_at", "2018-05-25 09:06:22.042897"]]
|
6700
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6701
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6702
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6703
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 3], ["created_at", "2018-05-25 09:06:22.045698"], ["updated_at", "2018-05-25 09:06:22.045698"]]
|
6704
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6705
|
+
Processing by SortableController#reorder as HTML
|
6706
|
+
Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
|
6707
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6708
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6709
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:06:22.048250"], ["id", 1]]
|
6710
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
6711
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:06:22.049174"], ["id", 3]]
|
6712
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6713
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6714
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
6715
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6716
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6717
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
6718
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
6719
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6720
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6721
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6722
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.054426"], ["updated_at", "2018-05-25 09:06:22.054426"]]
|
6723
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6724
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6725
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", "2018-05-25 09:06:22.057430"], ["id", 1]]
|
6726
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6727
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6728
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6729
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6730
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6731
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.060403"], ["updated_at", "2018-05-25 09:06:22.060403"]]
|
6732
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6733
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6734
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6735
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6736
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6737
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6738
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6739
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
6740
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sequence", 1], ["created_at", "2018-05-25 09:06:22.077528"], ["updated_at", "2018-05-25 09:06:22.077528"]]
|
6741
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6742
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6743
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6744
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6745
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6746
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.080692"], ["updated_at", "2018-05-25 09:06:22.080692"]]
|
6747
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6748
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
6749
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6750
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6751
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:06:22.085995"], ["updated_at", "2018-05-25 09:06:22.085995"]]
|
6752
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6753
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6754
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6755
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6756
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:06:22.088759"], ["updated_at", "2018-05-25 09:06:22.088759"]]
|
6757
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6758
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6759
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6760
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1001], ["created_at", "2018-05-25 09:06:22.090780"], ["updated_at", "2018-05-25 09:06:22.090780"]]
|
6761
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6762
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6763
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6764
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6765
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 0], ["created_at", "2018-05-25 09:06:22.095316"], ["updated_at", "2018-05-25 09:06:22.095316"]]
|
6766
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6767
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6768
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.096442"], ["updated_at", "2018-05-25 09:06:22.096442"]]
|
6769
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6770
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6771
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6772
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6773
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6774
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6775
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6776
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6777
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:22.113252"], ["updated_at", "2018-05-25 09:06:22.113252"]]
|
6778
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6779
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6780
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6781
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6782
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6783
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6784
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.161866"], ["updated_at", "2018-05-25 09:06:24.161866"]]
|
6785
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6786
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6787
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6788
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
6789
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6790
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6791
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6792
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.170597"], ["updated_at", "2018-05-25 09:06:24.170597"]]
|
6793
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6794
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6795
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6796
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:06:24.172173"], ["updated_at", "2018-05-25 09:06:24.172173"]]
|
6797
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6798
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6799
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6800
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 3], ["created_at", "2018-05-25 09:06:24.173364"], ["updated_at", "2018-05-25 09:06:24.173364"]]
|
6801
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6802
|
+
Processing by SortableController#reorder as HTML
|
6803
|
+
Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
|
6804
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6805
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6806
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:06:24.184221"], ["id", 1]]
|
6807
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
6808
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:06:24.185875"], ["id", 3]]
|
6809
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6810
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6811
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
|
6812
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6813
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6814
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
6815
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
6816
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6817
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6818
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6819
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.201183"], ["updated_at", "2018-05-25 09:06:24.201183"]]
|
6820
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6821
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6822
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6823
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:06:24.203801"], ["updated_at", "2018-05-25 09:06:24.203801"]]
|
6824
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6825
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6826
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
6827
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.212031"], ["updated_at", "2018-05-25 09:06:24.212031"]]
|
6828
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6829
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6830
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
6831
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:06:24.213340"], ["updated_at", "2018-05-25 09:06:24.213340"]]
|
6832
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6833
|
+
Processing by SortableController#reorder as HTML
|
6834
|
+
Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
|
6835
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6836
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6837
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:06:24.215896"], ["id", 2]]
|
6838
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6839
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:06:24.216905"], ["id", 2]]
|
6840
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6841
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:06:24.218306"], ["id", 1]]
|
6842
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6843
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:06:24.220506"], ["id", 1]]
|
6844
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6845
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.8ms)
|
6846
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6847
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6848
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6849
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6850
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6851
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6852
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6853
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 0], ["created_at", "2018-05-25 09:06:24.225505"], ["updated_at", "2018-05-25 09:06:24.225505"]]
|
6854
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6855
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6856
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.226845"], ["updated_at", "2018-05-25 09:06:24.226845"]]
|
6857
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6858
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6859
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
6860
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6861
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6862
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:06:24.238511"], ["updated_at", "2018-05-25 09:06:24.238511"]]
|
6863
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6864
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6865
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6866
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6867
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:06:24.241289"], ["updated_at", "2018-05-25 09:06:24.241289"]]
|
6868
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6869
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6870
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6871
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1001], ["created_at", "2018-05-25 09:06:24.242425"], ["updated_at", "2018-05-25 09:06:24.242425"]]
|
6872
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6873
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
6874
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6876
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6877
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.247704"], ["updated_at", "2018-05-25 09:06:24.247704"]]
|
6878
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6879
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
6880
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6881
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6882
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6883
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.252076"], ["updated_at", "2018-05-25 09:06:24.252076"]]
|
6884
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6885
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6886
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", "2018-05-25 09:06:24.257609"], ["id", 1]]
|
6887
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6888
|
+
[1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
|
6889
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6890
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6891
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6892
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:06:24.261860"], ["updated_at", "2018-05-25 09:06:24.261860"]]
|
6893
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6894
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6895
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6896
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6897
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6898
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6899
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6900
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
6901
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sequence", 1], ["created_at", "2018-05-25 09:06:24.271802"], ["updated_at", "2018-05-25 09:06:24.271802"]]
|
6902
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6903
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
6904
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6905
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6906
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6907
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6908
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6909
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6910
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2018-05-25 09:07:35.971109"], ["updated_at", "2018-05-25 09:07:35.971109"], ["sort", 1]]
|
6911
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6912
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
6913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6915
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-05-25 09:07:35.976363"], ["updated_at", "2018-05-25 09:07:35.976363"]]
|
6916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6917
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
6918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6919
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6920
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:07:35.980837"], ["updated_at", "2018-05-25 09:07:35.980837"]]
|
6921
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6922
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6923
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2018-05-25 09:07:35.982663"], ["updated_at", "2018-05-25 09:07:35.982663"], ["sort", 1001]]
|
6925
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6926
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
6927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6929
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-05-25 09:07:35.989249"], ["updated_at", "2018-05-25 09:07:35.989249"]]
|
6930
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6931
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6932
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:35.991588"], ["updated_at", "2018-05-25 09:07:35.991588"]]
|
6933
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6934
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6935
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
6936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6937
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6938
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6939
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.000185"], ["updated_at", "2018-05-25 09:07:36.000185"], ["sort", 1]]
|
6940
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6941
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6942
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6944
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
6945
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6946
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6947
|
+
[1m[35m (0.2ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6948
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2018-05-25 09:07:36.013811"], ["updated_at", "2018-05-25 09:07:36.013811"], ["sort", 1]]
|
6949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6950
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6951
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-05-25 09:07:36.016267"], ["id", 1]]
|
6952
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6953
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
6954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6956
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
6957
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.021716"], ["updated_at", "2018-05-25 09:07:36.021716"], ["sequence", 1]]
|
6958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6959
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
6960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6962
|
+
[1m[36m (0.3ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6963
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.025124"], ["updated_at", "2018-05-25 09:07:36.025124"], ["sort", 1]]
|
6964
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6965
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
6966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6968
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6969
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.030199"], ["updated_at", "2018-05-25 09:07:36.030199"], ["sort", 1]]
|
6970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6972
|
+
[1m[36m (0.0ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6973
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.031560"], ["updated_at", "2018-05-25 09:07:36.031560"], ["sort", 2]]
|
6974
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6975
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6976
|
+
[1m[36m (0.0ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6977
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.032459"], ["updated_at", "2018-05-25 09:07:36.032459"], ["sort", 3]]
|
6978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6979
|
+
Processing by SortableController#reorder as HTML
|
6980
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
|
6981
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6982
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6983
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-05-25 09:07:36.036218"], ["id", 1]]
|
6984
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
6985
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-05-25 09:07:36.037887"], ["id", 3]]
|
6986
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6987
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6988
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.4ms)
|
6989
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
6990
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
|
6991
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 3]]
|
6992
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
6993
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6994
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6995
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
6996
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.049838"], ["updated_at", "2018-05-25 09:07:36.049838"], ["sort", 1]]
|
6997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6999
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
7000
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.052764"], ["updated_at", "2018-05-25 09:07:36.052764"], ["sort", 2]]
|
7001
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7002
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7003
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
7004
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.063016"], ["updated_at", "2018-05-25 09:07:36.063016"], ["sort", 1]]
|
7005
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7006
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7007
|
+
[1m[36m (0.0ms)[0m [1mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
7008
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-05-25 09:07:36.064292"], ["updated_at", "2018-05-25 09:07:36.064292"], ["sort", 2]]
|
7009
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7010
|
+
Processing by SortableController#reorder as HTML
|
7011
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
|
7012
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7013
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
7014
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-05-25 09:07:36.066352"], ["id", 2]]
|
7015
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
7016
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-05-25 09:07:36.067212"], ["id", 2]]
|
7017
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
7018
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-05-25 09:07:36.067939"], ["id", 1]]
|
7019
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
7020
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-05-25 09:07:36.068654"], ["id", 1]]
|
7021
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7022
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
|
7023
|
+
[1m[35mSecondItem Load (0.0ms)[0m SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
|
7024
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
7025
|
+
[1m[35mFirstItem Load (0.0ms)[0m SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
|
7026
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1[0m [["id", 1]]
|
7027
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
7028
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
7029
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7030
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7031
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7032
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:37.979982"], ["updated_at", "2018-05-25 09:07:37.979982"]]
|
7033
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7034
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
7035
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7036
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
7037
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7038
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7039
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 0], ["created_at", "2018-05-25 09:07:37.991423"], ["updated_at", "2018-05-25 09:07:37.991423"]]
|
7040
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7041
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7042
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:37.992854"], ["updated_at", "2018-05-25 09:07:37.992854"]]
|
7043
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7044
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
7045
|
+
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|
7046
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7047
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7048
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7049
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:38.002868"], ["updated_at", "2018-05-25 09:07:38.002868"]]
|
7050
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7051
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
7052
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7053
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7054
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7055
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:38.008907"], ["updated_at", "2018-05-25 09:07:38.008907"]]
|
7056
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7057
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7058
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
7059
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7060
|
+
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|
7061
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7062
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7063
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7064
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:38.017796"], ["updated_at", "2018-05-25 09:07:38.017796"]]
|
7065
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7066
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7067
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", "2018-05-25 09:07:38.020092"], ["id", 1]]
|
7068
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7069
|
+
[1m[35m (1.8ms)[0m [1m[31mrollback transaction[0m
|
7070
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7071
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7072
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
7073
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sequence", 1], ["created_at", "2018-05-25 09:07:38.030479"], ["updated_at", "2018-05-25 09:07:38.030479"]]
|
7074
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7075
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
7076
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7077
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7078
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:07:38.035289"], ["updated_at", "2018-05-25 09:07:38.035289"]]
|
7079
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7080
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7081
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7082
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1001], ["created_at", "2018-05-25 09:07:38.036466"], ["updated_at", "2018-05-25 09:07:38.036466"]]
|
7083
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7084
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
7085
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7086
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7087
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:07:38.039312"], ["updated_at", "2018-05-25 09:07:38.039312"]]
|
7088
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7089
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
7090
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7091
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7092
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7093
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:38.042849"], ["updated_at", "2018-05-25 09:07:38.042849"]]
|
7094
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7095
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7096
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7097
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:07:38.045424"], ["updated_at", "2018-05-25 09:07:38.045424"]]
|
7098
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7099
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7100
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7101
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 3], ["created_at", "2018-05-25 09:07:38.048590"], ["updated_at", "2018-05-25 09:07:38.048590"]]
|
7102
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7103
|
+
Processing by SortableController#reorder as HTML
|
7104
|
+
Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
|
7105
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7106
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7107
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:07:38.064437"], ["id", 1]]
|
7108
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
7109
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:07:38.066294"], ["id", 3]]
|
7110
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7111
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7112
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
|
7113
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7114
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7115
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
7116
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
7117
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7118
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7119
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
7120
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:38.076073"], ["updated_at", "2018-05-25 09:07:38.076073"]]
|
7121
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7122
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7123
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
7124
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:07:38.078679"], ["updated_at", "2018-05-25 09:07:38.078679"]]
|
7125
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7126
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7127
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
7128
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:38.084927"], ["updated_at", "2018-05-25 09:07:38.084927"]]
|
7129
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7130
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7131
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
7132
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:07:38.086223"], ["updated_at", "2018-05-25 09:07:38.086223"]]
|
7133
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7134
|
+
Processing by SortableController#reorder as HTML
|
7135
|
+
Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
|
7136
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7137
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7138
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:07:38.088843"], ["id", 2]]
|
7139
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7140
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:07:38.090463"], ["id", 2]]
|
7141
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7142
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:07:38.091473"], ["id", 1]]
|
7143
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7144
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:07:38.092617"], ["id", 1]]
|
7145
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7146
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.5ms)
|
7147
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7148
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7149
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7150
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7151
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
7152
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
7153
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7154
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7155
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7156
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.019935"], ["updated_at", "2018-05-25 09:07:40.019935"]]
|
7157
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7158
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
7159
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7160
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7161
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
7162
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sequence", 1], ["created_at", "2018-05-25 09:07:40.031792"], ["updated_at", "2018-05-25 09:07:40.031792"]]
|
7163
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7164
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
7165
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7166
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7167
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7168
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.035657"], ["updated_at", "2018-05-25 09:07:40.035657"]]
|
7169
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7170
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7171
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", "2018-05-25 09:07:40.038726"], ["id", 1]]
|
7172
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7173
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
7174
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7175
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7176
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7177
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.042239"], ["updated_at", "2018-05-25 09:07:40.042239"]]
|
7178
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7179
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7180
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
7181
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7182
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
7183
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7184
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7185
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 0], ["created_at", "2018-05-25 09:07:40.048043"], ["updated_at", "2018-05-25 09:07:40.048043"]]
|
7186
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7187
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7188
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.050141"], ["updated_at", "2018-05-25 09:07:40.050141"]]
|
7189
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7190
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
7191
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
7192
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7193
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7194
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:07:40.055980"], ["updated_at", "2018-05-25 09:07:40.055980"]]
|
7195
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7196
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7197
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7198
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1001], ["created_at", "2018-05-25 09:07:40.057263"], ["updated_at", "2018-05-25 09:07:40.057263"]]
|
7199
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7200
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
7201
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7202
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7203
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2018-05-25 09:07:40.060926"], ["updated_at", "2018-05-25 09:07:40.060926"]]
|
7204
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7205
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
7206
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7207
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
7208
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7209
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7210
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7211
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.072217"], ["updated_at", "2018-05-25 09:07:40.072217"]]
|
7212
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7213
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
7214
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7215
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7216
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7217
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.076681"], ["updated_at", "2018-05-25 09:07:40.076681"]]
|
7218
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7219
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7220
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7221
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:07:40.078454"], ["updated_at", "2018-05-25 09:07:40.078454"]]
|
7222
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7223
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7224
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
7225
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 3], ["created_at", "2018-05-25 09:07:40.080854"], ["updated_at", "2018-05-25 09:07:40.080854"]]
|
7226
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7227
|
+
Processing by SortableController#reorder as HTML
|
7228
|
+
Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
|
7229
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7230
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7231
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["id", 1]]
|
7232
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
7233
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["id", 3]]
|
7234
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7235
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7236
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
|
7237
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7238
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7239
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
7240
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
7241
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7242
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7243
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
7244
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.108860"], ["updated_at", "2018-05-25 09:07:40.108860"]]
|
7245
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7246
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7247
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("first_items"."sort") FROM "first_items"[0m
|
7248
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:07:40.111444"], ["updated_at", "2018-05-25 09:07:40.111444"]]
|
7249
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7250
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7251
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
7252
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", "2018-05-25 09:07:40.118695"], ["updated_at", "2018-05-25 09:07:40.118695"]]
|
7253
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7254
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7255
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("second_items"."sort") FROM "second_items"[0m
|
7256
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", "2018-05-25 09:07:40.120029"], ["updated_at", "2018-05-25 09:07:40.120029"]]
|
7257
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7258
|
+
Processing by SortableController#reorder as HTML
|
7259
|
+
Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
|
7260
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7261
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7262
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-05-25 09:07:40.122702"], ["id", 2]]
|
7263
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7264
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-05-25 09:07:40.124021"], ["id", 2]]
|
7265
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7266
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-05-25 09:07:40.125514"], ["id", 1]]
|
7267
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7268
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-05-25 09:07:40.126700"], ["id", 1]]
|
7269
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7270
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
|
7271
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7272
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
7273
|
+
[1m[36mFirstItem Load (0.0ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7274
|
+
[1m[36mSecondItem Load (0.0ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
7275
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|