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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdbbe937287dfd784fb3b6d4f8cf2c5dd8a513580cbdea594a37ede1f7f8d7a7
|
4
|
+
data.tar.gz: d0af01d6e990af8f9047820666a278a1c2f5eab3e5b2bd46bc0b2f1c74f2453a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db72da9f15ab2803f7237fb7ead45f05dcf1d093f95ce9ae7296151c4fb02f51948847dce0187628ca7e215c981e6435770132f4ce2e439145d33374707401e2
|
7
|
+
data.tar.gz: 892509aadbe29dc12d90a580ac1dc9896d8bd6bb81da9a17307b0809010d4391bf02949d82423305ac7205394ef1f4f913993d54e3ccfb4bbc00de0d63d1ab1f
|
@@ -1,15 +1,13 @@
|
|
1
1
|
class SortableController < ApplicationController
|
2
2
|
#
|
3
|
-
# post /sortable/reorder, rails_sortable: { klass:
|
3
|
+
# post /sortable/reorder, rails_sortable: [{ klass: "Item", id: "3" }, { klass: "Item", id: "2" }, { klass: "Item", id: "1" }]
|
4
4
|
#
|
5
5
|
def reorder
|
6
|
-
klass, ids = parse_params
|
7
|
-
attr = klass.sort_attribute
|
8
6
|
ActiveRecord::Base.transaction do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
model.update_sort!(new_sort) if
|
7
|
+
params['rails_sortable'].each_with_index do |klass_to_id, new_sort|
|
8
|
+
model = find_model(klass_to_id)
|
9
|
+
current_sort = model.read_attribute(model.class.sort_attribute)
|
10
|
+
model.update_sort!(new_sort) if current_sort != new_sort
|
13
11
|
end
|
14
12
|
end
|
15
13
|
|
@@ -18,10 +16,8 @@ class SortableController < ApplicationController
|
|
18
16
|
|
19
17
|
private
|
20
18
|
|
21
|
-
def
|
22
|
-
|
23
|
-
|
24
|
-
ids = rails_sortable_params[klass_name].map {|id| id.to_i }
|
25
|
-
[ klass_name.constantize, ids ]
|
19
|
+
def find_model(klass_to_id)
|
20
|
+
klass, id = klass_to_id.values_at('klass', 'id')
|
21
|
+
klass.constantize.find(id.to_i)
|
26
22
|
end
|
27
23
|
end
|
@@ -1,17 +1,22 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe SortableController, type: :controller do
|
4
|
-
describe
|
4
|
+
describe 'POST reorder' do
|
5
5
|
before do
|
6
6
|
@item1 = Item.create!
|
7
7
|
@item2 = Item.create!
|
8
8
|
@item3 = Item.create!
|
9
9
|
end
|
10
|
-
it
|
10
|
+
it 'should reorder models' do
|
11
|
+
data = [
|
12
|
+
{ klass: 'Item', id: @item1.to_param },
|
13
|
+
{ klass: 'Item', id: @item3.to_param },
|
14
|
+
{ klass: 'Item', id: @item2.to_param },
|
15
|
+
]
|
11
16
|
if Gem::Version.new(Rails.version) < Gem::Version.new(5)
|
12
|
-
post :reorder, rails_sortable:
|
17
|
+
post :reorder, rails_sortable: data
|
13
18
|
else
|
14
|
-
post :reorder, params: { rails_sortable:
|
19
|
+
post :reorder, params: { rails_sortable: data }
|
15
20
|
end
|
16
21
|
expect(response.body).to be_blank
|
17
22
|
expect(Item.find(@item1.id).sort).to eql 0
|
@@ -19,4 +24,31 @@ describe SortableController, type: :controller do
|
|
19
24
|
expect(Item.find(@item3.id).sort).to eql 1
|
20
25
|
end
|
21
26
|
end
|
27
|
+
|
28
|
+
describe 'POST reorder with multiple classes' do
|
29
|
+
before do
|
30
|
+
@first_item1 = FirstItem.create!
|
31
|
+
@first_item2 = FirstItem.create!
|
32
|
+
@second_item1 = SecondItem.create!
|
33
|
+
@second_item2 = SecondItem.create!
|
34
|
+
end
|
35
|
+
it 'should reorder models' do
|
36
|
+
data = [
|
37
|
+
{ klass: 'SecondItem', id: @second_item2.to_param },
|
38
|
+
{ klass: 'FirstItem', id: @first_item2.to_param },
|
39
|
+
{ klass: 'FirstItem', id: @first_item1.to_param },
|
40
|
+
{ klass: 'SecondItem', id: @second_item1.to_param },
|
41
|
+
]
|
42
|
+
if Gem::Version.new(Rails.version) < Gem::Version.new(5)
|
43
|
+
post :reorder, rails_sortable: data
|
44
|
+
else
|
45
|
+
post :reorder, params: { rails_sortable: data }
|
46
|
+
end
|
47
|
+
expect(response.body).to be_blank
|
48
|
+
expect(SecondItem.find(@second_item2.id).sort).to eql 0
|
49
|
+
expect(FirstItem.find(@first_item2.id).sort).to eql 1
|
50
|
+
expect(FirstItem.find(@first_item1.id).sort).to eql 2
|
51
|
+
expect(SecondItem.find(@second_item1.id).sort).to eql 3
|
52
|
+
end
|
53
|
+
end
|
22
54
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<h1>Listing multiple class items</h1>
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<th>Title</th>
|
7
|
+
<th>Sort</th>
|
8
|
+
<th>Updated at</th>
|
9
|
+
<th></th>
|
10
|
+
<th></th>
|
11
|
+
<th></th>
|
12
|
+
</tr>
|
13
|
+
</thead>
|
14
|
+
|
15
|
+
<tbody class="sortable-multiple-classes">
|
16
|
+
<% @items.each_with_sortable_id do |item, sortable_id| %>
|
17
|
+
<tr id="<%= sortable_id %>">
|
18
|
+
<td><%= item.title %></td>
|
19
|
+
<td><%= item.sort %></td>
|
20
|
+
<td><%= item.updated_at %></td>
|
21
|
+
</tr>
|
22
|
+
<% end %>
|
23
|
+
</tbody>
|
24
|
+
</table>
|
data/spec/dummy/config/routes.rb
CHANGED
Binary file
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class CreateMultipleClasses < Dummy::MigrationClass
|
2
|
+
def change
|
3
|
+
create_table :first_items do |t|
|
4
|
+
t.string :title
|
5
|
+
t.integer :sort
|
6
|
+
|
7
|
+
t.timestamps null: false
|
8
|
+
end
|
9
|
+
create_table :second_items do |t|
|
10
|
+
t.string :title
|
11
|
+
t.integer :sort
|
12
|
+
|
13
|
+
t.timestamps null: false
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -10,18 +10,32 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 20180427061457) do
|
14
|
+
|
15
|
+
create_table "first_items", force: :cascade do |t|
|
16
|
+
t.string "title"
|
17
|
+
t.integer "sort"
|
18
|
+
t.datetime "created_at", null: false
|
19
|
+
t.datetime "updated_at", null: false
|
20
|
+
end
|
14
21
|
|
15
22
|
create_table "items", force: :cascade do |t|
|
16
|
-
t.string
|
17
|
-
t.integer
|
23
|
+
t.string "title"
|
24
|
+
t.integer "sort"
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
end
|
28
|
+
|
29
|
+
create_table "second_items", force: :cascade do |t|
|
30
|
+
t.string "title"
|
31
|
+
t.integer "sort"
|
18
32
|
t.datetime "created_at", null: false
|
19
33
|
t.datetime "updated_at", null: false
|
20
34
|
end
|
21
35
|
|
22
36
|
create_table "sequenced_items", force: :cascade do |t|
|
23
|
-
t.string
|
24
|
-
t.integer
|
37
|
+
t.string "title"
|
38
|
+
t.integer "sequence"
|
25
39
|
t.datetime "created_at", null: false
|
26
40
|
t.datetime "updated_at", null: false
|
27
41
|
end
|
data/spec/dummy/db/seeds.rb
CHANGED
@@ -1,2 +1,10 @@
|
|
1
|
+
Item.delete_all
|
1
2
|
10.times {|i| Item.create! title: "Title#{i}", sort: i }
|
3
|
+
|
4
|
+
SequencedItem.delete_all
|
2
5
|
10.times {|i| SequencedItem.create! title: "OtherTitle#{i}", sequence: i }
|
6
|
+
|
7
|
+
FirstItem.delete_all
|
8
|
+
(0..4).each {|i| FirstItem.create! title: "FirstTitle#{i}", sort: i }
|
9
|
+
SecondItem.delete_all
|
10
|
+
(5..9).each {|i| SecondItem.create! title: "SecondTitle#{i}", sort: i }
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1743,3 +1743,2187 @@ Processing by ItemsController#index as HTML
|
|
1743
1743
|
Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 0.2ms)
|
1744
1744
|
|
1745
1745
|
|
1746
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1747
|
+
[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]]
|
1748
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1749
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1750
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1751
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1752
|
+
Migrating to CreateMultipleClasses (20180427061457)
|
1753
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1754
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1755
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "multiple_classes_1" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1756
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "multiple_classes_2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1757
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180427061457"]]
|
1758
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1759
|
+
[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]]
|
1760
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1761
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1762
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1763
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1764
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1765
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1766
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1767
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1768
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1769
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1770
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1771
|
+
[1m[35m (1.3ms)[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
|
1772
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1773
|
+
Migrating to CreateItems (20131223124841)
|
1774
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1775
|
+
[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
|
1776
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131223124841"]]
|
1777
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1778
|
+
Migrating to CreateSequencedItems (20170414031946)
|
1779
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1780
|
+
[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
|
1781
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170414031946"]]
|
1782
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1783
|
+
Migrating to CreateMultipleClasses (20180427061457)
|
1784
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1785
|
+
[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
|
1786
|
+
[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
|
1787
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180427061457"]]
|
1788
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1789
|
+
[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]]
|
1790
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1791
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-04-27 06:18:15.112539"], ["updated_at", "2018-04-27 06:18:15.112539"]]
|
1792
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1793
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1794
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1795
|
+
[1m[35mSQL (2.8ms)[0m [1m[31mDELETE FROM "items"[0m
|
1796
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1797
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title0"], ["sort", 0], ["created_at", "2018-04-27 06:19:13.219571"], ["updated_at", "2018-04-27 06:19:13.219571"]]
|
1798
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1799
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1800
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title1"], ["sort", 1], ["created_at", "2018-04-27 06:19:13.222029"], ["updated_at", "2018-04-27 06:19:13.222029"]]
|
1801
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1802
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1803
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title2"], ["sort", 2], ["created_at", "2018-04-27 06:19:13.223984"], ["updated_at", "2018-04-27 06:19:13.223984"]]
|
1804
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1805
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1806
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title3"], ["sort", 3], ["created_at", "2018-04-27 06:19:13.226762"], ["updated_at", "2018-04-27 06:19:13.226762"]]
|
1807
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1808
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1809
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title4"], ["sort", 4], ["created_at", "2018-04-27 06:19:13.228940"], ["updated_at", "2018-04-27 06:19:13.228940"]]
|
1810
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1811
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1812
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title5"], ["sort", 5], ["created_at", "2018-04-27 06:19:13.231383"], ["updated_at", "2018-04-27 06:19:13.231383"]]
|
1813
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1814
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1815
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title6"], ["sort", 6], ["created_at", "2018-04-27 06:19:13.233277"], ["updated_at", "2018-04-27 06:19:13.233277"]]
|
1816
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1817
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1818
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title7"], ["sort", 7], ["created_at", "2018-04-27 06:19:13.235348"], ["updated_at", "2018-04-27 06:19:13.235348"]]
|
1819
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1820
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1821
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title8"], ["sort", 8], ["created_at", "2018-04-27 06:19:13.238281"], ["updated_at", "2018-04-27 06:19:13.238281"]]
|
1822
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1823
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1824
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title9"], ["sort", 9], ["created_at", "2018-04-27 06:19:13.240595"], ["updated_at", "2018-04-27 06:19:13.240595"]]
|
1825
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1826
|
+
[1m[35mSQL (1.3ms)[0m [1m[31mDELETE FROM "sequenced_items"[0m
|
1827
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1828
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle0"], ["sequence", 0], ["created_at", "2018-04-27 06:19:13.252451"], ["updated_at", "2018-04-27 06:19:13.252451"]]
|
1829
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
1830
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1831
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle1"], ["sequence", 1], ["created_at", "2018-04-27 06:19:13.256087"], ["updated_at", "2018-04-27 06:19:13.256087"]]
|
1832
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1833
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1834
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle2"], ["sequence", 2], ["created_at", "2018-04-27 06:19:13.258575"], ["updated_at", "2018-04-27 06:19:13.258575"]]
|
1835
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1836
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1837
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle3"], ["sequence", 3], ["created_at", "2018-04-27 06:19:13.261468"], ["updated_at", "2018-04-27 06:19:13.261468"]]
|
1838
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1839
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1840
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle4"], ["sequence", 4], ["created_at", "2018-04-27 06:19:13.264149"], ["updated_at", "2018-04-27 06:19:13.264149"]]
|
1841
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1842
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1843
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle5"], ["sequence", 5], ["created_at", "2018-04-27 06:19:13.266589"], ["updated_at", "2018-04-27 06:19:13.266589"]]
|
1844
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1845
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1846
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle6"], ["sequence", 6], ["created_at", "2018-04-27 06:19:13.268708"], ["updated_at", "2018-04-27 06:19:13.268708"]]
|
1847
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1848
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1849
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle7"], ["sequence", 7], ["created_at", "2018-04-27 06:19:13.271365"], ["updated_at", "2018-04-27 06:19:13.271365"]]
|
1850
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1851
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1852
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle8"], ["sequence", 8], ["created_at", "2018-04-27 06:19:13.274135"], ["updated_at", "2018-04-27 06:19:13.274135"]]
|
1853
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1854
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1855
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle9"], ["sequence", 9], ["created_at", "2018-04-27 06:19:13.276933"], ["updated_at", "2018-04-27 06:19:13.276933"]]
|
1856
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1857
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1858
|
+
[1m[35mSQL (2.3ms)[0m [1m[31mDELETE FROM "items"[0m
|
1859
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1860
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title0"], ["sort", 0], ["created_at", "2018-04-27 06:22:12.535952"], ["updated_at", "2018-04-27 06:22:12.535952"]]
|
1861
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1862
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1863
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title1"], ["sort", 1], ["created_at", "2018-04-27 06:22:12.538524"], ["updated_at", "2018-04-27 06:22:12.538524"]]
|
1864
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1865
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1866
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title2"], ["sort", 2], ["created_at", "2018-04-27 06:22:12.540737"], ["updated_at", "2018-04-27 06:22:12.540737"]]
|
1867
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1868
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1869
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title3"], ["sort", 3], ["created_at", "2018-04-27 06:22:12.544234"], ["updated_at", "2018-04-27 06:22:12.544234"]]
|
1870
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
1871
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1872
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title4"], ["sort", 4], ["created_at", "2018-04-27 06:22:12.546963"], ["updated_at", "2018-04-27 06:22:12.546963"]]
|
1873
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1874
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1875
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title5"], ["sort", 5], ["created_at", "2018-04-27 06:22:12.549926"], ["updated_at", "2018-04-27 06:22:12.549926"]]
|
1876
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1877
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1878
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title6"], ["sort", 6], ["created_at", "2018-04-27 06:22:12.552734"], ["updated_at", "2018-04-27 06:22:12.552734"]]
|
1879
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1880
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1881
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title7"], ["sort", 7], ["created_at", "2018-04-27 06:22:12.554973"], ["updated_at", "2018-04-27 06:22:12.554973"]]
|
1882
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1883
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1884
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title8"], ["sort", 8], ["created_at", "2018-04-27 06:22:12.557735"], ["updated_at", "2018-04-27 06:22:12.557735"]]
|
1885
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1886
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1887
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title9"], ["sort", 9], ["created_at", "2018-04-27 06:22:12.559999"], ["updated_at", "2018-04-27 06:22:12.559999"]]
|
1888
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1889
|
+
[1m[35mSQL (1.6ms)[0m [1m[31mDELETE FROM "sequenced_items"[0m
|
1890
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1891
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle0"], ["sequence", 0], ["created_at", "2018-04-27 06:22:12.570379"], ["updated_at", "2018-04-27 06:22:12.570379"]]
|
1892
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1893
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1894
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle1"], ["sequence", 1], ["created_at", "2018-04-27 06:22:12.573034"], ["updated_at", "2018-04-27 06:22:12.573034"]]
|
1895
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
1896
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1897
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle2"], ["sequence", 2], ["created_at", "2018-04-27 06:22:12.576596"], ["updated_at", "2018-04-27 06:22:12.576596"]]
|
1898
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1899
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1900
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle3"], ["sequence", 3], ["created_at", "2018-04-27 06:22:12.579625"], ["updated_at", "2018-04-27 06:22:12.579625"]]
|
1901
|
+
[1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
|
1902
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1903
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle4"], ["sequence", 4], ["created_at", "2018-04-27 06:22:12.582248"], ["updated_at", "2018-04-27 06:22:12.582248"]]
|
1904
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1905
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1906
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle5"], ["sequence", 5], ["created_at", "2018-04-27 06:22:12.585159"], ["updated_at", "2018-04-27 06:22:12.585159"]]
|
1907
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1908
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1909
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle6"], ["sequence", 6], ["created_at", "2018-04-27 06:22:12.588241"], ["updated_at", "2018-04-27 06:22:12.588241"]]
|
1910
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1911
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1912
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle7"], ["sequence", 7], ["created_at", "2018-04-27 06:22:12.591087"], ["updated_at", "2018-04-27 06:22:12.591087"]]
|
1913
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1914
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1915
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle8"], ["sequence", 8], ["created_at", "2018-04-27 06:22:12.594035"], ["updated_at", "2018-04-27 06:22:12.594035"]]
|
1916
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1917
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
1918
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle9"], ["sequence", 9], ["created_at", "2018-04-27 06:22:12.596902"], ["updated_at", "2018-04-27 06:22:12.596902"]]
|
1919
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1920
|
+
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "first_items"[0m
|
1921
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1922
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle0"], ["sort", 0], ["created_at", "2018-04-27 06:22:12.607490"], ["updated_at", "2018-04-27 06:22:12.607490"]]
|
1923
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1924
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1925
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle1"], ["sort", 1], ["created_at", "2018-04-27 06:22:12.610132"], ["updated_at", "2018-04-27 06:22:12.610132"]]
|
1926
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1927
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1928
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle2"], ["sort", 2], ["created_at", "2018-04-27 06:22:12.612736"], ["updated_at", "2018-04-27 06:22:12.612736"]]
|
1929
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1930
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1931
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle3"], ["sort", 3], ["created_at", "2018-04-27 06:22:12.614729"], ["updated_at", "2018-04-27 06:22:12.614729"]]
|
1932
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1933
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1934
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle4"], ["sort", 4], ["created_at", "2018-04-27 06:22:12.617300"], ["updated_at", "2018-04-27 06:22:12.617300"]]
|
1935
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1936
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1937
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle5"], ["sort", 5], ["created_at", "2018-04-27 06:22:12.619513"], ["updated_at", "2018-04-27 06:22:12.619513"]]
|
1938
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1939
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
1940
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle6"], ["sort", 6], ["created_at", "2018-04-27 06:22:12.622082"], ["updated_at", "2018-04-27 06:22:12.622082"]]
|
1941
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1942
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1943
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle7"], ["sort", 7], ["created_at", "2018-04-27 06:22:12.624155"], ["updated_at", "2018-04-27 06:22:12.624155"]]
|
1944
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1945
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1946
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle8"], ["sort", 8], ["created_at", "2018-04-27 06:22:12.626808"], ["updated_at", "2018-04-27 06:22:12.626808"]]
|
1947
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1948
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1949
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle9"], ["sort", 9], ["created_at", "2018-04-27 06:22:12.629345"], ["updated_at", "2018-04-27 06:22:12.629345"]]
|
1950
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1951
|
+
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "second_items"[0m
|
1952
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1953
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle0"], ["sort", 0], ["created_at", "2018-04-27 06:22:12.640941"], ["updated_at", "2018-04-27 06:22:12.640941"]]
|
1954
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1955
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1956
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle1"], ["sort", 1], ["created_at", "2018-04-27 06:22:12.643146"], ["updated_at", "2018-04-27 06:22:12.643146"]]
|
1957
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1958
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1959
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle2"], ["sort", 2], ["created_at", "2018-04-27 06:22:12.644924"], ["updated_at", "2018-04-27 06:22:12.644924"]]
|
1960
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1961
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1962
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle3"], ["sort", 3], ["created_at", "2018-04-27 06:22:12.646757"], ["updated_at", "2018-04-27 06:22:12.646757"]]
|
1963
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1964
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1965
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle4"], ["sort", 4], ["created_at", "2018-04-27 06:22:12.648561"], ["updated_at", "2018-04-27 06:22:12.648561"]]
|
1966
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1967
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1968
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle5"], ["sort", 5], ["created_at", "2018-04-27 06:22:12.651042"], ["updated_at", "2018-04-27 06:22:12.651042"]]
|
1969
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1970
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1971
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle6"], ["sort", 6], ["created_at", "2018-04-27 06:22:12.653379"], ["updated_at", "2018-04-27 06:22:12.653379"]]
|
1972
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1973
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1974
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle7"], ["sort", 7], ["created_at", "2018-04-27 06:22:12.655281"], ["updated_at", "2018-04-27 06:22:12.655281"]]
|
1975
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1976
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1977
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle8"], ["sort", 8], ["created_at", "2018-04-27 06:22:12.657547"], ["updated_at", "2018-04-27 06:22:12.657547"]]
|
1978
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1979
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1980
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle9"], ["sort", 9], ["created_at", "2018-04-27 06:22:12.659784"], ["updated_at", "2018-04-27 06:22:12.659784"]]
|
1981
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1982
|
+
Started GET "/multiple_classes" for ::1 at 2018-04-27 15:28:04 +0900
|
1983
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1984
|
+
Processing by MultipleClassesController#index as HTML
|
1985
|
+
[1m[36mFirstItem Load (0.3ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
1986
|
+
[1m[36mSecondItem Load (0.3ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
1987
|
+
Completed 406 Not Acceptable in 106ms (ActiveRecord: 1.6ms)
|
1988
|
+
|
1989
|
+
|
1990
|
+
|
1991
|
+
ActionController::UnknownFormat (MultipleClassesController#index is missing a template for this request format and variant.
|
1992
|
+
|
1993
|
+
request.formats: ["text/html"]
|
1994
|
+
request.variant: []
|
1995
|
+
|
1996
|
+
NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.):
|
1997
|
+
|
1998
|
+
actionpack (5.1.4) lib/action_controller/metal/implicit_render.rb:53:in `default_render'
|
1999
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
|
2000
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
|
2001
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
2002
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
2003
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
2004
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2005
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
2006
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2007
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
2008
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
2009
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
2010
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
2011
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
2012
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2013
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
2014
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
2015
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
2016
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
2017
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
2018
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
2019
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
2020
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
2021
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
2022
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
2023
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
2024
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
2025
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
2026
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
2027
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
2028
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
2029
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
2030
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
2031
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
2032
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
2033
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
2034
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
2035
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
2036
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
2037
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
2038
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
2039
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
2040
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
2041
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
2042
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
2043
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
2044
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
2045
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
2046
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
2047
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
2048
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
2049
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
2050
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
2051
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
2052
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
2053
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
2054
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
2055
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
2056
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
2057
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:28:08 +0900
|
2058
|
+
Processing by MultipleClassesController#index as HTML
|
2059
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2060
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2061
|
+
Completed 406 Not Acceptable in 69ms (ActiveRecord: 0.3ms)
|
2062
|
+
|
2063
|
+
|
2064
|
+
|
2065
|
+
ActionController::UnknownFormat (MultipleClassesController#index is missing a template for this request format and variant.
|
2066
|
+
|
2067
|
+
request.formats: ["text/html"]
|
2068
|
+
request.variant: []
|
2069
|
+
|
2070
|
+
NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.):
|
2071
|
+
|
2072
|
+
actionpack (5.1.4) lib/action_controller/metal/implicit_render.rb:53:in `default_render'
|
2073
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
|
2074
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
|
2075
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
2076
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
2077
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
2078
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2079
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
2080
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2081
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
2082
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
2083
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
2084
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
2085
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
2086
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2087
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
2088
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
2089
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
2090
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
2091
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
2092
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
2093
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
2094
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
2095
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
2096
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
2097
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
2098
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
2099
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
2100
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
2101
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
2102
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
2103
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
2104
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
2105
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
2106
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
2107
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
2108
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
2109
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
2110
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
2111
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
2112
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
2113
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
2114
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
2115
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
2116
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
2117
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
2118
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
2119
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
2120
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
2121
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
2122
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
2123
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
2124
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
2125
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
2126
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
2127
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
2128
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
2129
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
2130
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
2131
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:29:01 +0900
|
2132
|
+
Processing by MultipleClassesController#index as HTML
|
2133
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2134
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2135
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2136
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.3ms)
|
2137
|
+
Completed 200 OK in 314ms (Views: 310.6ms | ActiveRecord: 0.3ms)
|
2138
|
+
|
2139
|
+
|
2140
|
+
Started GET "/assets/plugin.self-26804471e7a071d1f55e3694e2e7a7b165e45b06775caf899bd8bef3acfc78f1.js?body=1" for ::1 at 2018-04-27 15:29:01 +0900
|
2141
|
+
Started GET "/assets/multiple_classes.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2018-04-27 15:29:01 +0900
|
2142
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:30:01 +0900
|
2143
|
+
Processing by MultipleClassesController#index as HTML
|
2144
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2145
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2146
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2147
|
+
Rendered multiple_classes/index.html.erb within layouts/application (14.8ms)
|
2148
|
+
Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.4ms)
|
2149
|
+
|
2150
|
+
|
2151
|
+
|
2152
|
+
ActionView::Template::Error (undefined method `first_item_path' for #<#<Class:0x00007f9451609a18>:0x00007f9450df15d8>):
|
2153
|
+
18: <td><%= item.title %></td>
|
2154
|
+
19: <td><%= item.sort %></td>
|
2155
|
+
20: <td><%= item.updated_at %></td>
|
2156
|
+
21: <td><%= link_to 'Show', item %></td>
|
2157
|
+
22: </tr>
|
2158
|
+
23: <% end %>
|
2159
|
+
24: </tbody>
|
2160
|
+
|
2161
|
+
app/views/multiple_classes/index.html.erb:21:in `block in _app_views_multiple_classes_index_html_erb__3266176590004586842_70137494343540'
|
2162
|
+
app/views/multiple_classes/index.html.erb:16:in `_app_views_multiple_classes_index_html_erb__3266176590004586842_70137494343540'
|
2163
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:30:11 +0900
|
2164
|
+
Processing by MultipleClassesController#index as HTML
|
2165
|
+
[1m[36mFirstItem Load (0.6ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2166
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2167
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2168
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.6ms)
|
2169
|
+
Completed 200 OK in 34ms (Views: 29.7ms | ActiveRecord: 0.8ms)
|
2170
|
+
|
2171
|
+
|
2172
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2173
|
+
[1m[35mSQL (2.3ms)[0m [1m[31mDELETE FROM "items"[0m
|
2174
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2175
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title0"], ["sort", 0], ["created_at", "2018-04-27 06:32:11.791776"], ["updated_at", "2018-04-27 06:32:11.791776"]]
|
2176
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2177
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2178
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title1"], ["sort", 1], ["created_at", "2018-04-27 06:32:11.794549"], ["updated_at", "2018-04-27 06:32:11.794549"]]
|
2179
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2180
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2181
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title2"], ["sort", 2], ["created_at", "2018-04-27 06:32:11.796582"], ["updated_at", "2018-04-27 06:32:11.796582"]]
|
2182
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2183
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2184
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title3"], ["sort", 3], ["created_at", "2018-04-27 06:32:11.799173"], ["updated_at", "2018-04-27 06:32:11.799173"]]
|
2185
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2186
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2187
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title4"], ["sort", 4], ["created_at", "2018-04-27 06:32:11.801099"], ["updated_at", "2018-04-27 06:32:11.801099"]]
|
2188
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2189
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2190
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title5"], ["sort", 5], ["created_at", "2018-04-27 06:32:11.803260"], ["updated_at", "2018-04-27 06:32:11.803260"]]
|
2191
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2192
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2193
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title6"], ["sort", 6], ["created_at", "2018-04-27 06:32:11.806102"], ["updated_at", "2018-04-27 06:32:11.806102"]]
|
2194
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2195
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2196
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title7"], ["sort", 7], ["created_at", "2018-04-27 06:32:11.809080"], ["updated_at", "2018-04-27 06:32:11.809080"]]
|
2197
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2198
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2199
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title8"], ["sort", 8], ["created_at", "2018-04-27 06:32:11.811487"], ["updated_at", "2018-04-27 06:32:11.811487"]]
|
2200
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2201
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2202
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title9"], ["sort", 9], ["created_at", "2018-04-27 06:32:11.813612"], ["updated_at", "2018-04-27 06:32:11.813612"]]
|
2203
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2204
|
+
[1m[35mSQL (1.2ms)[0m [1m[31mDELETE FROM "sequenced_items"[0m
|
2205
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2206
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle0"], ["sequence", 0], ["created_at", "2018-04-27 06:32:11.825475"], ["updated_at", "2018-04-27 06:32:11.825475"]]
|
2207
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
2208
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2209
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle1"], ["sequence", 1], ["created_at", "2018-04-27 06:32:11.828784"], ["updated_at", "2018-04-27 06:32:11.828784"]]
|
2210
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2211
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2212
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle2"], ["sequence", 2], ["created_at", "2018-04-27 06:32:11.831955"], ["updated_at", "2018-04-27 06:32:11.831955"]]
|
2213
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2214
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2215
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle3"], ["sequence", 3], ["created_at", "2018-04-27 06:32:11.835021"], ["updated_at", "2018-04-27 06:32:11.835021"]]
|
2216
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
2217
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2218
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle4"], ["sequence", 4], ["created_at", "2018-04-27 06:32:11.839273"], ["updated_at", "2018-04-27 06:32:11.839273"]]
|
2219
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2220
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2221
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle5"], ["sequence", 5], ["created_at", "2018-04-27 06:32:11.842017"], ["updated_at", "2018-04-27 06:32:11.842017"]]
|
2222
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2223
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2224
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle6"], ["sequence", 6], ["created_at", "2018-04-27 06:32:11.844963"], ["updated_at", "2018-04-27 06:32:11.844963"]]
|
2225
|
+
[1m[35m (1.7ms)[0m [1m[36mcommit transaction[0m
|
2226
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2227
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle7"], ["sequence", 7], ["created_at", "2018-04-27 06:32:11.847935"], ["updated_at", "2018-04-27 06:32:11.847935"]]
|
2228
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2229
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2230
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle8"], ["sequence", 8], ["created_at", "2018-04-27 06:32:11.850521"], ["updated_at", "2018-04-27 06:32:11.850521"]]
|
2231
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2232
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2233
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle9"], ["sequence", 9], ["created_at", "2018-04-27 06:32:11.853182"], ["updated_at", "2018-04-27 06:32:11.853182"]]
|
2234
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2235
|
+
[1m[35mSQL (1.0ms)[0m [1m[31mDELETE FROM "first_items"[0m
|
2236
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2237
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle0"], ["sort", 0], ["created_at", "2018-04-27 06:32:11.865084"], ["updated_at", "2018-04-27 06:32:11.865084"]]
|
2238
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2239
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2240
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle1"], ["sort", 1], ["created_at", "2018-04-27 06:32:11.868023"], ["updated_at", "2018-04-27 06:32:11.868023"]]
|
2241
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2242
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2243
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle2"], ["sort", 2], ["created_at", "2018-04-27 06:32:11.870979"], ["updated_at", "2018-04-27 06:32:11.870979"]]
|
2244
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2245
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2246
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle3"], ["sort", 3], ["created_at", "2018-04-27 06:32:11.873911"], ["updated_at", "2018-04-27 06:32:11.873911"]]
|
2247
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
2248
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2249
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle4"], ["sort", 4], ["created_at", "2018-04-27 06:32:11.877421"], ["updated_at", "2018-04-27 06:32:11.877421"]]
|
2250
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2251
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2252
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle5"], ["sort", 5], ["created_at", "2018-04-27 06:32:11.879790"], ["updated_at", "2018-04-27 06:32:11.879790"]]
|
2253
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2254
|
+
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "second_items"[0m
|
2255
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2256
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle6"], ["sort", 6], ["created_at", "2018-04-27 06:32:11.889987"], ["updated_at", "2018-04-27 06:32:11.889987"]]
|
2257
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2258
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2259
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle7"], ["sort", 7], ["created_at", "2018-04-27 06:32:11.892455"], ["updated_at", "2018-04-27 06:32:11.892455"]]
|
2260
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2261
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2262
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle8"], ["sort", 8], ["created_at", "2018-04-27 06:32:11.894831"], ["updated_at", "2018-04-27 06:32:11.894831"]]
|
2263
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2264
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2265
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle9"], ["sort", 9], ["created_at", "2018-04-27 06:32:11.897079"], ["updated_at", "2018-04-27 06:32:11.897079"]]
|
2266
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2267
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2268
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle10"], ["sort", 10], ["created_at", "2018-04-27 06:32:11.899581"], ["updated_at", "2018-04-27 06:32:11.899581"]]
|
2269
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2270
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:32:14 +0900
|
2271
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2272
|
+
Processing by MultipleClassesController#index as HTML
|
2273
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2274
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2275
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2276
|
+
Rendered multiple_classes/index.html.erb within layouts/application (2.3ms)
|
2277
|
+
Completed 200 OK in 194ms (Views: 179.1ms | ActiveRecord: 1.2ms)
|
2278
|
+
|
2279
|
+
|
2280
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:33:11 +0900
|
2281
|
+
Processing by MultipleClassesController#index as HTML
|
2282
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2283
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2284
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2285
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2286
|
+
Completed 200 OK in 84ms (Views: 79.2ms | ActiveRecord: 0.6ms)
|
2287
|
+
|
2288
|
+
|
2289
|
+
Started GET "/assets/multiple_classes.self-589f5f3c5637de945ef82f1dc58461907741a1ea7aa879f76a15e0d93419db60.js?body=1" for ::1 at 2018-04-27 15:33:12 +0900
|
2290
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:33:15 +0900
|
2291
|
+
Processing by MultipleClassesController#index as HTML
|
2292
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2293
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2294
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2295
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
2296
|
+
Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.2ms)
|
2297
|
+
|
2298
|
+
|
2299
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:33:34 +0900
|
2300
|
+
Processing by MultipleClassesController#index as HTML
|
2301
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2302
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2303
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2304
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2305
|
+
Completed 200 OK in 27ms (Views: 22.1ms | ActiveRecord: 0.3ms)
|
2306
|
+
|
2307
|
+
|
2308
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:33:41 +0900
|
2309
|
+
Processing by SortableController#reorder as */*
|
2310
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["11", "12", "13", "14", "15", "16"], "SecondItem"=>["11", "15", "12", "13", "14"]}}
|
2311
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2312
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (11, 12, 13, 14, 15, 16) ORDER BY "first_items"."sort" ASC[0m
|
2313
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2314
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
|
2315
|
+
|
2316
|
+
|
2317
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:33:43 +0900
|
2318
|
+
Processing by MultipleClassesController#index as HTML
|
2319
|
+
[1m[36mFirstItem Load (0.3ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2320
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2321
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2322
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2323
|
+
Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.4ms)
|
2324
|
+
|
2325
|
+
|
2326
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:33:46 +0900
|
2327
|
+
Processing by SortableController#reorder as */*
|
2328
|
+
Parameters: {"rails_sortable"=>{"SecondItem"=>["15", "11", "12", "13", "14"], "FirstItem"=>["11", "12", "13", "14", "15", "16"]}}
|
2329
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2330
|
+
[1m[36mSecondItem Load (0.3ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" IN (15, 11, 12, 13, 14) ORDER BY "second_items"."sort" ASC[0m
|
2331
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 06:33:46.789813"], ["id", 15]]
|
2332
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-04-27 06:33:46.791852"], ["id", 11]]
|
2333
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-04-27 06:33:46.794377"], ["id", 12]]
|
2334
|
+
[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 06:33:46.795195"], ["id", 13]]
|
2335
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 06:33:46.795798"], ["id", 14]]
|
2336
|
+
[1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
|
2337
|
+
Completed 200 OK in 11ms (ActiveRecord: 3.1ms)
|
2338
|
+
|
2339
|
+
|
2340
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:33:48 +0900
|
2341
|
+
Processing by MultipleClassesController#index as HTML
|
2342
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2343
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2344
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2345
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2346
|
+
Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.3ms)
|
2347
|
+
|
2348
|
+
|
2349
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:33:57 +0900
|
2350
|
+
Processing by SortableController#reorder as */*
|
2351
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["11", "12", "13", "14", "15", "16"], "SecondItem"=>["11", "12", "13", "14", "15"]}}
|
2352
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2353
|
+
[1m[36mFirstItem Load (0.3ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (11, 12, 13, 14, 15, 16) ORDER BY "first_items"."sort" ASC[0m
|
2354
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2355
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
|
2356
|
+
|
2357
|
+
|
2358
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:33:59 +0900
|
2359
|
+
Processing by MultipleClassesController#index as HTML
|
2360
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2361
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2362
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2363
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2364
|
+
Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.4ms)
|
2365
|
+
|
2366
|
+
|
2367
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2368
|
+
[1m[35mSQL (2.1ms)[0m [1m[31mDELETE FROM "items"[0m
|
2369
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2370
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title0"], ["sort", 0], ["created_at", "2018-04-27 06:34:40.922388"], ["updated_at", "2018-04-27 06:34:40.922388"]]
|
2371
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2372
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2373
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title1"], ["sort", 1], ["created_at", "2018-04-27 06:34:40.925674"], ["updated_at", "2018-04-27 06:34:40.925674"]]
|
2374
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2375
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2376
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title2"], ["sort", 2], ["created_at", "2018-04-27 06:34:40.927937"], ["updated_at", "2018-04-27 06:34:40.927937"]]
|
2377
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
2378
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2379
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title3"], ["sort", 3], ["created_at", "2018-04-27 06:34:40.931230"], ["updated_at", "2018-04-27 06:34:40.931230"]]
|
2380
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2382
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title4"], ["sort", 4], ["created_at", "2018-04-27 06:34:40.934178"], ["updated_at", "2018-04-27 06:34:40.934178"]]
|
2383
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2384
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2385
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title5"], ["sort", 5], ["created_at", "2018-04-27 06:34:40.937036"], ["updated_at", "2018-04-27 06:34:40.937036"]]
|
2386
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2387
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2388
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title6"], ["sort", 6], ["created_at", "2018-04-27 06:34:40.939573"], ["updated_at", "2018-04-27 06:34:40.939573"]]
|
2389
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2390
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2391
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title7"], ["sort", 7], ["created_at", "2018-04-27 06:34:40.941698"], ["updated_at", "2018-04-27 06:34:40.941698"]]
|
2392
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2393
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2394
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title8"], ["sort", 8], ["created_at", "2018-04-27 06:34:40.943456"], ["updated_at", "2018-04-27 06:34:40.943456"]]
|
2395
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2396
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2397
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title9"], ["sort", 9], ["created_at", "2018-04-27 06:34:40.945558"], ["updated_at", "2018-04-27 06:34:40.945558"]]
|
2398
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2399
|
+
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "sequenced_items"[0m
|
2400
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2401
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle0"], ["sequence", 0], ["created_at", "2018-04-27 06:34:40.955904"], ["updated_at", "2018-04-27 06:34:40.955904"]]
|
2402
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2403
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2404
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle1"], ["sequence", 1], ["created_at", "2018-04-27 06:34:40.958562"], ["updated_at", "2018-04-27 06:34:40.958562"]]
|
2405
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2406
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2407
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle2"], ["sequence", 2], ["created_at", "2018-04-27 06:34:40.961064"], ["updated_at", "2018-04-27 06:34:40.961064"]]
|
2408
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2409
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2410
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle3"], ["sequence", 3], ["created_at", "2018-04-27 06:34:40.963778"], ["updated_at", "2018-04-27 06:34:40.963778"]]
|
2411
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2412
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
2413
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle4"], ["sequence", 4], ["created_at", "2018-04-27 06:34:40.966390"], ["updated_at", "2018-04-27 06:34:40.966390"]]
|
2414
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2415
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2416
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle5"], ["sequence", 5], ["created_at", "2018-04-27 06:34:40.968680"], ["updated_at", "2018-04-27 06:34:40.968680"]]
|
2417
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2418
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2419
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle6"], ["sequence", 6], ["created_at", "2018-04-27 06:34:40.970821"], ["updated_at", "2018-04-27 06:34:40.970821"]]
|
2420
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2421
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2422
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle7"], ["sequence", 7], ["created_at", "2018-04-27 06:34:40.973540"], ["updated_at", "2018-04-27 06:34:40.973540"]]
|
2423
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2424
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2425
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle8"], ["sequence", 8], ["created_at", "2018-04-27 06:34:40.976401"], ["updated_at", "2018-04-27 06:34:40.976401"]]
|
2426
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2427
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2428
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle9"], ["sequence", 9], ["created_at", "2018-04-27 06:34:40.978639"], ["updated_at", "2018-04-27 06:34:40.978639"]]
|
2429
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2430
|
+
[1m[35mSQL (1.4ms)[0m [1m[31mDELETE FROM "first_items"[0m
|
2431
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2432
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle0"], ["sort", 0], ["created_at", "2018-04-27 06:34:40.991020"], ["updated_at", "2018-04-27 06:34:40.991020"]]
|
2433
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2434
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2435
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle1"], ["sort", 1], ["created_at", "2018-04-27 06:34:40.993485"], ["updated_at", "2018-04-27 06:34:40.993485"]]
|
2436
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2437
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2438
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle2"], ["sort", 2], ["created_at", "2018-04-27 06:34:40.996158"], ["updated_at", "2018-04-27 06:34:40.996158"]]
|
2439
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2440
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2441
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle3"], ["sort", 3], ["created_at", "2018-04-27 06:34:40.998883"], ["updated_at", "2018-04-27 06:34:40.998883"]]
|
2442
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2443
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
2444
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle4"], ["sort", 4], ["created_at", "2018-04-27 06:34:41.001998"], ["updated_at", "2018-04-27 06:34:41.001998"]]
|
2445
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2446
|
+
[1m[35mSQL (0.9ms)[0m [1m[31mDELETE FROM "second_items"[0m
|
2447
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2448
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle5"], ["sort", 5], ["created_at", "2018-04-27 06:34:41.013308"], ["updated_at", "2018-04-27 06:34:41.013308"]]
|
2449
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2450
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2451
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle6"], ["sort", 6], ["created_at", "2018-04-27 06:34:41.015789"], ["updated_at", "2018-04-27 06:34:41.015789"]]
|
2452
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2453
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2454
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle7"], ["sort", 7], ["created_at", "2018-04-27 06:34:41.017942"], ["updated_at", "2018-04-27 06:34:41.017942"]]
|
2455
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2456
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2457
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle8"], ["sort", 8], ["created_at", "2018-04-27 06:34:41.021031"], ["updated_at", "2018-04-27 06:34:41.021031"]]
|
2458
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2459
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2460
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle9"], ["sort", 9], ["created_at", "2018-04-27 06:34:41.023243"], ["updated_at", "2018-04-27 06:34:41.023243"]]
|
2461
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2462
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:34:41 +0900
|
2463
|
+
Processing by MultipleClassesController#index as HTML
|
2464
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2465
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2466
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2467
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.9ms)
|
2468
|
+
Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 0.3ms)
|
2469
|
+
|
2470
|
+
|
2471
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:34:52 +0900
|
2472
|
+
Processing by SortableController#reorder as */*
|
2473
|
+
Parameters: {"rails_sortable"=>{"SecondItem"=>["20", "16", "17", "18", "19"], "FirstItem"=>["17", "18", "19", "20", "21"]}}
|
2474
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2475
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" IN (20, 16, 17, 18, 19) ORDER BY "second_items"."sort" ASC[0m
|
2476
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 06:34:52.759148"], ["id", 20]]
|
2477
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-04-27 06:34:52.760575"], ["id", 16]]
|
2478
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-04-27 06:34:52.761933"], ["id", 17]]
|
2479
|
+
[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 06:34:52.762743"], ["id", 18]]
|
2480
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 06:34:52.763407"], ["id", 19]]
|
2481
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
2482
|
+
Completed 200 OK in 10ms (ActiveRecord: 3.3ms)
|
2483
|
+
|
2484
|
+
|
2485
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:35:08 +0900
|
2486
|
+
Processing by MultipleClassesController#index as HTML
|
2487
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2488
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2489
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2490
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.9ms)
|
2491
|
+
Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms)
|
2492
|
+
|
2493
|
+
|
2494
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2495
|
+
[1m[35mSQL (2.3ms)[0m [1m[31mDELETE FROM "items"[0m
|
2496
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2497
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title0"], ["sort", 0], ["created_at", "2018-04-27 06:35:24.899943"], ["updated_at", "2018-04-27 06:35:24.899943"]]
|
2498
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2499
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2500
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title1"], ["sort", 1], ["created_at", "2018-04-27 06:35:24.902297"], ["updated_at", "2018-04-27 06:35:24.902297"]]
|
2501
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2502
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2503
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title2"], ["sort", 2], ["created_at", "2018-04-27 06:35:24.904653"], ["updated_at", "2018-04-27 06:35:24.904653"]]
|
2504
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2505
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2506
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title3"], ["sort", 3], ["created_at", "2018-04-27 06:35:24.906455"], ["updated_at", "2018-04-27 06:35:24.906455"]]
|
2507
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2508
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2509
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title4"], ["sort", 4], ["created_at", "2018-04-27 06:35:24.908792"], ["updated_at", "2018-04-27 06:35:24.908792"]]
|
2510
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2511
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2512
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title5"], ["sort", 5], ["created_at", "2018-04-27 06:35:24.911206"], ["updated_at", "2018-04-27 06:35:24.911206"]]
|
2513
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2514
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2515
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title6"], ["sort", 6], ["created_at", "2018-04-27 06:35:24.914111"], ["updated_at", "2018-04-27 06:35:24.914111"]]
|
2516
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2517
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2518
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title7"], ["sort", 7], ["created_at", "2018-04-27 06:35:24.916183"], ["updated_at", "2018-04-27 06:35:24.916183"]]
|
2519
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2520
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2521
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title8"], ["sort", 8], ["created_at", "2018-04-27 06:35:24.918450"], ["updated_at", "2018-04-27 06:35:24.918450"]]
|
2522
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2523
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2524
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Title9"], ["sort", 9], ["created_at", "2018-04-27 06:35:24.920917"], ["updated_at", "2018-04-27 06:35:24.920917"]]
|
2525
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2526
|
+
[1m[35mSQL (1.0ms)[0m [1m[31mDELETE FROM "sequenced_items"[0m
|
2527
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2528
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle0"], ["sequence", 0], ["created_at", "2018-04-27 06:35:24.930102"], ["updated_at", "2018-04-27 06:35:24.930102"]]
|
2529
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2530
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2531
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle1"], ["sequence", 1], ["created_at", "2018-04-27 06:35:24.932868"], ["updated_at", "2018-04-27 06:35:24.932868"]]
|
2532
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2533
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2534
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle2"], ["sequence", 2], ["created_at", "2018-04-27 06:35:24.935592"], ["updated_at", "2018-04-27 06:35:24.935592"]]
|
2535
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2536
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2537
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle3"], ["sequence", 3], ["created_at", "2018-04-27 06:35:24.938037"], ["updated_at", "2018-04-27 06:35:24.938037"]]
|
2538
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2539
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2540
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle4"], ["sequence", 4], ["created_at", "2018-04-27 06:35:24.940146"], ["updated_at", "2018-04-27 06:35:24.940146"]]
|
2541
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2542
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2543
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle5"], ["sequence", 5], ["created_at", "2018-04-27 06:35:24.942597"], ["updated_at", "2018-04-27 06:35:24.942597"]]
|
2544
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2545
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2546
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle6"], ["sequence", 6], ["created_at", "2018-04-27 06:35:24.945438"], ["updated_at", "2018-04-27 06:35:24.945438"]]
|
2547
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2548
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2549
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle7"], ["sequence", 7], ["created_at", "2018-04-27 06:35:24.948321"], ["updated_at", "2018-04-27 06:35:24.948321"]]
|
2550
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2551
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
2552
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle8"], ["sequence", 8], ["created_at", "2018-04-27 06:35:24.951235"], ["updated_at", "2018-04-27 06:35:24.951235"]]
|
2553
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2554
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2555
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("title", "sequence", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "OtherTitle9"], ["sequence", 9], ["created_at", "2018-04-27 06:35:24.953896"], ["updated_at", "2018-04-27 06:35:24.953896"]]
|
2556
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2557
|
+
[1m[35mSQL (1.3ms)[0m [1m[31mDELETE FROM "first_items"[0m
|
2558
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2559
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle0"], ["sort", 0], ["created_at", "2018-04-27 06:35:24.965491"], ["updated_at", "2018-04-27 06:35:24.965491"]]
|
2560
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2561
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2562
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle1"], ["sort", 1], ["created_at", "2018-04-27 06:35:24.967985"], ["updated_at", "2018-04-27 06:35:24.967985"]]
|
2563
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2564
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
2565
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle2"], ["sort", 2], ["created_at", "2018-04-27 06:35:24.971663"], ["updated_at", "2018-04-27 06:35:24.971663"]]
|
2566
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2567
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2568
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle3"], ["sort", 3], ["created_at", "2018-04-27 06:35:24.974507"], ["updated_at", "2018-04-27 06:35:24.974507"]]
|
2569
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2570
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2571
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "first_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "FirstTitle4"], ["sort", 4], ["created_at", "2018-04-27 06:35:24.977291"], ["updated_at", "2018-04-27 06:35:24.977291"]]
|
2572
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2573
|
+
[1m[35mSQL (1.0ms)[0m [1m[31mDELETE FROM "second_items"[0m
|
2574
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2575
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle5"], ["sort", 5], ["created_at", "2018-04-27 06:35:24.990332"], ["updated_at", "2018-04-27 06:35:24.990332"]]
|
2576
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2577
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2578
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle6"], ["sort", 6], ["created_at", "2018-04-27 06:35:24.992743"], ["updated_at", "2018-04-27 06:35:24.992743"]]
|
2579
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2580
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2581
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle7"], ["sort", 7], ["created_at", "2018-04-27 06:35:24.994742"], ["updated_at", "2018-04-27 06:35:24.994742"]]
|
2582
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2583
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2584
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle8"], ["sort", 8], ["created_at", "2018-04-27 06:35:24.997287"], ["updated_at", "2018-04-27 06:35:24.997287"]]
|
2585
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2586
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2587
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "second_items" ("title", "sort", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "SecondTitle9"], ["sort", 9], ["created_at", "2018-04-27 06:35:25.000088"], ["updated_at", "2018-04-27 06:35:25.000088"]]
|
2588
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2589
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:35:25 +0900
|
2590
|
+
Processing by MultipleClassesController#index as HTML
|
2591
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2592
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2593
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2594
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2595
|
+
Completed 200 OK in 28ms (Views: 25.3ms | ActiveRecord: 0.3ms)
|
2596
|
+
|
2597
|
+
|
2598
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:36:03 +0900
|
2599
|
+
Processing by MultipleClassesController#index as HTML
|
2600
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2601
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2602
|
+
Completed 500 Internal Server Error in 17ms (ActiveRecord: 1.7ms)
|
2603
|
+
|
2604
|
+
|
2605
|
+
|
2606
|
+
ArgumentError (wrong number of arguments (given 1, expected 0)):
|
2607
|
+
|
2608
|
+
app/controllers/multiple_classes_controller.rb:4:in `sort'
|
2609
|
+
app/controllers/multiple_classes_controller.rb:4:in `index'
|
2610
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:36:15 +0900
|
2611
|
+
Processing by MultipleClassesController#index as HTML
|
2612
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2613
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2614
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2615
|
+
Rendered multiple_classes/index.html.erb within layouts/application (3.0ms)
|
2616
|
+
Completed 500 Internal Server Error in 23ms (ActiveRecord: 1.2ms)
|
2617
|
+
|
2618
|
+
|
2619
|
+
|
2620
|
+
ActionView::Template::Error (undefined method `sortable_id' for #<Array:0x00007fbdc2ac4478>):
|
2621
|
+
13: </thead>
|
2622
|
+
14:
|
2623
|
+
15: <tbody class="sortable-multiple-classes">
|
2624
|
+
16: <% @items.each_with_sortable_id do |item, sortable_id| %>
|
2625
|
+
17: <tr id="<%= sortable_id %>">
|
2626
|
+
18: <td><%= item.title %></td>
|
2627
|
+
19: <td><%= item.sort %></td>
|
2628
|
+
|
2629
|
+
app/views/multiple_classes/index.html.erb:16:in `_app_views_multiple_classes_index_html_erb___2930206086772843472_70226489891380'
|
2630
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:36:52 +0900
|
2631
|
+
Processing by MultipleClassesController#index as HTML
|
2632
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2633
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2634
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2635
|
+
Rendered multiple_classes/index.html.erb within layouts/application (2.4ms)
|
2636
|
+
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms)
|
2637
|
+
|
2638
|
+
|
2639
|
+
|
2640
|
+
ActionView::Template::Error (undefined method `sortable_id' for #<Array:0x00007fbdbe7d87b8>):
|
2641
|
+
14:
|
2642
|
+
15: <tbody class="sortable-multiple-classes">
|
2643
|
+
16: <% @items.each do |item| %>
|
2644
|
+
17: <tr id="<%= item.sortable_id %>">
|
2645
|
+
18: <td><%= item.title %></td>
|
2646
|
+
19: <td><%= item.sort %></td>
|
2647
|
+
20: <td><%= item.updated_at %></td>
|
2648
|
+
|
2649
|
+
app/views/multiple_classes/index.html.erb:17:in `block in _app_views_multiple_classes_index_html_erb___2930206086772843472_70226450799420'
|
2650
|
+
app/views/multiple_classes/index.html.erb:16:in `each'
|
2651
|
+
app/views/multiple_classes/index.html.erb:16:in `_app_views_multiple_classes_index_html_erb___2930206086772843472_70226450799420'
|
2652
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:37:14 +0900
|
2653
|
+
Processing by MultipleClassesController#index as HTML
|
2654
|
+
[1m[36mFirstItem Load (0.4ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2655
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2656
|
+
Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.7ms)
|
2657
|
+
|
2658
|
+
|
2659
|
+
|
2660
|
+
ArgumentError (wrong number of arguments (given 1, expected 0)):
|
2661
|
+
|
2662
|
+
app/controllers/multiple_classes_controller.rb:4:in `sort'
|
2663
|
+
app/controllers/multiple_classes_controller.rb:4:in `index'
|
2664
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:38:00 +0900
|
2665
|
+
Processing by MultipleClassesController#index as HTML
|
2666
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2667
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2668
|
+
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.2ms)
|
2669
|
+
|
2670
|
+
|
2671
|
+
|
2672
|
+
ArgumentError (wrong number of arguments (given 1, expected 0)):
|
2673
|
+
|
2674
|
+
app/controllers/multiple_classes_controller.rb:4:in `sort_by'
|
2675
|
+
app/controllers/multiple_classes_controller.rb:4:in `index'
|
2676
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:38:35 +0900
|
2677
|
+
Processing by MultipleClassesController#index as HTML
|
2678
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2679
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2680
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2681
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
2682
|
+
Completed 200 OK in 35ms (Views: 22.5ms | ActiveRecord: 1.2ms)
|
2683
|
+
|
2684
|
+
|
2685
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:42:30 +0900
|
2686
|
+
Processing by SortableController#reorder as */*
|
2687
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["26", "22", "23", "24", "25"], "SecondItem"=>["21", "22", "23", "24", "25"]}}
|
2688
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2689
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (26, 22, 23, 24, 25) ORDER BY "first_items"."sort" ASC[0m
|
2690
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 06:42:30.294474"], ["id", 26]]
|
2691
|
+
[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 06:42:30.295489"], ["id", 22]]
|
2692
|
+
[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 06:42:30.296074"], ["id", 23]]
|
2693
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 06:42:30.296639"], ["id", 24]]
|
2694
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 06:42:30.297177"], ["id", 25]]
|
2695
|
+
[1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
|
2696
|
+
Completed 200 OK in 9ms (ActiveRecord: 2.7ms)
|
2697
|
+
|
2698
|
+
|
2699
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:42:31 +0900
|
2700
|
+
Processing by MultipleClassesController#index as HTML
|
2701
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2702
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2703
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2704
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2705
|
+
Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.3ms)
|
2706
|
+
|
2707
|
+
|
2708
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:42:34 +0900
|
2709
|
+
Processing by SortableController#reorder as */*
|
2710
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["22", "26", "23", "24", "25"], "SecondItem"=>["21", "22", "23", "24", "25"]}}
|
2711
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2712
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (22, 26, 23, 24, 25) ORDER BY "first_items"."sort" ASC[0m
|
2713
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 06:42:34.509144"], ["id", 22]]
|
2714
|
+
[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 06:42:34.510096"], ["id", 26]]
|
2715
|
+
[1m[35m (2.1ms)[0m [1m[36mcommit transaction[0m
|
2716
|
+
Completed 200 OK in 6ms (ActiveRecord: 2.5ms)
|
2717
|
+
|
2718
|
+
|
2719
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:42:36 +0900
|
2720
|
+
Processing by MultipleClassesController#index as HTML
|
2721
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2722
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2723
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2724
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.2ms)
|
2725
|
+
Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.3ms)
|
2726
|
+
|
2727
|
+
|
2728
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:42:38 +0900
|
2729
|
+
Processing by SortableController#reorder as */*
|
2730
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["22", "23", "24", "25", "26"], "SecondItem"=>["21", "22", "23", "24", "25"]}}
|
2731
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2732
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (22, 23, 24, 25, 26) ORDER BY "first_items"."sort" ASC[0m
|
2733
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-04-27 06:42:38.401863"], ["id", 23]]
|
2734
|
+
[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 06:42:38.402602"], ["id", 24]]
|
2735
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 06:42:38.403522"], ["id", 25]]
|
2736
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 06:42:38.409159"], ["id", 26]]
|
2737
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
2738
|
+
Completed 200 OK in 13ms (ActiveRecord: 2.9ms)
|
2739
|
+
|
2740
|
+
|
2741
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:42:39 +0900
|
2742
|
+
Processing by MultipleClassesController#index as HTML
|
2743
|
+
[1m[36mFirstItem Load (0.3ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2744
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2745
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2746
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2747
|
+
Completed 200 OK in 28ms (Views: 23.8ms | ActiveRecord: 0.4ms)
|
2748
|
+
|
2749
|
+
|
2750
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:42:44 +0900
|
2751
|
+
Processing by SortableController#reorder as */*
|
2752
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["22", "23", "24", "25", "26"], "SecondItem"=>["25", "21", "22", "23", "24"]}}
|
2753
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2754
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (22, 23, 24, 25, 26) ORDER BY "first_items"."sort" ASC[0m
|
2755
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2756
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
2757
|
+
|
2758
|
+
|
2759
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:42:45 +0900
|
2760
|
+
Processing by MultipleClassesController#index as HTML
|
2761
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2762
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2763
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2764
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.0ms)
|
2765
|
+
Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.2ms)
|
2766
|
+
|
2767
|
+
|
2768
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:42:49 +0900
|
2769
|
+
Processing by SortableController#reorder as */*
|
2770
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["22", "23", "24", "25", "26"], "SecondItem"=>["24", "21", "22", "23", "25"]}}
|
2771
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2772
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (22, 23, 24, 25, 26) ORDER BY "first_items"."sort" ASC[0m
|
2773
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2774
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
2775
|
+
|
2776
|
+
|
2777
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:42:50 +0900
|
2778
|
+
Processing by MultipleClassesController#index as HTML
|
2779
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2780
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2781
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2782
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
2783
|
+
Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms)
|
2784
|
+
|
2785
|
+
|
2786
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:42:58 +0900
|
2787
|
+
Processing by SortableController#reorder as */*
|
2788
|
+
Parameters: {"rails_sortable"=>{"FirstItem"=>["22", "23", "24", "25", "26"], "SecondItem"=>["25", "21", "22", "23", "24"]}}
|
2789
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2790
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" IN (22, 23, 24, 25, 26) ORDER BY "first_items"."sort" ASC[0m
|
2791
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2792
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
|
2793
|
+
|
2794
|
+
|
2795
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:43:01 +0900
|
2796
|
+
Processing by MultipleClassesController#index as HTML
|
2797
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2798
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2799
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2800
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
2801
|
+
Completed 200 OK in 27ms (Views: 24.3ms | ActiveRecord: 0.3ms)
|
2802
|
+
|
2803
|
+
|
2804
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:49:38 +0900
|
2805
|
+
Processing by MultipleClassesController#index as HTML
|
2806
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2807
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2808
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2809
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2810
|
+
Completed 200 OK in 84ms (Views: 70.4ms | ActiveRecord: 1.0ms)
|
2811
|
+
|
2812
|
+
|
2813
|
+
Started GET "/assets/plugin.self-4fabe587e5f6c5da678e7cee109858314a54508354004e06b02bf534ee4ee1d8.js?body=1" for ::1 at 2018-04-27 15:49:38 +0900
|
2814
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:50:39 +0900
|
2815
|
+
Processing by MultipleClassesController#index as HTML
|
2816
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2817
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2818
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2819
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2820
|
+
Completed 200 OK in 78ms (Views: 74.1ms | ActiveRecord: 0.4ms)
|
2821
|
+
|
2822
|
+
|
2823
|
+
Started GET "/assets/plugin.self-9a8fce8e7273fc539135d08ac0433515a24f0ca5e5eb52a7de4719396229d042.js?body=1" for ::1 at 2018-04-27 15:50:39 +0900
|
2824
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:52:07 +0900
|
2825
|
+
Processing by MultipleClassesController#index as HTML
|
2826
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2827
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2828
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2829
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.1ms)
|
2830
|
+
Completed 200 OK in 71ms (Views: 68.2ms | ActiveRecord: 0.2ms)
|
2831
|
+
|
2832
|
+
|
2833
|
+
Started GET "/assets/plugin.self-0ed26b738acdf16bf529666ec21e9e5899c63f25defe2a26898dc5ca00413278.js?body=1" for ::1 at 2018-04-27 15:52:07 +0900
|
2834
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:55:16 +0900
|
2835
|
+
Processing by MultipleClassesController#index as HTML
|
2836
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2837
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2838
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2839
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
2840
|
+
Completed 200 OK in 88ms (Views: 76.6ms | ActiveRecord: 1.0ms)
|
2841
|
+
|
2842
|
+
|
2843
|
+
Started GET "/assets/plugin.self-254d67c41a6cf711f5a396ab4fac31de5c72ca9bb073b2ba4229416a22fdee8c.js?body=1" for ::1 at 2018-04-27 15:55:16 +0900
|
2844
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:55:21 +0900
|
2845
|
+
Processing by SortableController#reorder as */*
|
2846
|
+
Parameters: {"rails_sortable"=>{"0"=>{"klass"=>"SecondItem", "id"=>"25"}, "1"=>{"klass"=>"FirstItem", "id"=>"22"}, "2"=>{"klass"=>"FirstItem", "id"=>"23"}, "3"=>{"klass"=>"FirstItem", "id"=>"24"}, "4"=>{"klass"=>"FirstItem", "id"=>"25"}, "5"=>{"klass"=>"FirstItem", "id"=>"26"}, "6"=>{"klass"=>"SecondItem", "id"=>"21"}, "7"=>{"klass"=>"SecondItem", "id"=>"22"}, "8"=>{"klass"=>"SecondItem", "id"=>"23"}, "9"=>{"klass"=>"SecondItem", "id"=>"24"}}}
|
2847
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2848
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2849
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
2850
|
+
|
2851
|
+
|
2852
|
+
|
2853
|
+
ArgumentError (wrong number of arguments (given 2, expected 0..1)):
|
2854
|
+
|
2855
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/logger.rb:492:in `debug'
|
2856
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:21:in `block (2 levels) in reorder'
|
2857
|
+
actionpack (5.1.4) lib/action_controller/metal/strong_parameters.rb:332:in `block in each_pair'
|
2858
|
+
actionpack (5.1.4) lib/action_controller/metal/strong_parameters.rb:331:in `each_pair'
|
2859
|
+
actionpack (5.1.4) lib/action_controller/metal/strong_parameters.rb:331:in `each_pair'
|
2860
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `block in reorder'
|
2861
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
2862
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
2863
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
|
2864
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
2865
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
2866
|
+
activerecord (5.1.4) lib/active_record/transactions.rb:210:in `transaction'
|
2867
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:19:in `reorder'
|
2868
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
2869
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
2870
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
2871
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2872
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
2873
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2874
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
2875
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
2876
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
2877
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
2878
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
2879
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2880
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
2881
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
2882
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
2883
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
2884
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
2885
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
2886
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
2887
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
2888
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
2889
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
2890
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
2891
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
2892
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
2893
|
+
rack (2.0.3) lib/rack/conditional_get.rb:38:in `call'
|
2894
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
2895
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
2896
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
2897
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
2898
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
2899
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
2900
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
2901
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
2902
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
2903
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
2904
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
2905
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
2906
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
2907
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
2908
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
2909
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
2910
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
2911
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
2912
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
2913
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
2914
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
2915
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
2916
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
2917
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
2918
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
2919
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
2920
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
2921
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
2922
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
2923
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
2924
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:56:13 +0900
|
2925
|
+
Processing by MultipleClassesController#index as HTML
|
2926
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2927
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2928
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2929
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2930
|
+
Completed 200 OK in 42ms (Views: 24.1ms | ActiveRecord: 1.3ms)
|
2931
|
+
|
2932
|
+
|
2933
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:56:16 +0900
|
2934
|
+
Processing by SortableController#reorder as */*
|
2935
|
+
Parameters: {"rails_sortable"=>{"0"=>{"klass"=>"SecondItem", "id"=>"25"}, "1"=>{"klass"=>"FirstItem", "id"=>"22"}, "2"=>{"klass"=>"FirstItem", "id"=>"23"}, "3"=>{"klass"=>"FirstItem", "id"=>"24"}, "4"=>{"klass"=>"FirstItem", "id"=>"25"}, "5"=>{"klass"=>"FirstItem", "id"=>"26"}, "6"=>{"klass"=>"SecondItem", "id"=>"21"}, "7"=>{"klass"=>"SecondItem", "id"=>"22"}, "8"=>{"klass"=>"SecondItem", "id"=>"23"}, "9"=>{"klass"=>"SecondItem", "id"=>"24"}}}
|
2936
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2937
|
+
0=
|
2938
|
+
1=
|
2939
|
+
2=
|
2940
|
+
3=
|
2941
|
+
4=
|
2942
|
+
5=
|
2943
|
+
6=
|
2944
|
+
7=
|
2945
|
+
8=
|
2946
|
+
9=
|
2947
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2948
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.1ms)
|
2949
|
+
|
2950
|
+
|
2951
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 15:57:59 +0900
|
2952
|
+
Processing by MultipleClassesController#index as HTML
|
2953
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2954
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2955
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2956
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
2957
|
+
Completed 200 OK in 34ms (Views: 22.6ms | ActiveRecord: 1.0ms)
|
2958
|
+
|
2959
|
+
|
2960
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 15:58:01 +0900
|
2961
|
+
Processing by SortableController#reorder as */*
|
2962
|
+
Parameters: {"rails_sortable"=>{"0"=>{"klass"=>"SecondItem", "id"=>"25"}, "1"=>{"klass"=>"FirstItem", "id"=>"22"}, "2"=>{"klass"=>"FirstItem", "id"=>"23"}, "3"=>{"klass"=>"FirstItem", "id"=>"24"}, "4"=>{"klass"=>"FirstItem", "id"=>"25"}, "5"=>{"klass"=>"FirstItem", "id"=>"26"}, "6"=>{"klass"=>"SecondItem", "id"=>"21"}, "7"=>{"klass"=>"SecondItem", "id"=>"22"}, "8"=>{"klass"=>"SecondItem", "id"=>"23"}, "9"=>{"klass"=>"SecondItem", "id"=>"24"}}}
|
2963
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2964
|
+
0
|
2965
|
+
1
|
2966
|
+
2
|
2967
|
+
3
|
2968
|
+
4
|
2969
|
+
5
|
2970
|
+
6
|
2971
|
+
7
|
2972
|
+
8
|
2973
|
+
9
|
2974
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2975
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
2976
|
+
|
2977
|
+
|
2978
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:00:38 +0900
|
2979
|
+
Processing by MultipleClassesController#index as HTML
|
2980
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
2981
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
2982
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
2983
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
2984
|
+
Completed 200 OK in 73ms (Views: 68.7ms | ActiveRecord: 0.3ms)
|
2985
|
+
|
2986
|
+
|
2987
|
+
Started GET "/assets/plugin.self-7c4ef12b34ec890255a1a692631f0cfd4f7098873ca5ee9f14dafab06f62fcbb.js?body=1" for ::1 at 2018-04-27 16:00:39 +0900
|
2988
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:00:41 +0900
|
2989
|
+
Processing by SortableController#reorder as JSON
|
2990
|
+
Parameters: {"rails_sortable"=>{"0"=>{"klass"=>"SecondItem", "id"=>"25"}, "1"=>{"klass"=>"FirstItem", "id"=>"22"}, "2"=>{"klass"=>"FirstItem", "id"=>"23"}, "3"=>{"klass"=>"FirstItem", "id"=>"24"}, "4"=>{"klass"=>"FirstItem", "id"=>"25"}, "5"=>{"klass"=>"FirstItem", "id"=>"26"}, "6"=>{"klass"=>"SecondItem", "id"=>"21"}, "7"=>{"klass"=>"SecondItem", "id"=>"22"}, "8"=>{"klass"=>"SecondItem", "id"=>"23"}, "9"=>{"klass"=>"SecondItem", "id"=>"24"}}}
|
2991
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2992
|
+
0
|
2993
|
+
1
|
2994
|
+
2
|
2995
|
+
3
|
2996
|
+
4
|
2997
|
+
5
|
2998
|
+
6
|
2999
|
+
7
|
3000
|
+
8
|
3001
|
+
9
|
3002
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3003
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
3004
|
+
|
3005
|
+
|
3006
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:01:04 +0900
|
3007
|
+
Processing by MultipleClassesController#index as HTML
|
3008
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3009
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3010
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3011
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
3012
|
+
Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 0.4ms)
|
3013
|
+
|
3014
|
+
|
3015
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:01:07 +0900
|
3016
|
+
Processing by SortableController#reorder as JSON
|
3017
|
+
Parameters: {"rails_sortable"=>{"0"=>{"klass"=>"SecondItem", "id"=>"25"}, "1"=>{"klass"=>"FirstItem", "id"=>"22"}, "2"=>{"klass"=>"FirstItem", "id"=>"23"}, "3"=>{"klass"=>"FirstItem", "id"=>"24"}, "4"=>{"klass"=>"FirstItem", "id"=>"25"}, "5"=>{"klass"=>"FirstItem", "id"=>"26"}, "6"=>{"klass"=>"SecondItem", "id"=>"21"}, "7"=>{"klass"=>"SecondItem", "id"=>"22"}, "8"=>{"klass"=>"SecondItem", "id"=>"23"}, "9"=>{"klass"=>"SecondItem", "id"=>"24"}}}
|
3018
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3019
|
+
0
|
3020
|
+
1
|
3021
|
+
2
|
3022
|
+
3
|
3023
|
+
4
|
3024
|
+
5
|
3025
|
+
6
|
3026
|
+
7
|
3027
|
+
8
|
3028
|
+
9
|
3029
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3030
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
3031
|
+
|
3032
|
+
|
3033
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:01:19 +0900
|
3034
|
+
Processing by MultipleClassesController#index as HTML
|
3035
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3036
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3037
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3038
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3039
|
+
Completed 200 OK in 26ms (Views: 21.6ms | ActiveRecord: 0.4ms)
|
3040
|
+
|
3041
|
+
|
3042
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:01:22 +0900
|
3043
|
+
Processing by SortableController#reorder as */*
|
3044
|
+
Parameters: {"rails_sortable"=>{"0"=>{"klass"=>"SecondItem", "id"=>"25"}, "1"=>{"klass"=>"FirstItem", "id"=>"22"}, "2"=>{"klass"=>"FirstItem", "id"=>"23"}, "3"=>{"klass"=>"FirstItem", "id"=>"24"}, "4"=>{"klass"=>"FirstItem", "id"=>"25"}, "5"=>{"klass"=>"FirstItem", "id"=>"26"}, "6"=>{"klass"=>"SecondItem", "id"=>"21"}, "7"=>{"klass"=>"SecondItem", "id"=>"22"}, "8"=>{"klass"=>"SecondItem", "id"=>"23"}, "9"=>{"klass"=>"SecondItem", "id"=>"24"}}}
|
3045
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3046
|
+
0
|
3047
|
+
1
|
3048
|
+
2
|
3049
|
+
3
|
3050
|
+
4
|
3051
|
+
5
|
3052
|
+
6
|
3053
|
+
7
|
3054
|
+
8
|
3055
|
+
9
|
3056
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3057
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
3058
|
+
|
3059
|
+
|
3060
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:05:06 +0900
|
3061
|
+
Processing by MultipleClassesController#index as HTML
|
3062
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3063
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3064
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3065
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3066
|
+
Completed 200 OK in 77ms (Views: 74.5ms | ActiveRecord: 0.3ms)
|
3067
|
+
|
3068
|
+
|
3069
|
+
Started GET "/assets/plugin.self-a732a76e6d85c44c43f9059cf8b31643c836f4e798d0ca93296c2d416f68bf4f.js?body=1" for ::1 at 2018-04-27 16:05:07 +0900
|
3070
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:05:09 +0900
|
3071
|
+
Error occurred while parsing request parameters.
|
3072
|
+
Contents:
|
3073
|
+
|
3074
|
+
rails_sortable%5B0%5D%5Bklass%5D=SecondItem&rails_sortable%5B0%5D%5Bid%5D=25&rails_sortable%5B1%5D%5Bklass%5D=FirstItem&rails_sortable%5B1%5D%5Bid%5D=22&rails_sortable%5B2%5D%5Bklass%5D=FirstItem&rails_sortable%5B2%5D%5Bid%5D=23&rails_sortable%5B3%5D%5Bklass%5D=FirstItem&rails_sortable%5B3%5D%5Bid%5D=24&rails_sortable%5B4%5D%5Bklass%5D=FirstItem&rails_sortable%5B4%5D%5Bid%5D=25&rails_sortable%5B5%5D%5Bklass%5D=FirstItem&rails_sortable%5B5%5D%5Bid%5D=26&rails_sortable%5B6%5D%5Bklass%5D=SecondItem&rails_sortable%5B6%5D%5Bid%5D=21&rails_sortable%5B7%5D%5Bklass%5D=SecondItem&rails_sortable%5B7%5D%5Bid%5D=22&rails_sortable%5B8%5D%5Bklass%5D=SecondItem&rails_sortable%5B8%5D%5Bid%5D=23&rails_sortable%5B9%5D%5Bklass%5D=SecondItem&rails_sortable%5B9%5D%5Bid%5D=24
|
3075
|
+
|
3076
|
+
ActionDispatch::Http::Parameters::ParseError (765: unexpected token at 'rails_sortable%5B0%5D%5Bklass%5D=SecondItem&rails_sortable%5B0%5D%5Bid%5D=25&rails_sortable%5B1%5D%5Bklass%5D=FirstItem&rails_sortable%5B1%5D%5Bid%5D=22&rails_sortable%5B2%5D%5Bklass%5D=FirstItem&rails_sortable%5B2%5D%5Bid%5D=23&rails_sortable%5B3%5D%5Bklass%5D=FirstItem&rails_sortable%5B3%5D%5Bid%5D=24&rails_sortable%5B4%5D%5Bklass%5D=FirstItem&rails_sortable%5B4%5D%5Bid%5D=25&rails_sortable%5B5%5D%5Bklass%5D=FirstItem&rails_sortable%5B5%5D%5Bid%5D=26&rails_sortable%5B6%5D%5Bklass%5D=SecondItem&rails_sortable%5B6%5D%5Bid%5D=21&rails_sortable%5B7%5D%5Bklass%5D=SecondItem&rails_sortable%5B7%5D%5Bid%5D=22&rails_sortable%5B8%5D%5Bklass%5D=SecondItem&rails_sortable%5B8%5D%5Bid%5D=23&rails_sortable%5B9%5D%5Bklass%5D=SecondItem&rails_sortable%5B9%5D%5Bid%5D=24'):
|
3077
|
+
|
3078
|
+
actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:115:in `rescue in parse_formatted_parameters'
|
3079
|
+
actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:109:in `parse_formatted_parameters'
|
3080
|
+
actionpack (5.1.4) lib/action_dispatch/http/request.rb:361:in `block in POST'
|
3081
|
+
rack (2.0.3) lib/rack/request.rb:57:in `fetch'
|
3082
|
+
rack (2.0.3) lib/rack/request.rb:57:in `fetch_header'
|
3083
|
+
actionpack (5.1.4) lib/action_dispatch/http/request.rb:360:in `POST'
|
3084
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:286:in `_wrapper_enabled?'
|
3085
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:235:in `process_action'
|
3086
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
3087
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
3088
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
3089
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
3090
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
3091
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
3092
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
3093
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
3094
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
3095
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
3096
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
3097
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
3098
|
+
rack (2.0.3) lib/rack/conditional_get.rb:38:in `call'
|
3099
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
3100
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
3101
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
3102
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
3103
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
3104
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
3105
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
3106
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
3107
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3108
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
3109
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
3110
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
3111
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
3112
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
3113
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3114
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
3115
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
3116
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
3117
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
3118
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
3119
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
3120
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
3121
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3122
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
3123
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
3124
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
3125
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
3126
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
3127
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
3128
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
3129
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:05:57 +0900
|
3130
|
+
Processing by MultipleClassesController#index as HTML
|
3131
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3132
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3133
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3134
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3135
|
+
Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.3ms)
|
3136
|
+
|
3137
|
+
|
3138
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:05:59 +0900
|
3139
|
+
Error occurred while parsing request parameters.
|
3140
|
+
Contents:
|
3141
|
+
|
3142
|
+
rails_sortable%5B0%5D%5Bklass%5D=SecondItem&rails_sortable%5B0%5D%5Bid%5D=25&rails_sortable%5B1%5D%5Bklass%5D=FirstItem&rails_sortable%5B1%5D%5Bid%5D=22&rails_sortable%5B2%5D%5Bklass%5D=FirstItem&rails_sortable%5B2%5D%5Bid%5D=23&rails_sortable%5B3%5D%5Bklass%5D=FirstItem&rails_sortable%5B3%5D%5Bid%5D=24&rails_sortable%5B4%5D%5Bklass%5D=FirstItem&rails_sortable%5B4%5D%5Bid%5D=25&rails_sortable%5B5%5D%5Bklass%5D=FirstItem&rails_sortable%5B5%5D%5Bid%5D=26&rails_sortable%5B6%5D%5Bklass%5D=SecondItem&rails_sortable%5B6%5D%5Bid%5D=21&rails_sortable%5B7%5D%5Bklass%5D=SecondItem&rails_sortable%5B7%5D%5Bid%5D=22&rails_sortable%5B8%5D%5Bklass%5D=SecondItem&rails_sortable%5B8%5D%5Bid%5D=23&rails_sortable%5B9%5D%5Bklass%5D=SecondItem&rails_sortable%5B9%5D%5Bid%5D=24
|
3143
|
+
|
3144
|
+
ActionDispatch::Http::Parameters::ParseError (765: unexpected token at 'rails_sortable%5B0%5D%5Bklass%5D=SecondItem&rails_sortable%5B0%5D%5Bid%5D=25&rails_sortable%5B1%5D%5Bklass%5D=FirstItem&rails_sortable%5B1%5D%5Bid%5D=22&rails_sortable%5B2%5D%5Bklass%5D=FirstItem&rails_sortable%5B2%5D%5Bid%5D=23&rails_sortable%5B3%5D%5Bklass%5D=FirstItem&rails_sortable%5B3%5D%5Bid%5D=24&rails_sortable%5B4%5D%5Bklass%5D=FirstItem&rails_sortable%5B4%5D%5Bid%5D=25&rails_sortable%5B5%5D%5Bklass%5D=FirstItem&rails_sortable%5B5%5D%5Bid%5D=26&rails_sortable%5B6%5D%5Bklass%5D=SecondItem&rails_sortable%5B6%5D%5Bid%5D=21&rails_sortable%5B7%5D%5Bklass%5D=SecondItem&rails_sortable%5B7%5D%5Bid%5D=22&rails_sortable%5B8%5D%5Bklass%5D=SecondItem&rails_sortable%5B8%5D%5Bid%5D=23&rails_sortable%5B9%5D%5Bklass%5D=SecondItem&rails_sortable%5B9%5D%5Bid%5D=24'):
|
3145
|
+
|
3146
|
+
actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:115:in `rescue in parse_formatted_parameters'
|
3147
|
+
actionpack (5.1.4) lib/action_dispatch/http/parameters.rb:109:in `parse_formatted_parameters'
|
3148
|
+
actionpack (5.1.4) lib/action_dispatch/http/request.rb:361:in `block in POST'
|
3149
|
+
rack (2.0.3) lib/rack/request.rb:57:in `fetch'
|
3150
|
+
rack (2.0.3) lib/rack/request.rb:57:in `fetch_header'
|
3151
|
+
actionpack (5.1.4) lib/action_dispatch/http/request.rb:360:in `POST'
|
3152
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:286:in `_wrapper_enabled?'
|
3153
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:235:in `process_action'
|
3154
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
3155
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
3156
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
3157
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
3158
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
3159
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
3160
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
3161
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
3162
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
3163
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
3164
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
3165
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
3166
|
+
rack (2.0.3) lib/rack/conditional_get.rb:38:in `call'
|
3167
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
3168
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
3169
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
3170
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
3171
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
3172
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
3173
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
3174
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
3175
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3176
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
3177
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
3178
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
3179
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
3180
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
3181
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3182
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
3183
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
3184
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
3185
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
3186
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
3187
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
3188
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
3189
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3190
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
3191
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
3192
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
3193
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
3194
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
3195
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
3196
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
3197
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:07:00 +0900
|
3198
|
+
Processing by MultipleClassesController#index as HTML
|
3199
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3200
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3201
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3202
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.9ms)
|
3203
|
+
Completed 200 OK in 73ms (Views: 69.7ms | ActiveRecord: 0.2ms)
|
3204
|
+
|
3205
|
+
|
3206
|
+
Started GET "/assets/plugin.self-3eef75928b956f91555e372d9019d6bd833fc6f31e963e80411c391713839e45.js?body=1" for ::1 at 2018-04-27 16:07:00 +0900
|
3207
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:07:03 +0900
|
3208
|
+
Processing by SortableController#reorder as JSON
|
3209
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3210
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3211
|
+
{"klass"=>"SecondItem", "id"=>"25"}
|
3212
|
+
{"klass"=>"FirstItem", "id"=>"22"}
|
3213
|
+
{"klass"=>"FirstItem", "id"=>"23"}
|
3214
|
+
{"klass"=>"FirstItem", "id"=>"24"}
|
3215
|
+
{"klass"=>"FirstItem", "id"=>"25"}
|
3216
|
+
{"klass"=>"FirstItem", "id"=>"26"}
|
3217
|
+
{"klass"=>"SecondItem", "id"=>"21"}
|
3218
|
+
{"klass"=>"SecondItem", "id"=>"22"}
|
3219
|
+
{"klass"=>"SecondItem", "id"=>"23"}
|
3220
|
+
{"klass"=>"SecondItem", "id"=>"24"}
|
3221
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3222
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
3223
|
+
|
3224
|
+
|
3225
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:08:02 +0900
|
3226
|
+
Processing by MultipleClassesController#index as HTML
|
3227
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3228
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3229
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3230
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3231
|
+
Completed 200 OK in 35ms (Views: 21.1ms | ActiveRecord: 1.1ms)
|
3232
|
+
|
3233
|
+
|
3234
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:08:04 +0900
|
3235
|
+
Processing by SortableController#reorder as JSON
|
3236
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3237
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3238
|
+
SecondItem
|
3239
|
+
25
|
3240
|
+
FirstItem
|
3241
|
+
22
|
3242
|
+
FirstItem
|
3243
|
+
23
|
3244
|
+
FirstItem
|
3245
|
+
24
|
3246
|
+
FirstItem
|
3247
|
+
25
|
3248
|
+
FirstItem
|
3249
|
+
26
|
3250
|
+
SecondItem
|
3251
|
+
21
|
3252
|
+
SecondItem
|
3253
|
+
22
|
3254
|
+
SecondItem
|
3255
|
+
23
|
3256
|
+
SecondItem
|
3257
|
+
24
|
3258
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3259
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
3260
|
+
|
3261
|
+
|
3262
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:09:40 +0900
|
3263
|
+
Processing by MultipleClassesController#index as HTML
|
3264
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3265
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3266
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3267
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.0ms)
|
3268
|
+
Completed 200 OK in 36ms (Views: 23.8ms | ActiveRecord: 1.2ms)
|
3269
|
+
|
3270
|
+
|
3271
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:09:42 +0900
|
3272
|
+
Processing by SortableController#reorder as JSON
|
3273
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3274
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3275
|
+
SecondItem=25
|
3276
|
+
FirstItem=22
|
3277
|
+
FirstItem=23
|
3278
|
+
FirstItem=24
|
3279
|
+
FirstItem=25
|
3280
|
+
FirstItem=26
|
3281
|
+
SecondItem=21
|
3282
|
+
SecondItem=22
|
3283
|
+
SecondItem=23
|
3284
|
+
SecondItem=24
|
3285
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3286
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
3287
|
+
|
3288
|
+
|
3289
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:13:27 +0900
|
3290
|
+
Processing by MultipleClassesController#index as HTML
|
3291
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3292
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3293
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3294
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3295
|
+
Completed 200 OK in 34ms (Views: 21.6ms | ActiveRecord: 1.0ms)
|
3296
|
+
|
3297
|
+
|
3298
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:13:35 +0900
|
3299
|
+
Processing by SortableController#reorder as JSON
|
3300
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3301
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3302
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3303
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
3304
|
+
|
3305
|
+
|
3306
|
+
|
3307
|
+
NoMethodError (undefined method `find' for "SecondItem":String):
|
3308
|
+
|
3309
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:22:in `block (2 levels) in reorder'
|
3310
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `each'
|
3311
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `each_with_index'
|
3312
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `block in reorder'
|
3313
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
3314
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
3315
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
|
3316
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
3317
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
3318
|
+
activerecord (5.1.4) lib/active_record/transactions.rb:210:in `transaction'
|
3319
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:19:in `reorder'
|
3320
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
3321
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
3322
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
3323
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
3324
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
3325
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
3326
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
3327
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
3328
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
3329
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
3330
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
3331
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
3332
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
3333
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
3334
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
3335
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
3336
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
3337
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
3338
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
3339
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
3340
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
3341
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
3342
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
3343
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
3344
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
3345
|
+
rack (2.0.3) lib/rack/conditional_get.rb:38:in `call'
|
3346
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
3347
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
3348
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
3349
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
3350
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
3351
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
3352
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
3353
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
3354
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3355
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
3356
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
3357
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
3358
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
3359
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
3360
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3361
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
3362
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
3363
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
3364
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
3365
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
3366
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
3367
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
3368
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3369
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
3370
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
3371
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
3372
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
3373
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
3374
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
3375
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
3376
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:13:54 +0900
|
3377
|
+
Processing by MultipleClassesController#index as HTML
|
3378
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3379
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3380
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3381
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.0ms)
|
3382
|
+
Completed 200 OK in 37ms (Views: 23.4ms | ActiveRecord: 1.4ms)
|
3383
|
+
|
3384
|
+
|
3385
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:13:56 +0900
|
3386
|
+
Processing by SortableController#reorder as JSON
|
3387
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3388
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3389
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3390
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
3391
|
+
|
3392
|
+
|
3393
|
+
|
3394
|
+
NoMethodError (undefined method `find' for "SecondItem":String):
|
3395
|
+
|
3396
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:22:in `block (2 levels) in reorder'
|
3397
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `each'
|
3398
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `each_with_index'
|
3399
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:20:in `block in reorder'
|
3400
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
3401
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
3402
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
|
3403
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
3404
|
+
activerecord (5.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
3405
|
+
activerecord (5.1.4) lib/active_record/transactions.rb:210:in `transaction'
|
3406
|
+
/Users/madmax/Programs/itmammoth/rails_sortable/app/controllers/sortable_controller.rb:19:in `reorder'
|
3407
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
3408
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
3409
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
3410
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
3411
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
3412
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
3413
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
3414
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
3415
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
3416
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
3417
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
3418
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
3419
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
3420
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
3421
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
3422
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
3423
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
3424
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
3425
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
3426
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
3427
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
3428
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
3429
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
3430
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
3431
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
3432
|
+
rack (2.0.3) lib/rack/conditional_get.rb:38:in `call'
|
3433
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
3434
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
3435
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
3436
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
3437
|
+
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
|
3438
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
3439
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
3440
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
3441
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3442
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
3443
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
3444
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
3445
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
3446
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
3447
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3448
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
3449
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
3450
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
3451
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
3452
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
3453
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
3454
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
3455
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
3456
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
3457
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
3458
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
3459
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
3460
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
3461
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
3462
|
+
/Users/madmax/.rbenv/versions/2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
3463
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:16:10 +0900
|
3464
|
+
Processing by MultipleClassesController#index as HTML
|
3465
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3466
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3467
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3468
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
3469
|
+
Completed 200 OK in 42ms (Views: 30.1ms | ActiveRecord: 1.0ms)
|
3470
|
+
|
3471
|
+
|
3472
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:16:13 +0900
|
3473
|
+
Processing by SortableController#reorder as JSON
|
3474
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3475
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3476
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 25], ["LIMIT", 1]]
|
3477
|
+
#<SecondItem:0x00007fbdbdb4a848>
|
3478
|
+
[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", 22], ["LIMIT", 1]]
|
3479
|
+
#<FirstItem:0x00007fbdbd398d48>
|
3480
|
+
[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", 23], ["LIMIT", 1]]
|
3481
|
+
#<FirstItem:0x00007fbdbd3610c8>
|
3482
|
+
[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", 24], ["LIMIT", 1]]
|
3483
|
+
#<FirstItem:0x00007fbdbed66b80>
|
3484
|
+
[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", 25], ["LIMIT", 1]]
|
3485
|
+
#<FirstItem:0x00007fbdbed16f18>
|
3486
|
+
[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", 26], ["LIMIT", 1]]
|
3487
|
+
#<FirstItem:0x00007fbdbecd6170>
|
3488
|
+
[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", 21], ["LIMIT", 1]]
|
3489
|
+
#<SecondItem:0x00007fbdbec974c0>
|
3490
|
+
[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", 22], ["LIMIT", 1]]
|
3491
|
+
#<SecondItem:0x00007fbdbec641b0>
|
3492
|
+
[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", 23], ["LIMIT", 1]]
|
3493
|
+
#<SecondItem:0x00007fbdbec2c4b8>
|
3494
|
+
[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", 24], ["LIMIT", 1]]
|
3495
|
+
#<SecondItem:0x00007fbdbebf6c78>
|
3496
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3497
|
+
Completed 200 OK in 9ms (ActiveRecord: 1.0ms)
|
3498
|
+
|
3499
|
+
|
3500
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:18:56 +0900
|
3501
|
+
Processing by MultipleClassesController#index as HTML
|
3502
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3503
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3504
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3505
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
3506
|
+
Completed 200 OK in 32ms (Views: 20.1ms | ActiveRecord: 1.0ms)
|
3507
|
+
|
3508
|
+
|
3509
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:19:01 +0900
|
3510
|
+
Processing by SortableController#reorder as JSON
|
3511
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3512
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3513
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 25], ["LIMIT", 1]]
|
3514
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:19:01.835070"], ["id", 25]]
|
3515
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 22], ["LIMIT", 1]]
|
3516
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-04-27 07:19:01.837564"], ["id", 22]]
|
3517
|
+
[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", 23], ["LIMIT", 1]]
|
3518
|
+
[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:19:01.839862"], ["id", 23]]
|
3519
|
+
[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", 24], ["LIMIT", 1]]
|
3520
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:19:01.841187"], ["id", 24]]
|
3521
|
+
[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", 25], ["LIMIT", 1]]
|
3522
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:19:01.842275"], ["id", 25]]
|
3523
|
+
[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", 26], ["LIMIT", 1]]
|
3524
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:19:01.843420"], ["id", 26]]
|
3525
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 21], ["LIMIT", 1]]
|
3526
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:19:01.845713"], ["id", 21]]
|
3527
|
+
[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", 22], ["LIMIT", 1]]
|
3528
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:19:01.848780"], ["id", 22]]
|
3529
|
+
[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", 23], ["LIMIT", 1]]
|
3530
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:19:01.850289"], ["id", 23]]
|
3531
|
+
[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", 24], ["LIMIT", 1]]
|
3532
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:19:01.851335"], ["id", 24]]
|
3533
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
3534
|
+
Completed 200 OK in 21ms (ActiveRecord: 4.4ms)
|
3535
|
+
|
3536
|
+
|
3537
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:19:06 +0900
|
3538
|
+
Processing by MultipleClassesController#index as HTML
|
3539
|
+
[1m[36mFirstItem Load (0.4ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3540
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3541
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3542
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3543
|
+
Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.5ms)
|
3544
|
+
|
3545
|
+
|
3546
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:19:12 +0900
|
3547
|
+
Processing by SortableController#reorder as JSON
|
3548
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}]}}
|
3549
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3550
|
+
[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", 22], ["LIMIT", 1]]
|
3551
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:19:12.398094"], ["id", 22]]
|
3552
|
+
[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", 23], ["LIMIT", 1]]
|
3553
|
+
[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:19:12.400594"], ["id", 23]]
|
3554
|
+
[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", 24], ["LIMIT", 1]]
|
3555
|
+
[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:19:12.402346"], ["id", 24]]
|
3556
|
+
[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", 25], ["LIMIT", 1]]
|
3557
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:19:12.405426"], ["id", 25]]
|
3558
|
+
[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", 26], ["LIMIT", 1]]
|
3559
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:19:12.406793"], ["id", 26]]
|
3560
|
+
[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", 21], ["LIMIT", 1]]
|
3561
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:19:12.407935"], ["id", 21]]
|
3562
|
+
[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", 22], ["LIMIT", 1]]
|
3563
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:19:12.409249"], ["id", 22]]
|
3564
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 23], ["LIMIT", 1]]
|
3565
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:19:12.411474"], ["id", 23]]
|
3566
|
+
[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", 24], ["LIMIT", 1]]
|
3567
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:19:12.413118"], ["id", 24]]
|
3568
|
+
[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", 25], ["LIMIT", 1]]
|
3569
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:19:12.414211"], ["id", 25]]
|
3570
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3571
|
+
Completed 200 OK in 20ms (ActiveRecord: 3.1ms)
|
3572
|
+
|
3573
|
+
|
3574
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:19:15 +0900
|
3575
|
+
Processing by MultipleClassesController#index as HTML
|
3576
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3577
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3578
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3579
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.5ms)
|
3580
|
+
Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.3ms)
|
3581
|
+
|
3582
|
+
|
3583
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:19:19 +0900
|
3584
|
+
Processing by SortableController#reorder as JSON
|
3585
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}]}}
|
3586
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3587
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 23], ["LIMIT", 1]]
|
3588
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:19:19.193183"], ["id", 23]]
|
3589
|
+
[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", 22], ["LIMIT", 1]]
|
3590
|
+
[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:19:19.195182"], ["id", 22]]
|
3591
|
+
[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", 24], ["LIMIT", 1]]
|
3592
|
+
[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", 25], ["LIMIT", 1]]
|
3593
|
+
[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", 26], ["LIMIT", 1]]
|
3594
|
+
[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", 21], ["LIMIT", 1]]
|
3595
|
+
[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", 22], ["LIMIT", 1]]
|
3596
|
+
[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", 23], ["LIMIT", 1]]
|
3597
|
+
[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", 24], ["LIMIT", 1]]
|
3598
|
+
[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", 25], ["LIMIT", 1]]
|
3599
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
3600
|
+
Completed 200 OK in 12ms (ActiveRecord: 3.3ms)
|
3601
|
+
|
3602
|
+
|
3603
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:19:39 +0900
|
3604
|
+
Processing by MultipleClassesController#index as HTML
|
3605
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3606
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3607
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3608
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3609
|
+
Completed 200 OK in 27ms (Views: 22.2ms | ActiveRecord: 0.4ms)
|
3610
|
+
|
3611
|
+
|
3612
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:19:41 +0900
|
3613
|
+
Processing by SortableController#reorder as JSON
|
3614
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}]}}
|
3615
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3616
|
+
[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", 22], ["LIMIT", 1]]
|
3617
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:19:41.747228"], ["id", 22]]
|
3618
|
+
[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", 23], ["LIMIT", 1]]
|
3619
|
+
[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:19:41.748634"], ["id", 23]]
|
3620
|
+
[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", 24], ["LIMIT", 1]]
|
3621
|
+
[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", 25], ["LIMIT", 1]]
|
3622
|
+
[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", 26], ["LIMIT", 1]]
|
3623
|
+
[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", 21], ["LIMIT", 1]]
|
3624
|
+
[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", 22], ["LIMIT", 1]]
|
3625
|
+
[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", 23], ["LIMIT", 1]]
|
3626
|
+
[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", 24], ["LIMIT", 1]]
|
3627
|
+
[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", 25], ["LIMIT", 1]]
|
3628
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3629
|
+
Completed 200 OK in 9ms (ActiveRecord: 1.9ms)
|
3630
|
+
|
3631
|
+
|
3632
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:19:42 +0900
|
3633
|
+
Processing by MultipleClassesController#index as HTML
|
3634
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3635
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3636
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3637
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3638
|
+
Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.3ms)
|
3639
|
+
|
3640
|
+
|
3641
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:32:34 +0900
|
3642
|
+
Processing by MultipleClassesController#index as HTML
|
3643
|
+
[1m[36mFirstItem Load (0.1ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3644
|
+
[1m[36mSecondItem Load (0.4ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3645
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3646
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.9ms)
|
3647
|
+
Completed 200 OK in 56ms (Views: 34.4ms | ActiveRecord: 2.2ms)
|
3648
|
+
|
3649
|
+
|
3650
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:32:38 +0900
|
3651
|
+
Processing by SortableController#reorder as JSON
|
3652
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3653
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3654
|
+
[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", 25], ["LIMIT", 1]]
|
3655
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:32:38.359065"], ["id", 25]]
|
3656
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 22], ["LIMIT", 1]]
|
3657
|
+
[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:32:38.361495"], ["id", 22]]
|
3658
|
+
[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", 23], ["LIMIT", 1]]
|
3659
|
+
[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:32:38.363019"], ["id", 23]]
|
3660
|
+
[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", 24], ["LIMIT", 1]]
|
3661
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:32:38.364829"], ["id", 24]]
|
3662
|
+
[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", 25], ["LIMIT", 1]]
|
3663
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:32:38.366413"], ["id", 25]]
|
3664
|
+
[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", 26], ["LIMIT", 1]]
|
3665
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:32:38.368898"], ["id", 26]]
|
3666
|
+
[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", 21], ["LIMIT", 1]]
|
3667
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:32:38.371147"], ["id", 21]]
|
3668
|
+
[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", 22], ["LIMIT", 1]]
|
3669
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:32:38.372530"], ["id", 22]]
|
3670
|
+
[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", 23], ["LIMIT", 1]]
|
3671
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:32:38.374705"], ["id", 23]]
|
3672
|
+
[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", 24], ["LIMIT", 1]]
|
3673
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:32:38.375756"], ["id", 24]]
|
3674
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
3675
|
+
Completed 200 OK in 25ms (ActiveRecord: 4.4ms)
|
3676
|
+
|
3677
|
+
|
3678
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:32:41 +0900
|
3679
|
+
Processing by SortableController#reorder as JSON
|
3680
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3681
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3682
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 25], ["LIMIT", 1]]
|
3683
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 22], ["LIMIT", 1]]
|
3684
|
+
[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", 23], ["LIMIT", 1]]
|
3685
|
+
[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", 24], ["LIMIT", 1]]
|
3686
|
+
[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", 21], ["LIMIT", 1]]
|
3687
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:32:41.169498"], ["id", 21]]
|
3688
|
+
[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", 25], ["LIMIT", 1]]
|
3689
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:32:41.173107"], ["id", 25]]
|
3690
|
+
[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", 26], ["LIMIT", 1]]
|
3691
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:32:41.174688"], ["id", 26]]
|
3692
|
+
[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", 22], ["LIMIT", 1]]
|
3693
|
+
[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", 23], ["LIMIT", 1]]
|
3694
|
+
[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", 24], ["LIMIT", 1]]
|
3695
|
+
[1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
|
3696
|
+
Completed 200 OK in 16ms (ActiveRecord: 3.8ms)
|
3697
|
+
|
3698
|
+
|
3699
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:32:42 +0900
|
3700
|
+
Processing by MultipleClassesController#index as HTML
|
3701
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3702
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3703
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3704
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.7ms)
|
3705
|
+
Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.3ms)
|
3706
|
+
|
3707
|
+
|
3708
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:32:45 +0900
|
3709
|
+
Processing by SortableController#reorder as JSON
|
3710
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}]}}
|
3711
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3712
|
+
[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", 22], ["LIMIT", 1]]
|
3713
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:32:45.891577"], ["id", 22]]
|
3714
|
+
[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", 23], ["LIMIT", 1]]
|
3715
|
+
[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:32:45.893461"], ["id", 23]]
|
3716
|
+
[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", 24], ["LIMIT", 1]]
|
3717
|
+
[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:32:45.894819"], ["id", 24]]
|
3718
|
+
[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", 21], ["LIMIT", 1]]
|
3719
|
+
[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:32:45.896502"], ["id", 21]]
|
3720
|
+
[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", 25], ["LIMIT", 1]]
|
3721
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:32:45.897803"], ["id", 25]]
|
3722
|
+
[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", 26], ["LIMIT", 1]]
|
3723
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:32:45.899093"], ["id", 26]]
|
3724
|
+
[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", 22], ["LIMIT", 1]]
|
3725
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:32:45.900318"], ["id", 22]]
|
3726
|
+
[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", 23], ["LIMIT", 1]]
|
3727
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:32:45.901626"], ["id", 23]]
|
3728
|
+
[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", 24], ["LIMIT", 1]]
|
3729
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:32:45.903629"], ["id", 24]]
|
3730
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ?[0m [["id", 25], ["LIMIT", 1]]
|
3731
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:32:45.907312"], ["id", 25]]
|
3732
|
+
[1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
|
3733
|
+
Completed 200 OK in 21ms (ActiveRecord: 4.1ms)
|
3734
|
+
|
3735
|
+
|
3736
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:32:48 +0900
|
3737
|
+
Processing by SortableController#reorder as JSON
|
3738
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}]}}
|
3739
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3740
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 22], ["LIMIT", 1]]
|
3741
|
+
[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", 23], ["LIMIT", 1]]
|
3742
|
+
[1m[36mFirstItem Load (0.5ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 24], ["LIMIT", 1]]
|
3743
|
+
[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", 25], ["LIMIT", 1]]
|
3744
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:32:48.638039"], ["id", 25]]
|
3745
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ?[0m [["id", 26], ["LIMIT", 1]]
|
3746
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:32:48.640157"], ["id", 26]]
|
3747
|
+
[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", 21], ["LIMIT", 1]]
|
3748
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:32:48.641911"], ["id", 21]]
|
3749
|
+
[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", 22], ["LIMIT", 1]]
|
3750
|
+
[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", 23], ["LIMIT", 1]]
|
3751
|
+
[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", 24], ["LIMIT", 1]]
|
3752
|
+
[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", 25], ["LIMIT", 1]]
|
3753
|
+
[1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
|
3754
|
+
Completed 200 OK in 15ms (ActiveRecord: 4.1ms)
|
3755
|
+
|
3756
|
+
|
3757
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:32:49 +0900
|
3758
|
+
Processing by MultipleClassesController#index as HTML
|
3759
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3760
|
+
[1m[36mSecondItem Load (0.2ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3761
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3762
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.9ms)
|
3763
|
+
Completed 200 OK in 31ms (Views: 26.9ms | ActiveRecord: 0.3ms)
|
3764
|
+
|
3765
|
+
|
3766
|
+
Started GET "/items/" for ::1 at 2018-04-27 16:32:57 +0900
|
3767
|
+
Processing by ItemsController#index as HTML
|
3768
|
+
Rendering items/index.html.erb within layouts/application
|
3769
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
3770
|
+
Rendered items/index.html.erb within layouts/application (6.3ms)
|
3771
|
+
Completed 200 OK in 35ms (Views: 31.9ms | ActiveRecord: 0.5ms)
|
3772
|
+
|
3773
|
+
|
3774
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:32:59 +0900
|
3775
|
+
Processing by SortableController#reorder as JSON
|
3776
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"50"}, {"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}]}}
|
3777
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3778
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 50], ["LIMIT", 1]]
|
3779
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:32:59.823768"], ["id", 50]]
|
3780
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 41], ["LIMIT", 1]]
|
3781
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-04-27 07:32:59.826281"], ["id", 41]]
|
3782
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 42], ["LIMIT", 1]]
|
3783
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-04-27 07:32:59.828884"], ["id", 42]]
|
3784
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
3785
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:32:59.832894"], ["id", 43]]
|
3786
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 44], ["LIMIT", 1]]
|
3787
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:32:59.838384"], ["id", 44]]
|
3788
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 45], ["LIMIT", 1]]
|
3789
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:32:59.839597"], ["id", 45]]
|
3790
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
3791
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:32:59.840700"], ["id", 46]]
|
3792
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 47], ["LIMIT", 1]]
|
3793
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:32:59.841735"], ["id", 47]]
|
3794
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 48], ["LIMIT", 1]]
|
3795
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:32:59.842767"], ["id", 48]]
|
3796
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
3797
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:32:59.846556"], ["id", 49]]
|
3798
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
3799
|
+
Completed 200 OK in 29ms (ActiveRecord: 5.0ms)
|
3800
|
+
|
3801
|
+
|
3802
|
+
Started GET "/items/" for ::1 at 2018-04-27 16:33:00 +0900
|
3803
|
+
Processing by ItemsController#index as HTML
|
3804
|
+
Rendering items/index.html.erb within layouts/application
|
3805
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
3806
|
+
Rendered items/index.html.erb within layouts/application (3.0ms)
|
3807
|
+
Completed 200 OK in 28ms (Views: 26.5ms | ActiveRecord: 0.2ms)
|
3808
|
+
|
3809
|
+
|
3810
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:33:03 +0900
|
3811
|
+
Processing by SortableController#reorder as JSON
|
3812
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"Item", "id"=>"41"}, {"klass"=>"Item", "id"=>"42"}, {"klass"=>"Item", "id"=>"43"}, {"klass"=>"Item", "id"=>"44"}, {"klass"=>"Item", "id"=>"45"}, {"klass"=>"Item", "id"=>"46"}, {"klass"=>"Item", "id"=>"47"}, {"klass"=>"Item", "id"=>"48"}, {"klass"=>"Item", "id"=>"49"}, {"klass"=>"Item", "id"=>"50"}]}}
|
3813
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3814
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 41], ["LIMIT", 1]]
|
3815
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:33:03.139382"], ["id", 41]]
|
3816
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 42], ["LIMIT", 1]]
|
3817
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", "2018-04-27 07:33:03.142149"], ["id", 42]]
|
3818
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 43], ["LIMIT", 1]]
|
3819
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 2], ["updated_at", "2018-04-27 07:33:03.143553"], ["id", 43]]
|
3820
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 44], ["LIMIT", 1]]
|
3821
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:33:03.144684"], ["id", 44]]
|
3822
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 45], ["LIMIT", 1]]
|
3823
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:33:03.145851"], ["id", 45]]
|
3824
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 46], ["LIMIT", 1]]
|
3825
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:33:03.146943"], ["id", 46]]
|
3826
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 47], ["LIMIT", 1]]
|
3827
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:33:03.148051"], ["id", 47]]
|
3828
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 48], ["LIMIT", 1]]
|
3829
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:33:03.149322"], ["id", 48]]
|
3830
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 49], ["LIMIT", 1]]
|
3831
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:33:03.151508"], ["id", 49]]
|
3832
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 50], ["LIMIT", 1]]
|
3833
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:33:03.155688"], ["id", 50]]
|
3834
|
+
[1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
|
3835
|
+
Completed 200 OK in 22ms (ActiveRecord: 4.7ms)
|
3836
|
+
|
3837
|
+
|
3838
|
+
Started GET "/items/" for ::1 at 2018-04-27 16:33:04 +0900
|
3839
|
+
Processing by ItemsController#index as HTML
|
3840
|
+
Rendering items/index.html.erb within layouts/application
|
3841
|
+
[1m[36mItem Load (0.2ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
3842
|
+
Rendered items/index.html.erb within layouts/application (3.2ms)
|
3843
|
+
Completed 200 OK in 27ms (Views: 24.9ms | ActiveRecord: 0.2ms)
|
3844
|
+
|
3845
|
+
|
3846
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:34:46 +0900
|
3847
|
+
Processing by MultipleClassesController#index as HTML
|
3848
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3849
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3850
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3851
|
+
Rendered multiple_classes/index.html.erb within layouts/application (1.0ms)
|
3852
|
+
Completed 200 OK in 71ms (Views: 68.0ms | ActiveRecord: 0.3ms)
|
3853
|
+
|
3854
|
+
|
3855
|
+
Started GET "/assets/multiple_classes.self-2067c9767a82e028abdd6df637be3878c29c3df8b764de6d009c7cda1cc65761.js?body=1" for ::1 at 2018-04-27 16:34:47 +0900
|
3856
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:34:49 +0900
|
3857
|
+
Processing by SortableController#reorder as JSON
|
3858
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}]}}
|
3859
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3860
|
+
[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", 25], ["LIMIT", 1]]
|
3861
|
+
[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:34:49.831718"], ["id", 25]]
|
3862
|
+
[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", 22], ["LIMIT", 1]]
|
3863
|
+
[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:34:49.833301"], ["id", 22]]
|
3864
|
+
[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", 23], ["LIMIT", 1]]
|
3865
|
+
[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:34:49.834558"], ["id", 23]]
|
3866
|
+
[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", 24], ["LIMIT", 1]]
|
3867
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:34:49.835612"], ["id", 24]]
|
3868
|
+
[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", 25], ["LIMIT", 1]]
|
3869
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:34:49.836683"], ["id", 25]]
|
3870
|
+
[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", 26], ["LIMIT", 1]]
|
3871
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:34:49.837929"], ["id", 26]]
|
3872
|
+
[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", 21], ["LIMIT", 1]]
|
3873
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:34:49.839133"], ["id", 21]]
|
3874
|
+
[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", 22], ["LIMIT", 1]]
|
3875
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:34:49.840228"], ["id", 22]]
|
3876
|
+
[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", 23], ["LIMIT", 1]]
|
3877
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:34:49.841281"], ["id", 23]]
|
3878
|
+
[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", 24], ["LIMIT", 1]]
|
3879
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:34:49.842431"], ["id", 24]]
|
3880
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
3881
|
+
Completed 200 OK in 16ms (ActiveRecord: 3.9ms)
|
3882
|
+
|
3883
|
+
|
3884
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:34:51 +0900
|
3885
|
+
Processing by MultipleClassesController#index as HTML
|
3886
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3887
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3888
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3889
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.8ms)
|
3890
|
+
Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 0.3ms)
|
3891
|
+
|
3892
|
+
|
3893
|
+
Started POST "/sortable/reorder" for ::1 at 2018-04-27 16:34:54 +0900
|
3894
|
+
Processing by SortableController#reorder as JSON
|
3895
|
+
Parameters: {"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}], "sortable"=>{"rails_sortable"=>[{"klass"=>"FirstItem", "id"=>"22"}, {"klass"=>"FirstItem", "id"=>"23"}, {"klass"=>"FirstItem", "id"=>"24"}, {"klass"=>"FirstItem", "id"=>"25"}, {"klass"=>"FirstItem", "id"=>"26"}, {"klass"=>"SecondItem", "id"=>"21"}, {"klass"=>"SecondItem", "id"=>"22"}, {"klass"=>"SecondItem", "id"=>"23"}, {"klass"=>"SecondItem", "id"=>"24"}, {"klass"=>"SecondItem", "id"=>"25"}]}}
|
3896
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3897
|
+
[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", 22], ["LIMIT", 1]]
|
3898
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 0], ["updated_at", "2018-04-27 07:34:54.038681"], ["id", 22]]
|
3899
|
+
[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", 23], ["LIMIT", 1]]
|
3900
|
+
[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:34:54.040187"], ["id", 23]]
|
3901
|
+
[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", 24], ["LIMIT", 1]]
|
3902
|
+
[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:34:54.041376"], ["id", 24]]
|
3903
|
+
[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", 25], ["LIMIT", 1]]
|
3904
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 3], ["updated_at", "2018-04-27 07:34:54.042933"], ["id", 25]]
|
3905
|
+
[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", 26], ["LIMIT", 1]]
|
3906
|
+
[1m[35mSQL (0.0ms)[0m [1m[33mUPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ?[0m [["sort", 4], ["updated_at", "2018-04-27 07:34:54.044234"], ["id", 26]]
|
3907
|
+
[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", 21], ["LIMIT", 1]]
|
3908
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 5], ["updated_at", "2018-04-27 07:34:54.045552"], ["id", 21]]
|
3909
|
+
[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", 22], ["LIMIT", 1]]
|
3910
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 6], ["updated_at", "2018-04-27 07:34:54.046805"], ["id", 22]]
|
3911
|
+
[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", 23], ["LIMIT", 1]]
|
3912
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 7], ["updated_at", "2018-04-27 07:34:54.049035"], ["id", 23]]
|
3913
|
+
[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", 24], ["LIMIT", 1]]
|
3914
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 8], ["updated_at", "2018-04-27 07:34:54.050327"], ["id", 24]]
|
3915
|
+
[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", 25], ["LIMIT", 1]]
|
3916
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ?[0m [["sort", 9], ["updated_at", "2018-04-27 07:34:54.051481"], ["id", 25]]
|
3917
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
3918
|
+
Completed 200 OK in 18ms (ActiveRecord: 4.1ms)
|
3919
|
+
|
3920
|
+
|
3921
|
+
Started GET "/multiple_classes/" for ::1 at 2018-04-27 16:34:55 +0900
|
3922
|
+
Processing by MultipleClassesController#index as HTML
|
3923
|
+
[1m[36mFirstItem Load (0.2ms)[0m [1m[34mSELECT "first_items".* FROM "first_items" ORDER BY "first_items"."sort" ASC[0m
|
3924
|
+
[1m[36mSecondItem Load (0.1ms)[0m [1m[34mSELECT "second_items".* FROM "second_items" ORDER BY "second_items"."sort" ASC[0m
|
3925
|
+
Rendering multiple_classes/index.html.erb within layouts/application
|
3926
|
+
Rendered multiple_classes/index.html.erb within layouts/application (0.9ms)
|
3927
|
+
Completed 200 OK in 32ms (Views: 27.9ms | ActiveRecord: 0.3ms)
|
3928
|
+
|
3929
|
+
|