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