rails_db 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/views/rails_db/tables/_edit.html.erb +1 -0
- data/app/views/rails_db/tables/_new.html.erb +5 -1
- data/lib/libs.rb +1 -0
- data/lib/rails_db/engine.rb +1 -1
- data/{app/helpers/rails_db/rails_db_data_table_helper.rb → lib/rails_db/helpers.rb} +2 -3
- data/lib/rails_db/version.rb +1 -1
- data/test/dashboard_controller_test.rb +3 -3
- data/test/dummy/db/migrate/20210626083314_add_country_column.rb +5 -0
- data/test/dummy/db/rails_db_dev.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +47 -46
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +332 -0
- data/test/dummy/log/test.log +1066 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-3/-3QVlORKAkY3OKK5Y3jNcqxMCCw6x2KPkutAzr5yh8I.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-w/-wp3_VP-F5Eg7f5xwjCswONdZpRX_AaUAZtT4IM7Jus.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0S/0Sz133MDIsc1LArCubxacZhJ8nLVOiBGtJRu8GfXDDE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/10/10ZjuchBSeGlDBbju0ePmV-o1eLQHGbPSczhggr_BDI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1S/1SAIUj01NRwWvmiYGTQrU4HrTryzlqZ-Biba0YSLR3k.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1b/1bYLWlvlLy3o1EVXrI65cZp6NoqtqLOrfBwQq_ZANbg.cache +4 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2A/2A1nRbWQwmx-oUe25g7_eadH7u_QNdkNBpvnb2RpWtg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2G/2GjaL3LZb-KyYu6nfaJJikDRo7VBjK7ohCHNDtSPRjQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3E/3EFpick1X-VbbF8qXDGjkA3vtMUN7SfaM5J08FNu-F0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3_/3_N8qi-v_t4fnR1ntKtXgCnq3U1cne8_rCJRWqqjvSc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4V/4VR3nwq8kynkYTsZ5NgHk5Cq5QNYPrXrT6eP_txJM0k.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/56/56f0YqKJVB5lxWS6fxX3-IKtA3baiQDHKdsx5ITVofY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5A/5AGrHygfa0dr9UNgXsqNSQCJFGaDjTJ5qsBWClUNCjU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5j/5jrqD-ZQM_yLsKZtqQ5S4juRegbRT-ZXXjXxHsaeLYE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6H/6HwILL99X3vzxm8U5l3U2qMFihLRhEJ-styplj5c9bI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6U/6UPN67uTa88HBmQCleFSSTQ92IgWUGdPH1-aSEA0Ubc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7K/7KnPiiBLrdCuZ4a07aiujSrFxqLlh7XswuZcep8NJLY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7O/7OMe9aoxS4elJyMEVIIB66VWJJ-IpZVv3Zje7cLk6qw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7U/7U5_x5Gy3O6KT7I1D74iR3knrrDZ9FnFwtR0vx6pIoQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8-/8-v5EyKSB5oPHHHU-sTiHtkKlQutcabQYrHEtClt2gA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/93/93blw2yPIXNCRA0jLkniUJGZ1lkQh0RNTWMryDarAxk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/BJ/BJHcfY2FMnMMtFWR0sgq8O_orVxMUTAO4uhYQl-2n6w.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cg/CgCRqakoZGzn92ZbjyGxwF6I4yJVeNgA1lG4Z5DFEjQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cj/Cjg7WWdPlbBxVXFBHK-rxyelilDCMqhnQFKWpSTsjWE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dh/DhdJbACGmEQLFh4wl3omJoWAFz0VeZGmzh_vxN3egZE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/EY/EYKv8RfN22lqHn7i6Sbt95gJ5s9ZDjLhrV1UUtp9EFs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ev/EvxXoYvfDHtnwBDi31GlSuCDLIvDNpBICnmNITZkLPs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ey/EyxoPXsMsmLcI5Gxu5eCtNiOSUsvxk8VS0zTEvtTaiM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FK/FK5AwCNG9ptRrLTNDBzFtoANmjG1c8sz1eHaCeKvtz8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FN/FNUtSeGeiLGo6E_c0yQQLPedYuiUrolHALEvVVwlEpo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FV/FVK60WuKOKwQaTXPfIoao4ksuZKAn1cfG5M650tE_SY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FW/FWg2gz4JaO-WpgRkZYKOf4Y6n9j2BAHh70UXNcqGC00.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Gh/GhVGh48Vehr7jnlVaVdq8OmSr5kwM2ZPhqDzCaUIhs8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/HY/HYTBUMYgbrHeL5K_OYZxOOvBt01QXYHlessDBzVQjkw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hm/Hm_dB990wgu-qKVaW3rf6T9naU1-prBggT5uGDA9ZU0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hr/HrXCXnpRkd2D4JCcPTb8gpS1ItvryBogkJrOTSbm8-k.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IE/IE-zT0ElWYJPrOMCFZRxmP_w1rmF05chegkbng0_g5M.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IR/IRJqw4XjEa8X63PRewZM2STdKrBXMJI3yrYuHXdGFU4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/If/IfIkRX5iA57MRTJQRH8adc9rBNy9hdUkO1rz2VFUQBI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jt/JtOILcGNpnHnJp4kF8MuLNqklKKq8oIhLErkngHuRCA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/L2/L2AsAfe3iqSKZUvXVxrlTIOrkLAiqe49iAJ1_KvHais.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LD/LDeXHxUCfEVxXTqoavm9mhInVtLWjMvubb7ctYajkF0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/M9/M9s1An2hYd_KAKVkxkNMNLOu3tHepfwckav2XA_ovuY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Oa/OaySsComAwye5vJzQQn6JmcmtvIS0l915a6N7XEAHcE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/P6/P66uAfRp7cggCtXoKgC0jVconrrdJOVtcphG07j4MIw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/PQ/PQFDpLanaCmaJH8mIxTk4eHxAD9Up_Y-IqTtzU9FKX8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/PT/PTfZkWgs6Eo_X7tejp9pJoq7GsdEW06RvjFa1MhADLo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Q7/Q7f8nU7bVpqKrPiWQ-GEM7EjIUdCuRny74bhWl4ovTc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RZ/RZAv6vD8N1if_TtUsOQXdO6tVd2hkGacT5k9a4mXFKw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ru/Ru3fleEkpSbDk4h7-EHQ4Hckx04xbCygt3F_kSEsx34.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/S1/S1dLmfwkUpwJvg4tYuVOf3aWupOOP3M6iyKrFsG2tx8.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/S7/S7oG51QVVKMPmNb6hOJgudX21aHik9FaRX_1xACwTYw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SP/SPAkohSw9CUei4_AoX3t9F-xz-ulJguMZDxnXHK8xRs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SR/SRlBuVekx5voijkM7Pur-7CEeD9aOoItZYTK7KkxrPc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Se/Seo_ZvwlNJYdKo2voDO7AWyIwJ4fOTa13zD72eiVYGM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/U4/U43czrbZRBo4u0jim3ARQfVVe6Xc_OWRiwQmiyb0Z-Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UP/UPfVK0LZakMvumMs5iiy5bHGcOF-XlKn3iR1CEUeZmk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UR/URzOSZPYUygQwK4hWeC7aZkfCO9Bgbc6FrnabD_Ubis.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ue/UegAFbSgfZFSXguvibbWePrkfx4hi_lBKXg_NUppqqo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/VA/VAzIvqTByiGq5j-A-Vm5laOr2sIAe_MZavCPtR1LgxM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WF/WFzBN8f1otvH1grrqH2K0eE8l9JLNBfBRT3BpGaEzBo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_9/_9vkshSoX3jblFg8DKhnFJUNvjRQ_pTdEaPANI8UgYI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_f/_fZ4a6WMMPTan-OJ1eB_jDV7lYI2BQ9I7VS0IXLxvP4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_n/_nuA_-zEEC6OUDBREGtw9wLfUH_pS1PfVOu5HUyLdss.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/aS/aS4TrTg8RLg_Z4_pOGyJwMBFFYqKRCO8H18SA2ZzfP4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/d2/d2OcpXM9a7UxhuZHig1dByvz3LsBKFihLvaLj72BOMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dV/dVvV1v4dW9Uo7W5YkXkFCJyc58iDNZV7PpVkDv9flf8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dm/dmcaxTQMouCAhdqqQz87SB4mAmTqv9Px98ezg1ObJjE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dr/drxgNp7QAPL2eFDNcxM7-FdfXGY9_weJkF80543pvGU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/e_/e_8onHrO536kcdolzmbEdQKKexb_hm1QBGnTo_giI_c.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ej/ejYzYxahUd_h63ntKOTeJTw9xosZ1cWF1Bf3-RfsXWY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/eo/eojuSXOPTgWhEGR858AGqRe2F3W6gRrvCuFgPUnV_lE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/f2/f2kjY3WJBcdzPf2XhMDyydDIg-E6Co3QhBwUDy57aRg.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/f9/f9fN25_s1xEPbSJPbziFezw1XGa5Adjt4Ye5AUSJMBU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gO/gOt0rsWcD6oXY2JVRddHwNR9GIQauV5tDI_E8jUJA5o.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gR/gRw4UxQrb5QX2un3w82WIobHDjITrm4t_LoZTs0g_BQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hh/hhiDzfELHlFMWzLHiRZ1Q1ReHczde_9sDjiyvYahdnc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jr/jrdwb_fYyeGBcwGtiyoRclS6JTefvy16LAZblhH6anE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/k0/k0Gmn2VNaFEdDoO7ReNwvaWhWixEEixrO5y1vMfHC6U.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lL/lL-8Ksac514GJR-eXaxokPaw0FEooj_AbWp58vbHTDQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lw/lw0pCeTBhYhgUsAe4MDQI1zvPy7UO0IRBgi8klRsJ6U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mW/mWyN4_zRMj3_J_ask-bfF_kIWekO7-gL7AO-gkLedu8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/o8/o8eOxR7XYyN2iJ3Nh4AkkJbRmJW_rz1758pbLIBrtkw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oE/oEZ1tbI4lzlmNgdwD5z8w_F0w5klJuvRuqz4zKsIPa4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oL/oLhZZ_gEt-mBj_3tAFDnXZ60DNnVk1vSLMGxwf27we0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oc/ocK2z5A3yrXe5TAQ65y27g_itt_TKtPgngdgjwTn1C8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oc/ocgAanSJBcGocntYEDPdnyld1ofAZi75mZf86Acvb3c.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pu/pucRb8cNmQDSe1AmdEd48j9E30NGOheMFL86tQ7fpl0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q8/q8ZuvLmAcLiIyIC3xBlbte8qtUiw9Qoe4e0Ns1qAbqc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q9/q9puqb4cnoN8_59H-ZoUpYm9W8PpdWceYDDcrbcMVag.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ry/rylECWrYaw5GRWufNcrrx8CZ9tFARhxZ0wxdoq6Me7M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/u0/u0SoQOyS8i-jdsiMBgccpyUtdygqKYmwHVxqKtF1-aA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uJ/uJZt0qoVefbR-A8UqX1r-ie-8Pda0odosR9gICUqpUw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uo/uoG_Opfdkeoxj2p4rXA1OeHgBzMeXQoEEK4Vsc_BvD0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vJ/vJi8H_bdp3XiIrKNT1zg5BcWXvnQV23p7T8Ap2odjmU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vW/vWfhzaoyrvEUgX0vnRufnld1buC_KEfVE_Y9GxTlEFc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vm/vmes21C_KXQjYDMjh8Qvn_N4yBfWLLF7Hc6Xh6jicmU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wF/wFaxWSrFAJPpvKB6_YL_95DDGWRC71mn3xteI9W7J6s.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wX/wXwZ8w-U_C8sR1mJQM_6xC27bBddxI7um4jzY43T_ac.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wd/wdcSSYIVPzSeweLrhWZw_Fbtld_1nP0nwWGwTMOONkQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wp/wpSFujYOOaLqa0vWCSnHWjPqi6k_vXyoi03_93rMdqg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xm/xmtA-I2RBVgCHXEokd428Tx8BNmO7zLo7js3xECuy8U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yK/yKdSBGdJNWhLrijPzBhCkVF1L_U1w6jC7dxoljx5cgA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yQ/yQrUGYdIOQBJSqyEaC-s2ykCQmhUFmAhdWGwMJZkFVs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zT/zTec8hFOqpCQ9fcuTseWaVsetST5mj-sNqx7I4K0CV8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zc/zcb3VI6GoraI5azNCn34gI364cK1hlfOWJfvkxwrqHs.cache +3 -0
- data/test/{rails_db_data_table_helper_test.rb → rails_db_helpers_test.rb} +2 -2
- data/test/table_test.rb +1 -1
- metadata +207 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 829a97d43533382b13883e37735db5ce9ff45cbc637d824777e38aeab92195a7
|
4
|
+
data.tar.gz: 96e50af712d6ad7aae399ac238314e7e453ba0cfcfed2108f71d87e4e5be6ab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a9026af48963304b771c3f62aa99a553cbb3d8adf9f05b3a3eb0aeca2591e0f2290ed8c1136efb7fed1d7a3fb0f4f4786b94d5337c0eb83c153cc9d57ff7ad0
|
7
|
+
data.tar.gz: 6f7c9d5e201eeea84e5aa2ed75bd974242196ab83772d383e3752f1fc1221c17ba68a4f68ce498db0004f4fb16e6a52b33b43b0b474da7a2ffcb120c27d873fc
|
data/Gemfile.lock
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
<% options = { label: name } %>
|
12
12
|
<% options[:include_blank] = true if column.type.to_s =~ /time|date/ %>
|
13
13
|
<% options[:as] = :text if column.type.to_s =~ /tsvector/ %>
|
14
|
+
<% options[:as] = :text if name.to_s == 'country' %>
|
14
15
|
<% if column.type.to_s =~ /text/ %>
|
15
16
|
<% options[:input_html] = {} %>
|
16
17
|
<% options[:input_html][:rows] = 4 %>
|
@@ -7,7 +7,11 @@
|
|
7
7
|
<% @record.class.columns.each do |column| %>
|
8
8
|
<% name = column.name %>
|
9
9
|
<% next if [@table.primary_key, 'created_at', 'updated_at'].include?(column.name) %>
|
10
|
-
|
10
|
+
<% if name.to_s == "country" %>
|
11
|
+
<%= form.input name, label: name, as: :string %>
|
12
|
+
<% else %>
|
13
|
+
<%= form.input name, label: name %>
|
14
|
+
<% end %>
|
11
15
|
<% end %>
|
12
16
|
</div>
|
13
17
|
<%= form.submit 'SAVE', class: 'button small' %>
|
data/lib/libs.rb
CHANGED
@@ -7,6 +7,7 @@ require_relative 'rails_db/mysql_result'
|
|
7
7
|
require_relative 'rails_db/result'
|
8
8
|
require_relative 'rails_db/rails_db_error'
|
9
9
|
require_relative 'rails_db/history'
|
10
|
+
require_relative 'rails_db/helpers'
|
10
11
|
|
11
12
|
require_relative 'rails_db/sql_query_data'
|
12
13
|
require_relative 'rails_db/sql_explain'
|
data/lib/rails_db/engine.rb
CHANGED
data/lib/rails_db/version.rb
CHANGED
@@ -67,7 +67,7 @@ class DashboardControllerTest < ActionDispatch::IntegrationTest
|
|
67
67
|
get '/rails/db/tables/users/edit?pk_id=' + edit_user.id.to_s, xhr: true
|
68
68
|
assert_equal 200, status
|
69
69
|
|
70
|
-
put '/rails/db/tables/users/update?pk_id=' + edit_user.id.to_s,
|
70
|
+
put '/rails/db/tables/users/update?pk_id=' + edit_user.id.to_s, xhr: true, params: { record: { name: 'JOHN' }}
|
71
71
|
assert_equal 200, status
|
72
72
|
edit_user.reload
|
73
73
|
assert_equal 'JOHN', edit_user.name
|
@@ -76,14 +76,14 @@ class DashboardControllerTest < ActionDispatch::IntegrationTest
|
|
76
76
|
assert_equal 200, status
|
77
77
|
|
78
78
|
assert_equal 2, User.count
|
79
|
-
post '/rails/db/tables/users/create',
|
79
|
+
post '/rails/db/tables/users/create', xhr: true, params: { record: { name: 'XXX' }}
|
80
80
|
assert_equal 200, status
|
81
81
|
assert_equal 3, User.count
|
82
82
|
|
83
83
|
get '/rails/db/tables/users/edit?pk_id=' + customer.id.to_s, xhr: true
|
84
84
|
assert_equal 200, status
|
85
85
|
|
86
|
-
put '/rails/db/tables/users/update?pk_id=' + customer.id.to_s,
|
86
|
+
put '/rails/db/tables/users/update?pk_id=' + customer.id.to_s, xhr: true, params: { record: { name: 'STI' }}
|
87
87
|
assert_equal 200, status
|
88
88
|
customer.reload
|
89
89
|
assert_equal 'STI', customer.name
|
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
# of editing this file, please use the migrations feature of Active Record to
|
3
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
4
4
|
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
# from scratch.
|
9
|
-
#
|
5
|
+
# This file is the source Rails uses to define your schema when running `bin/rails
|
6
|
+
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
|
7
|
+
# be faster and is potentially less error prone than running all of your
|
8
|
+
# migrations from scratch. Old migrations may fail to apply correctly if those
|
9
|
+
# migrations use external dependencies or application code.
|
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: 2021_06_26_083314) do
|
14
14
|
|
15
15
|
create_table "accounts", force: :cascade do |t|
|
16
16
|
t.string "name"
|
@@ -49,46 +49,46 @@ ActiveRecord::Schema.define(version: 20180528134358) do
|
|
49
49
|
|
50
50
|
create_table "projects", force: :cascade do |t|
|
51
51
|
t.string "name"
|
52
|
-
t.string "
|
53
|
-
t.string "
|
54
|
-
t.string "
|
55
|
-
t.string "
|
56
|
-
t.string "
|
57
|
-
t.string "
|
58
|
-
t.string "
|
59
|
-
t.string "
|
60
|
-
t.string "
|
61
|
-
t.string "
|
62
|
-
t.string "
|
63
|
-
t.string "
|
64
|
-
t.string "
|
65
|
-
t.string "
|
66
|
-
t.string "
|
67
|
-
t.string "
|
68
|
-
t.string "
|
69
|
-
t.string "
|
70
|
-
t.string "
|
71
|
-
t.string "
|
72
|
-
t.integer "
|
73
|
-
t.integer "
|
74
|
-
t.integer "
|
75
|
-
t.integer "
|
76
|
-
t.integer "
|
77
|
-
t.integer "
|
78
|
-
t.integer "
|
79
|
-
t.integer "
|
80
|
-
t.integer "
|
81
|
-
t.integer "
|
82
|
-
t.integer "
|
83
|
-
t.integer "
|
84
|
-
t.integer "
|
85
|
-
t.integer "
|
86
|
-
t.integer "
|
87
|
-
t.integer "
|
88
|
-
t.integer "
|
89
|
-
t.integer "
|
90
|
-
t.integer "
|
91
|
-
t.integer "
|
52
|
+
t.string "description_245592"
|
53
|
+
t.string "description_450580"
|
54
|
+
t.string "description_183349"
|
55
|
+
t.string "description_341325"
|
56
|
+
t.string "description_277196"
|
57
|
+
t.string "description_943405"
|
58
|
+
t.string "description_904897"
|
59
|
+
t.string "description_267877"
|
60
|
+
t.string "description_47807"
|
61
|
+
t.string "description_713494"
|
62
|
+
t.string "description_696562"
|
63
|
+
t.string "description_976508"
|
64
|
+
t.string "description_918800"
|
65
|
+
t.string "description_27002"
|
66
|
+
t.string "description_393763"
|
67
|
+
t.string "description_960166"
|
68
|
+
t.string "description_804457"
|
69
|
+
t.string "description_684568"
|
70
|
+
t.string "description_98716"
|
71
|
+
t.string "description_337791"
|
72
|
+
t.integer "amount_584190"
|
73
|
+
t.integer "amount_898177"
|
74
|
+
t.integer "amount_599511"
|
75
|
+
t.integer "amount_308345"
|
76
|
+
t.integer "amount_572259"
|
77
|
+
t.integer "amount_562080"
|
78
|
+
t.integer "amount_684853"
|
79
|
+
t.integer "amount_77648"
|
80
|
+
t.integer "amount_377109"
|
81
|
+
t.integer "amount_246825"
|
82
|
+
t.integer "amount_91844"
|
83
|
+
t.integer "amount_787673"
|
84
|
+
t.integer "amount_158730"
|
85
|
+
t.integer "amount_331843"
|
86
|
+
t.integer "amount_540084"
|
87
|
+
t.integer "amount_780019"
|
88
|
+
t.integer "amount_745694"
|
89
|
+
t.integer "amount_715202"
|
90
|
+
t.integer "amount_887110"
|
91
|
+
t.integer "amount_607339"
|
92
92
|
t.datetime "created_at", null: false
|
93
93
|
t.datetime "updated_at", null: false
|
94
94
|
t.datetime "deleted_at"
|
@@ -113,6 +113,7 @@ ActiveRecord::Schema.define(version: 20180528134358) do
|
|
113
113
|
t.date "dob"
|
114
114
|
t.boolean "active", default: true
|
115
115
|
t.string "type"
|
116
|
+
t.string "country"
|
116
117
|
t.index ["account_id"], name: "index_users_on_account_id"
|
117
118
|
t.index ["name"], name: "index_users_on_name"
|
118
119
|
t.index ["salary"], name: "index_users_on_salary"
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -223,3 +223,335 @@ Processing by RailsDb::TablesController#create as JS
|
|
223
223
|
Completed 200 OK in 3869ms (Views: 45.0ms | ActiveRecord: 3.1ms | Allocations: 71502)
|
224
224
|
|
225
225
|
|
226
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
227
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
228
|
+
Migrating to AddCountryColumn (20210626083314)
|
229
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
230
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "users" ADD "country" varchar[0m
|
231
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20210626083314"]]
|
232
|
+
[1m[36mTRANSACTION (2.1ms)[0m [1m[36mcommit transaction[0m
|
233
|
+
[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]]
|
234
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
235
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
236
|
+
Started GET "/" for 192.168.0.108 at 2021-06-26 01:33:49 -0700
|
237
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
238
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
239
|
+
Processing by HomeController#index as HTML
|
240
|
+
Rendering layout layouts/application.html.erb
|
241
|
+
Rendering home/index.html.erb within layouts/application
|
242
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0[0m
|
243
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.7ms | Allocations: 645)
|
244
|
+
[1m[35m (0.1ms)[0m [1m[34mselect id, name, age from users order by age desc limit 10[0m
|
245
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.5ms | Allocations: 536)
|
246
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
247
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
248
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "accounts"[0m
|
249
|
+
Rendered home/index.html.erb within layouts/application (Duration: 16.1ms | Allocations: 7109)
|
250
|
+
Rendered layout layouts/application.html.erb (Duration: 289.4ms | Allocations: 137068)
|
251
|
+
Completed 200 OK in 300ms (Views: 291.1ms | ActiveRecord: 1.0ms | Allocations: 140645)
|
252
|
+
|
253
|
+
|
254
|
+
Started GET "/assets/application.debug-421266e152cbfb3f2385f564b9be42243c2ab61de590ce6647e3cd742050ed48.css" for 192.168.0.108 at 2021-06-26 01:33:49 -0700
|
255
|
+
Started GET "/assets/application.debug-a1cb7dfbf90892f06b5c91607f1d134a954845da49f4def90ffc484e298dfb23.js" for 192.168.0.108 at 2021-06-26 01:33:49 -0700
|
256
|
+
Started GET "/rails/db" for 192.168.0.108 at 2021-06-26 01:33:51 -0700
|
257
|
+
Processing by RailsDb::DashboardController#index as HTML
|
258
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
259
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
|
260
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.9ms | Allocations: 953)
|
261
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.2ms | Allocations: 2409)
|
262
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.6ms | Allocations: 915)
|
263
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.4ms | Allocations: 410)
|
264
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 2.6ms | Allocations: 1708)
|
265
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 105.4ms | Allocations: 83456)
|
266
|
+
Completed 200 OK in 107ms (Views: 106.3ms | ActiveRecord: 0.1ms | Allocations: 84715)
|
267
|
+
|
268
|
+
|
269
|
+
Started GET "/assets/rails_db/application.debug-b68d73bfa75c10a9608a0ddbff28c38f96a3dd0fee187b37a39ae32277ddcd34.js" for 192.168.0.108 at 2021-06-26 01:33:51 -0700
|
270
|
+
Started GET "/assets/rails_db/application.debug-f7c4d149f5a7e42e5f900c7e0f454055e2baa311b79aec7c34816e77d8329481.css" for 192.168.0.108 at 2021-06-26 01:33:51 -0700
|
271
|
+
Started GET "/assets/rails_db/logo_mini-e46c13b71074493bb7845fa9e5838957fc7f4825088d7474700e8ecad3a12cb0.png" for 192.168.0.108 at 2021-06-26 01:33:51 -0700
|
272
|
+
Started GET "/assets/rails_db/logo-72ddb38e7d2961f79f60a852fe496dbd533ffae37f9591ddf5c5ce3eb500b9c9.png" for 192.168.0.108 at 2021-06-26 01:33:51 -0700
|
273
|
+
Started GET "/rails/db/tables/users/data" for 192.168.0.108 at 2021-06-26 01:33:53 -0700
|
274
|
+
Processing by RailsDb::TablesController#data as JS
|
275
|
+
Parameters: {"table_id"=>"users"}
|
276
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
277
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/data.js.erb
|
278
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.6ms | Allocations: 146)
|
279
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 48.1ms | Allocations: 32423)
|
280
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 28.1ms | Allocations: 7540)
|
281
|
+
[1m[36m Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
282
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.0ms | Allocations: 1504)
|
283
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.5ms | Allocations: 1202)
|
284
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.7ms | Allocations: 1207)
|
285
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
286
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
287
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.2ms | Allocations: 116)
|
288
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 116.1ms | Allocations: 68169)
|
289
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/data.js.erb (Duration: 118.3ms | Allocations: 70177)
|
290
|
+
Completed 200 OK in 133ms (Views: 117.3ms | ActiveRecord: 3.6ms | Allocations: 74111)
|
291
|
+
|
292
|
+
|
293
|
+
Started GET "/rails/db/tables/users/new" for 192.168.0.108 at 2021-06-26 01:33:55 -0700
|
294
|
+
Processing by RailsDb::TablesController#new as JS
|
295
|
+
Parameters: {"table_id"=>"users"}
|
296
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
297
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/new.js.erb
|
298
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 30.5ms | Allocations: 21134)
|
299
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 32.2ms | Allocations: 21592)
|
300
|
+
Completed 500 Internal Server Error in 43ms (ActiveRecord: 2.5ms | Allocations: 27941)
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
ActionView::Template::Error (undefined method `country_select' for #<SimpleForm::FormBuilder:0x00007fe9446a1d48>):
|
305
|
+
7: <% @record.class.columns.each do |column| %>
|
306
|
+
8: <% name = column.name %>
|
307
|
+
9: <% next if [@table.primary_key, 'created_at', 'updated_at'].include?(column.name) %>
|
308
|
+
10: <%= form.input name, label: name %>
|
309
|
+
11: <% end %>
|
310
|
+
12: </div>
|
311
|
+
13: <%= form.submit 'SAVE', class: 'button small' %>
|
312
|
+
|
313
|
+
simple_form (5.1.0) lib/simple_form/inputs/priority_input.rb:8:in `input'
|
314
|
+
simple_form (5.1.0) lib/simple_form/components/label_input.rb:29:in `call'
|
315
|
+
simple_form (5.1.0) lib/simple_form/components/label_input.rb:29:in `deprecated_component'
|
316
|
+
simple_form (5.1.0) lib/simple_form/components/label_input.rb:15:in `label_input'
|
317
|
+
simple_form (5.1.0) lib/simple_form/wrappers/leaf.rb:20:in `call'
|
318
|
+
simple_form (5.1.0) lib/simple_form/wrappers/leaf.rb:20:in `render'
|
319
|
+
simple_form (5.1.0) lib/simple_form/wrappers/many.rb:29:in `block in render'
|
320
|
+
simple_form (5.1.0) lib/simple_form/wrappers/many.rb:27:in `each'
|
321
|
+
simple_form (5.1.0) lib/simple_form/wrappers/many.rb:27:in `render'
|
322
|
+
simple_form (5.1.0) lib/simple_form/wrappers/root.rb:16:in `render'
|
323
|
+
simple_form (5.1.0) lib/simple_form/form_builder.rb:124:in `input'
|
324
|
+
/root/projects/rails_db/app/views/rails_db/tables/_new.html.erb:10
|
325
|
+
/root/projects/rails_db/app/views/rails_db/tables/_new.html.erb:7:in `each'
|
326
|
+
/root/projects/rails_db/app/views/rails_db/tables/_new.html.erb:7
|
327
|
+
actionview (6.1.3.2) lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
|
328
|
+
actionview (6.1.3.2) lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
|
329
|
+
actionview (6.1.3.2) lib/action_view/helpers/capture_helper.rb:45:in `capture'
|
330
|
+
actionview (6.1.3.2) lib/action_view/helpers/form_helper.rb:450:in `form_for'
|
331
|
+
simple_form (5.1.0) lib/simple_form/action_view_extensions/form_helper.rb:27:in `block in simple_form_for'
|
332
|
+
simple_form (5.1.0) lib/simple_form/action_view_extensions/form_helper.rb:46:in `with_simple_form_field_error_proc'
|
333
|
+
simple_form (5.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `simple_form_for'
|
334
|
+
/root/projects/rails_db/app/views/rails_db/tables/_new.html.erb:5
|
335
|
+
actionview (6.1.3.2) lib/action_view/base.rb:247:in `public_send'
|
336
|
+
actionview (6.1.3.2) lib/action_view/base.rb:247:in `_run'
|
337
|
+
actionview (6.1.3.2) lib/action_view/template.rb:154:in `block in render'
|
338
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:205:in `instrument'
|
339
|
+
actionview (6.1.3.2) lib/action_view/template.rb:345:in `instrument_render_template'
|
340
|
+
actionview (6.1.3.2) lib/action_view/template.rb:152:in `render'
|
341
|
+
actionview (6.1.3.2) lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template'
|
342
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:203:in `block in instrument'
|
343
|
+
activesupport (6.1.3.2) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
|
344
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:203:in `instrument'
|
345
|
+
actionview (6.1.3.2) lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template'
|
346
|
+
actionview (6.1.3.2) lib/action_view/renderer/partial_renderer.rb:271:in `render'
|
347
|
+
actionview (6.1.3.2) lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object'
|
348
|
+
actionview (6.1.3.2) lib/action_view/renderer/renderer.rb:53:in `render_partial'
|
349
|
+
actionview (6.1.3.2) lib/action_view/helpers/rendering_helper.rb:45:in `render'
|
350
|
+
/root/projects/rails_db/app/views/rails_db/tables/new.js.erb:1
|
351
|
+
actionview (6.1.3.2) lib/action_view/base.rb:247:in `public_send'
|
352
|
+
actionview (6.1.3.2) lib/action_view/base.rb:247:in `_run'
|
353
|
+
actionview (6.1.3.2) lib/action_view/template.rb:154:in `block in render'
|
354
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:205:in `instrument'
|
355
|
+
actionview (6.1.3.2) lib/action_view/template.rb:345:in `instrument_render_template'
|
356
|
+
actionview (6.1.3.2) lib/action_view/template.rb:152:in `render'
|
357
|
+
actionview (6.1.3.2) lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'
|
358
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:203:in `block in instrument'
|
359
|
+
activesupport (6.1.3.2) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
|
360
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:203:in `instrument'
|
361
|
+
actionview (6.1.3.2) lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'
|
362
|
+
actionview (6.1.3.2) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
|
363
|
+
actionview (6.1.3.2) lib/action_view/renderer/template_renderer.rb:55:in `render_template'
|
364
|
+
actionview (6.1.3.2) lib/action_view/renderer/template_renderer.rb:11:in `render'
|
365
|
+
actionview (6.1.3.2) lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
|
366
|
+
actionview (6.1.3.2) lib/action_view/renderer/renderer.rb:29:in `render_to_object'
|
367
|
+
actionview (6.1.3.2) lib/action_view/rendering.rb:117:in `block in _render_template'
|
368
|
+
actionview (6.1.3.2) lib/action_view/base.rb:273:in `in_rendering_context'
|
369
|
+
actionview (6.1.3.2) lib/action_view/rendering.rb:116:in `_render_template'
|
370
|
+
actionpack (6.1.3.2) lib/action_controller/metal/streaming.rb:218:in `_render_template'
|
371
|
+
actionview (6.1.3.2) lib/action_view/rendering.rb:103:in `render_to_body'
|
372
|
+
actionpack (6.1.3.2) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
|
373
|
+
actionpack (6.1.3.2) lib/action_controller/metal/renderers.rb:142:in `render_to_body'
|
374
|
+
actionpack (6.1.3.2) lib/abstract_controller/rendering.rb:25:in `render'
|
375
|
+
actionpack (6.1.3.2) lib/action_controller/metal/rendering.rb:36:in `render'
|
376
|
+
actionpack (6.1.3.2) lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
|
377
|
+
/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
|
378
|
+
activesupport (6.1.3.2) lib/active_support/core_ext/benchmark.rb:14:in `ms'
|
379
|
+
actionpack (6.1.3.2) lib/action_controller/metal/instrumentation.rb:46:in `block in render'
|
380
|
+
actionpack (6.1.3.2) lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
|
381
|
+
activerecord (6.1.3.2) lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
|
382
|
+
actionpack (6.1.3.2) lib/action_controller/metal/instrumentation.rb:45:in `render'
|
383
|
+
actionpack (6.1.3.2) lib/action_controller/metal/implicit_render.rb:35:in `default_render'
|
384
|
+
actionpack (6.1.3.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
|
385
|
+
actionpack (6.1.3.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
|
386
|
+
actionpack (6.1.3.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
|
387
|
+
actionpack (6.1.3.2) lib/abstract_controller/base.rb:228:in `process_action'
|
388
|
+
actionpack (6.1.3.2) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
389
|
+
actionpack (6.1.3.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
|
390
|
+
activesupport (6.1.3.2) lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
391
|
+
actiontext (6.1.3.2) lib/action_text/rendering.rb:20:in `with_renderer'
|
392
|
+
actiontext (6.1.3.2) lib/action_text/engine.rb:55:in `block (4 levels) in <class:Engine>'
|
393
|
+
activesupport (6.1.3.2) lib/active_support/callbacks.rb:126:in `instance_exec'
|
394
|
+
activesupport (6.1.3.2) lib/active_support/callbacks.rb:126:in `block in run_callbacks'
|
395
|
+
activesupport (6.1.3.2) lib/active_support/callbacks.rb:137:in `run_callbacks'
|
396
|
+
actionpack (6.1.3.2) lib/abstract_controller/callbacks.rb:41:in `process_action'
|
397
|
+
actionpack (6.1.3.2) lib/action_controller/metal/rescue.rb:22:in `process_action'
|
398
|
+
actionpack (6.1.3.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
|
399
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:203:in `block in instrument'
|
400
|
+
activesupport (6.1.3.2) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
|
401
|
+
activesupport (6.1.3.2) lib/active_support/notifications.rb:203:in `instrument'
|
402
|
+
actionpack (6.1.3.2) lib/action_controller/metal/instrumentation.rb:33:in `process_action'
|
403
|
+
actionpack (6.1.3.2) lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
|
404
|
+
activerecord (6.1.3.2) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
|
405
|
+
actionpack (6.1.3.2) lib/abstract_controller/base.rb:165:in `process'
|
406
|
+
actionview (6.1.3.2) lib/action_view/rendering.rb:39:in `process'
|
407
|
+
actionpack (6.1.3.2) lib/action_controller/metal.rb:190:in `dispatch'
|
408
|
+
actionpack (6.1.3.2) lib/action_controller/metal.rb:254:in `dispatch'
|
409
|
+
actionpack (6.1.3.2) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
|
410
|
+
actionpack (6.1.3.2) lib/action_dispatch/routing/route_set.rb:33:in `serve'
|
411
|
+
actionpack (6.1.3.2) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
412
|
+
actionpack (6.1.3.2) lib/action_dispatch/journey/router.rb:32:in `each'
|
413
|
+
actionpack (6.1.3.2) lib/action_dispatch/journey/router.rb:32:in `serve'
|
414
|
+
actionpack (6.1.3.2) lib/action_dispatch/routing/route_set.rb:842:in `call'
|
415
|
+
railties (6.1.3.2) lib/rails/engine.rb:539:in `call'
|
416
|
+
railties (6.1.3.2) lib/rails/railtie.rb:207:in `public_send'
|
417
|
+
railties (6.1.3.2) lib/rails/railtie.rb:207:in `method_missing'
|
418
|
+
actionpack (6.1.3.2) lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
|
419
|
+
actionpack (6.1.3.2) lib/action_dispatch/routing/mapper.rb:49:in `serve'
|
420
|
+
actionpack (6.1.3.2) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
421
|
+
actionpack (6.1.3.2) lib/action_dispatch/journey/router.rb:32:in `each'
|
422
|
+
actionpack (6.1.3.2) lib/action_dispatch/journey/router.rb:32:in `serve'
|
423
|
+
actionpack (6.1.3.2) lib/action_dispatch/routing/route_set.rb:842:in `call'
|
424
|
+
rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call'
|
425
|
+
rack (2.2.3) lib/rack/etag.rb:27:in `call'
|
426
|
+
rack (2.2.3) lib/rack/conditional_get.rb:27:in `call'
|
427
|
+
rack (2.2.3) lib/rack/head.rb:12:in `call'
|
428
|
+
actionpack (6.1.3.2) lib/action_dispatch/http/permissions_policy.rb:22:in `call'
|
429
|
+
actionpack (6.1.3.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
|
430
|
+
rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context'
|
431
|
+
rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call'
|
432
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/cookies.rb:689:in `call'
|
433
|
+
activerecord (6.1.3.2) lib/active_record/migration.rb:601:in `call'
|
434
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
|
435
|
+
activesupport (6.1.3.2) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
436
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
437
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
438
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
|
439
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
|
440
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
441
|
+
railties (6.1.3.2) lib/rails/rack/logger.rb:37:in `call_app'
|
442
|
+
railties (6.1.3.2) lib/rails/rack/logger.rb:26:in `block in call'
|
443
|
+
activesupport (6.1.3.2) lib/active_support/tagged_logging.rb:99:in `block in tagged'
|
444
|
+
activesupport (6.1.3.2) lib/active_support/tagged_logging.rb:37:in `tagged'
|
445
|
+
activesupport (6.1.3.2) lib/active_support/tagged_logging.rb:99:in `tagged'
|
446
|
+
railties (6.1.3.2) lib/rails/rack/logger.rb:26:in `call'
|
447
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
448
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/request_id.rb:26:in `call'
|
449
|
+
rack (2.2.3) lib/rack/method_override.rb:24:in `call'
|
450
|
+
rack (2.2.3) lib/rack/runtime.rb:22:in `call'
|
451
|
+
activesupport (6.1.3.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
452
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
453
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/static.rb:24:in `call'
|
454
|
+
rack (2.2.3) lib/rack/sendfile.rb:110:in `call'
|
455
|
+
actionpack (6.1.3.2) lib/action_dispatch/middleware/host_authorization.rb:92:in `call'
|
456
|
+
railties (6.1.3.2) lib/rails/engine.rb:539:in `call'
|
457
|
+
rack (2.2.3) lib/rack/handler/webrick.rb:95:in `service'
|
458
|
+
/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
|
459
|
+
/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
|
460
|
+
/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
|
461
|
+
Started GET "/rails/db/tables/users/new" for 192.168.0.108 at 2021-06-26 01:36:10 -0700
|
462
|
+
Processing by RailsDb::TablesController#new as JS
|
463
|
+
Parameters: {"table_id"=>"users"}
|
464
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
465
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/new.js.erb
|
466
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 21.0ms | Allocations: 17112)
|
467
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 22.2ms | Allocations: 18054)
|
468
|
+
Completed 200 OK in 35ms (Views: 21.5ms | ActiveRecord: 2.7ms | Allocations: 25993)
|
469
|
+
|
470
|
+
|
471
|
+
Started GET "/rails/db/tables/users/edit?pk_id=2" for 192.168.0.108 at 2021-06-26 01:36:16 -0700
|
472
|
+
Processing by RailsDb::TablesController#edit as JS
|
473
|
+
Parameters: {"pk_id"=>"2", "table_id"=>"users"}
|
474
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
475
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
476
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
477
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 26.0ms | Allocations: 23374)
|
478
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 27.5ms | Allocations: 25585)
|
479
|
+
Completed 200 OK in 41ms (Views: 26.0ms | ActiveRecord: 2.6ms | Allocations: 32111)
|
480
|
+
|
481
|
+
|
482
|
+
Started PUT "/rails/db/tables/users/update?pk_id=2" for 192.168.0.108 at 2021-06-26 01:36:19 -0700
|
483
|
+
Processing by RailsDb::TablesController#update as JS
|
484
|
+
Parameters: {"utf8"=>"✓", "record"=>{"name"=>"Bob Jones", "age"=>"22", "salary"=>"", "bio"=>"This is BIO", "created_at(1i)"=>"2018", "created_at(2i)"=>"5", "created_at(3i)"=>"12", "created_at(4i)"=>"21", "created_at(5i)"=>"19", "updated_at(1i)"=>"2018", "updated_at(2i)"=>"5", "updated_at(3i)"=>"12", "updated_at(4i)"=>"21", "updated_at(5i)"=>"19", "account_id"=>"1", "dob(1i)"=>"", "dob(2i)"=>"", "dob(3i)"=>"", "active"=>"1", "type"=>"", "country"=>"111"}, "commit"=>"SAVE", "pk_id"=>"2", "table_id"=>"users"}
|
485
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
486
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
487
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
488
|
+
[1m[36m#<Class:0x00007fe945636128> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "created_at" = ?, "updated_at" = ?, "type" = ?, "country" = ? WHERE "users"."id" = ?[0m [["created_at", "2018-05-12 21:19:00"], ["updated_at", "2018-05-12 21:19:00"], ["type", ""], ["country", "111"], ["id", 2]]
|
489
|
+
[1m[36mTRANSACTION (2.2ms)[0m [1m[36mcommit transaction[0m
|
490
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/update.js.erb
|
491
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.9ms | Allocations: 1814)
|
492
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 4.1ms | Allocations: 2501)
|
493
|
+
Completed 200 OK in 25ms (Views: 3.5ms | ActiveRecord: 3.9ms | Allocations: 9972)
|
494
|
+
|
495
|
+
|
496
|
+
Started GET "/rails/db/tables/users/edit?pk_id=3" for 192.168.0.108 at 2021-06-26 01:36:20 -0700
|
497
|
+
Processing by RailsDb::TablesController#edit as JS
|
498
|
+
Parameters: {"pk_id"=>"3", "table_id"=>"users"}
|
499
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
500
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
501
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
502
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 34.4ms | Allocations: 22690)
|
503
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 35.7ms | Allocations: 24580)
|
504
|
+
Completed 200 OK in 49ms (Views: 34.0ms | ActiveRecord: 2.9ms | Allocations: 30829)
|
505
|
+
|
506
|
+
|
507
|
+
Started PUT "/rails/db/tables/users/update?pk_id=3" for 192.168.0.108 at 2021-06-26 01:36:24 -0700
|
508
|
+
Processing by RailsDb::TablesController#update as JS
|
509
|
+
Parameters: {"utf8"=>"✓", "record"=>{"name"=>"Anna Smith", "age"=>"28", "salary"=>"100.0", "bio"=>"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ligula arcu, commodo et mauris ut, efficitur aliquet ex. Aliquam iaculis justo maximus, dapibus nibh a, tincidunt enim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque hendrerit pharetra nulla, ac euismod tellus rutrum non. Ut tortor enim, tincidunt vitae pharetra quis, tincidunt sit amet felis. Sed convallis nulla sed urna finibus aliquet. Aliquam a molestie orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum in finibus sem, ut sagittis enim.\nSed nulla sem, suscipit sit amet lobortis eget, gravida in lectus. In sagittis urna sit amet commodo egestas. Donec vulputate, orci ac gravida congue, orci arcu facilisis ante, sed blandit quam lacus ullamcorper eros. Duis vitae sem et eros luctus tempor et ut neque. Donec at molestie quam, vel gravida velit. Etiam eu consectetur massa, sit amet vehicula risus. Nullam elementum, neque non dignissim dignissim, arcu erat lobortis orci, quis venenatis eros nibh ac risus.", "created_at(1i)"=>"2018", "created_at(2i)"=>"5", "created_at(3i)"=>"12", "created_at(4i)"=>"21", "created_at(5i)"=>"19", "updated_at(1i)"=>"2018", "updated_at(2i)"=>"5", "updated_at(3i)"=>"12", "updated_at(4i)"=>"21", "updated_at(5i)"=>"19", "account_id"=>"1", "dob(1i)"=>"", "dob(2i)"=>"", "dob(3i)"=>"", "active"=>"1", "type"=>"", "country"=>"1111"}, "commit"=>"SAVE", "pk_id"=>"3", "table_id"=>"users"}
|
510
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
511
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
512
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
513
|
+
[1m[36m#<Class:0x0000000004a55b00> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "created_at" = ?, "updated_at" = ?, "type" = ?, "country" = ? WHERE "users"."id" = ?[0m [["created_at", "2018-05-12 21:19:00"], ["updated_at", "2018-05-12 21:19:00"], ["type", ""], ["country", "1111"], ["id", 3]]
|
514
|
+
[1m[36mTRANSACTION (2.6ms)[0m [1m[36mcommit transaction[0m
|
515
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/update.js.erb
|
516
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 4.3ms | Allocations: 1554)
|
517
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 5.4ms | Allocations: 1891)
|
518
|
+
Completed 200 OK in 27ms (Views: 4.2ms | ActiveRecord: 5.1ms | Allocations: 9024)
|
519
|
+
|
520
|
+
|
521
|
+
Started GET "/rails/db/tables/users/edit?pk_id=3" for 192.168.0.108 at 2021-06-26 01:36:26 -0700
|
522
|
+
Processing by RailsDb::TablesController#edit as JS
|
523
|
+
Parameters: {"pk_id"=>"3", "table_id"=>"users"}
|
524
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
525
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
526
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
527
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 21.8ms | Allocations: 22667)
|
528
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 22.6ms | Allocations: 24559)
|
529
|
+
Completed 200 OK in 35ms (Views: 21.1ms | ActiveRecord: 2.3ms | Allocations: 30809)
|
530
|
+
|
531
|
+
|
532
|
+
Started GET "/rails/db/tables/users/data" for 192.168.0.108 at 2021-06-26 01:36:27 -0700
|
533
|
+
Processing by RailsDb::TablesController#data as HTML
|
534
|
+
Parameters: {"table_id"=>"users"}
|
535
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
536
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
537
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
|
538
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.2ms | Allocations: 139)
|
539
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.0ms | Allocations: 7783)
|
540
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.9ms | Allocations: 7537)
|
541
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
542
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.9ms | Allocations: 1212)
|
543
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.4ms | Allocations: 1197)
|
544
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.3ms | Allocations: 1203)
|
545
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
546
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
547
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.3ms | Allocations: 112)
|
548
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 51.0ms | Allocations: 42108)
|
549
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 51.8ms | Allocations: 42444)
|
550
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.6ms | Allocations: 1835)
|
551
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.1ms | Allocations: 894)
|
552
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.3ms | Allocations: 384)
|
553
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.4ms | Allocations: 1659)
|
554
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 63.2ms | Allocations: 60496)
|
555
|
+
Completed 200 OK in 74ms (Views: 61.1ms | ActiveRecord: 3.2ms | Allocations: 62998)
|
556
|
+
|
557
|
+
|