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
data/test/dummy/log/test.log
CHANGED
@@ -1931,3 +1931,1069 @@ DatabaseTest: test_adapter
|
|
1931
1931
|
DatabaseTest: test_accessible_tables
|
1932
1932
|
------------------------------------
|
1933
1933
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1934
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1935
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
1936
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1937
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1938
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1939
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1940
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1941
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1942
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1943
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1944
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1945
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "accounts"[0m
|
1946
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "accounts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "users_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1947
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "comments"[0m
|
1948
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1949
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "contacts"[0m
|
1950
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "contacts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1951
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_contacts_on_name_and_email" ON "contacts" ("name", "email")[0m
|
1952
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "legacy_accounts"[0m
|
1953
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "legacy_accounts" ("uuid" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
|
1954
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "payments"[0m
|
1955
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "payments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal, "project_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1956
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_payments_on_project_id" ON "payments" ("project_id")[0m
|
1957
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "projects"[0m
|
1958
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "projects" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description_245592" varchar, "description_450580" varchar, "description_183349" varchar, "description_341325" varchar, "description_277196" varchar, "description_943405" varchar, "description_904897" varchar, "description_267877" varchar, "description_47807" varchar, "description_713494" varchar, "description_696562" varchar, "description_976508" varchar, "description_918800" varchar, "description_27002" varchar, "description_393763" varchar, "description_960166" varchar, "description_804457" varchar, "description_684568" varchar, "description_98716" varchar, "description_337791" varchar, "amount_584190" integer, "amount_898177" integer, "amount_599511" integer, "amount_308345" integer, "amount_572259" integer, "amount_562080" integer, "amount_684853" integer, "amount_77648" integer, "amount_377109" integer, "amount_246825" integer, "amount_91844" integer, "amount_787673" integer, "amount_158730" integer, "amount_331843" integer, "amount_540084" integer, "amount_780019" integer, "amount_745694" integer, "amount_715202" integer, "amount_887110" integer, "amount_607339" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)[0m
|
1959
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_projects_on_deleted_at" ON "projects" ("deleted_at")[0m
|
1960
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "projects_users"[0m
|
1961
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "projects_users" ("project_id" integer, "user_id" integer)[0m
|
1962
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_projects_users_on_project_id" ON "projects_users" ("project_id")[0m
|
1963
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_projects_users_on_user_id" ON "projects_users" ("user_id")[0m
|
1964
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1965
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "salary" decimal, "bio" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "account_id" integer, "dob" date, "active" boolean DEFAULT 1, "type" varchar, "country" varchar)[0m
|
1966
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_users_on_account_id" ON "users" ("account_id")[0m
|
1967
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_users_on_name" ON "users" ("name")[0m
|
1968
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_users_on_salary" ON "users" ("salary")[0m
|
1969
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1970
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1971
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20210626083314)[0m
|
1972
|
+
[1m[35m (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1973
|
+
(20151013203739),
|
1974
|
+
(20151013203757),
|
1975
|
+
(20151013204027),
|
1976
|
+
(20151014074454),
|
1977
|
+
(20151014074655),
|
1978
|
+
(20151014152932),
|
1979
|
+
(20151014183823),
|
1980
|
+
(20151014184243),
|
1981
|
+
(20151015145740),
|
1982
|
+
(20151027192250),
|
1983
|
+
(20151027223149),
|
1984
|
+
(20151028191429),
|
1985
|
+
(20151121125538),
|
1986
|
+
(20170126124628),
|
1987
|
+
(20180528134358);
|
1988
|
+
|
1989
|
+
[0m
|
1990
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
1991
|
+
[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]]
|
1992
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1993
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2021-06-26 08:39:35.650978"], ["updated_at", "2021-06-26 08:39:35.650978"]]
|
1994
|
+
[1m[36mTRANSACTION (1.8ms)[0m [1m[36mcommit transaction[0m
|
1995
|
+
[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]]
|
1996
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1997
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1998
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "435b916cd0980f6986e43360de54a86fa2ce09b6"], ["created_at", "2021-06-26 08:39:35.654752"], ["updated_at", "2021-06-26 08:39:35.654752"]]
|
1999
|
+
[1m[36mTRANSACTION (1.6ms)[0m [1m[36mcommit transaction[0m
|
2000
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2001
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2002
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2003
|
+
----------------------------------------------
|
2004
|
+
DashboardControllerTest: test_should_get_index
|
2005
|
+
----------------------------------------------
|
2006
|
+
[1m[36mUser Destroy (0.2ms)[0m [1m[31mDELETE FROM "users"[0m
|
2007
|
+
[1m[36mAccount Destroy (0.0ms)[0m [1m[31mDELETE FROM "accounts"[0m
|
2008
|
+
[1m[36mCustomer Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
2009
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2010
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:35.774332"], ["updated_at", "2021-06-26 08:39:35.774332"]]
|
2011
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2012
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2013
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Edit"], ["created_at", "2021-06-26 08:39:35.775613"], ["updated_at", "2021-06-26 08:39:35.775613"]]
|
2014
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2015
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2016
|
+
[1m[36mCustomer Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?)[0m [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2021-06-26 08:39:35.781020"], ["updated_at", "2021-06-26 08:39:35.781020"], ["type", "Customer"]]
|
2017
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2018
|
+
Started GET "/rails/db" for 127.0.0.1 at 2021-06-26 01:39:35 -0700
|
2019
|
+
Processing by RailsDb::DashboardController#index as HTML
|
2020
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2021
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
|
2022
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 36.7ms | Allocations: 22350)
|
2023
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.1ms | Allocations: 2203)
|
2024
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.1ms | Allocations: 908)
|
2025
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.5ms | Allocations: 410)
|
2026
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 2.0ms | Allocations: 1690)
|
2027
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 48.5ms | Allocations: 30149)
|
2028
|
+
Completed 200 OK in 58ms (Views: 50.4ms | ActiveRecord: 0.1ms | Allocations: 33850)
|
2029
|
+
Started GET "/rails/db/tables/users" for 127.0.0.1 at 2021-06-26 01:39:35 -0700
|
2030
|
+
Processing by RailsDb::TablesController#show as HTML
|
2031
|
+
Parameters: {"id"=>"users"}
|
2032
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2033
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
|
2034
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.2ms | Allocations: 146)
|
2035
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 8.0ms | Allocations: 7440)
|
2036
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 8.4ms | Allocations: 7758)
|
2037
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1057)
|
2038
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 675)
|
2039
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2040
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.5ms | Allocations: 605)
|
2041
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 11.6ms | Allocations: 11977)
|
2042
|
+
Completed 200 OK in 13ms (Views: 8.9ms | ActiveRecord: 3.6ms | Allocations: 13111)
|
2043
|
+
Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2021-06-26 01:39:35 -0700
|
2044
|
+
Processing by RailsDb::TablesController#data as HTML
|
2045
|
+
Parameters: {"table_id"=>"users"}
|
2046
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2047
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2048
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
|
2049
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2050
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 35.6ms | Allocations: 32426)
|
2051
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.0ms | Allocations: 7537)
|
2052
|
+
[1m[36m Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
2053
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 4.3ms | Allocations: 1478)
|
2054
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.6ms | Allocations: 1191)
|
2055
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.9ms | Allocations: 1195)
|
2056
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2057
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2058
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.2ms | Allocations: 116)
|
2059
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 81.4ms | Allocations: 66913)
|
2060
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 81.8ms | Allocations: 67231)
|
2061
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.6ms | Allocations: 1062)
|
2062
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.5ms | Allocations: 679)
|
2063
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2064
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.1ms | Allocations: 605)
|
2065
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 88.9ms | Allocations: 71382)
|
2066
|
+
Completed 200 OK in 98ms (Views: 84.0ms | ActiveRecord: 5.3ms | Allocations: 73279)
|
2067
|
+
Started GET "/rails/db/sql" for 127.0.0.1 at 2021-06-26 01:39:35 -0700
|
2068
|
+
Processing by RailsDb::SqlController#index as HTML
|
2069
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2070
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
|
2071
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2072
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.5ms | Allocations: 252)
|
2073
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 8.6ms | Allocations: 5898)
|
2074
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.2ms | Allocations: 1064)
|
2075
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.1ms | Allocations: 679)
|
2076
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2077
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.4ms | Allocations: 605)
|
2078
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 15.2ms | Allocations: 10294)
|
2079
|
+
Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 1.9ms | Allocations: 11345)
|
2080
|
+
Started GET "/rails/db/import" for 127.0.0.1 at 2021-06-26 01:39:35 -0700
|
2081
|
+
Processing by RailsDb::SqlController#import as HTML
|
2082
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2083
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
|
2084
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | Allocations: 120)
|
2085
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 1.4ms | Allocations: 825)
|
2086
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.7ms | Allocations: 1064)
|
2087
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 11.8ms | Allocations: 679)
|
2088
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2089
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.5ms | Allocations: 605)
|
2090
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 19.2ms | Allocations: 5217)
|
2091
|
+
Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.1ms | Allocations: 5660)
|
2092
|
+
Started GET "/rails/db/data-table" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2093
|
+
Processing by RailsDb::DashboardController#data_table as HTML
|
2094
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2095
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
|
2096
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.7ms | Allocations: 1105)
|
2097
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.6ms | Allocations: 1068)
|
2098
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 679)
|
2099
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 117)
|
2100
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.9ms | Allocations: 605)
|
2101
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.2ms | Allocations: 5504)
|
2102
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms | Allocations: 5917)
|
2103
|
+
Started GET "/" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2104
|
+
Processing by HomeController#index as HTML
|
2105
|
+
Rendering layout layouts/application.html.erb
|
2106
|
+
Rendering home/index.html.erb within layouts/application
|
2107
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0[0m
|
2108
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.7ms | Allocations: 623)
|
2109
|
+
[1m[35m (0.1ms)[0m [1m[34mselect id, name, age from users order by age desc limit 10[0m
|
2110
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.4ms | Allocations: 530)
|
2111
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2112
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
2113
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "accounts"[0m
|
2114
|
+
Rendered home/index.html.erb within layouts/application (Duration: 4.3ms | Allocations: 2791)
|
2115
|
+
Rendered layout layouts/application.html.erb (Duration: 6.8ms | Allocations: 4646)
|
2116
|
+
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.6ms | Allocations: 5789)
|
2117
|
+
Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2118
|
+
Processing by RailsDb::TablesController#data as HTML
|
2119
|
+
Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
|
2120
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2121
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2122
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
|
2123
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2124
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.8ms | Allocations: 7545)
|
2125
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.5ms | Allocations: 7537)
|
2126
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
2127
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.3ms | Allocations: 1203)
|
2128
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1199)
|
2129
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1203)
|
2130
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2131
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2132
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 6)
|
2133
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 38.0ms | Allocations: 39634)
|
2134
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 38.0ms | Allocations: 39675)
|
2135
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 5.9ms | Allocations: 1057)
|
2136
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 675)
|
2137
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2138
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2139
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 46.2ms | Allocations: 43815)
|
2140
|
+
Completed 200 OK in 54ms (Views: 44.3ms | ActiveRecord: 2.4ms | Allocations: 45154)
|
2141
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2142
|
+
Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2143
|
+
Processing by RailsDb::TablesController#destroy as HTML
|
2144
|
+
Parameters: {"pk_id"=>"1", "table_id"=>"users"}
|
2145
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2146
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM users WHERE id = '1';[0m
|
2147
|
+
Redirected to http://www.example.com/rails/db/tables/users/data
|
2148
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 1475)
|
2149
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2150
|
+
Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2151
|
+
Processing by RailsDb::TablesController#csv as HTML
|
2152
|
+
Parameters: {"table_id"=>"users"}
|
2153
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2154
|
+
Rendering text template
|
2155
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2156
|
+
Sent data users.csv (1.3ms)
|
2157
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.3ms | Allocations: 1025)
|
2158
|
+
Started GET "/rails/db/standalone" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2159
|
+
Processing by RailsDb::DashboardController#standalone as HTML
|
2160
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2161
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
|
2162
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.7ms | Allocations: 1086)
|
2163
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1069)
|
2164
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 679)
|
2165
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2166
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2167
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.5ms | Allocations: 5486)
|
2168
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms | Allocations: 5899)
|
2169
|
+
Started GET "/rails/db/tables/users/xlsx.xls" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2170
|
+
Processing by RailsDb::TablesController#xlsx as XLS
|
2171
|
+
Parameters: {"table_id"=>"users"}
|
2172
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx
|
2173
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2174
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx (Duration: 5.8ms | Allocations: 7940)
|
2175
|
+
Rendering text template
|
2176
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2177
|
+
Sent data users.xlsx (0.3ms)
|
2178
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.3ms | Allocations: 8573)
|
2179
|
+
Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2180
|
+
Processing by RailsDb::SqlController#index as HTML
|
2181
|
+
Parameters: {"sql"=>"select * from users limit 10"}
|
2182
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
2183
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
2184
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2185
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
|
2186
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2187
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | Allocations: 141)
|
2188
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.3ms | Allocations: 392)
|
2189
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 1.2ms | Allocations: 1434)
|
2190
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 7.4ms | Allocations: 6662)
|
2191
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.9ms | Allocations: 1064)
|
2192
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 679)
|
2193
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2194
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2195
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 10.9ms | Allocations: 11048)
|
2196
|
+
Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 2.6ms | Allocations: 11539)
|
2197
|
+
Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2198
|
+
Processing by RailsDb::SqlController#csv as CSV
|
2199
|
+
Parameters: {"sql"=>"select * from users limit 10"}
|
2200
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
2201
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
2202
|
+
Rendering text template
|
2203
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2204
|
+
Sent data results.csv (0.3ms)
|
2205
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 507)
|
2206
|
+
Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2207
|
+
Processing by RailsDb::SqlController#xls as XLS
|
2208
|
+
Parameters: {"sql"=>"select * from users limit 10"}
|
2209
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
2210
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
2211
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx
|
2212
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.7ms | Allocations: 7282)
|
2213
|
+
Rendering text template
|
2214
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2215
|
+
Sent data results.xlsx (0.3ms)
|
2216
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms | Allocations: 8081)
|
2217
|
+
Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2218
|
+
Processing by RailsDb::TablesController#edit as JS
|
2219
|
+
Parameters: {"pk_id"=>"2", "table_id"=>"users"}
|
2220
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2221
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2222
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
2223
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 35.1ms | Allocations: 24971)
|
2224
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 36.1ms | Allocations: 27166)
|
2225
|
+
Completed 200 OK in 46ms (Views: 35.4ms | ActiveRecord: 2.2ms | Allocations: 35012)
|
2226
|
+
Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2227
|
+
Processing by RailsDb::TablesController#update as JS
|
2228
|
+
Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
|
2229
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2230
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2231
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2232
|
+
[1m[36m#<Class:0x000000000469cf40> Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "JOHN"], ["updated_at", "2021-06-26 08:39:36.205371"], ["id", 2]]
|
2233
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2234
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/update.js.erb
|
2235
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.3ms | Allocations: 1205)
|
2236
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.1ms | Allocations: 1851)
|
2237
|
+
Completed 200 OK in 18ms (Views: 1.8ms | ActiveRecord: 1.0ms | Allocations: 8772)
|
2238
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2239
|
+
Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2240
|
+
Processing by RailsDb::TablesController#new as JS
|
2241
|
+
Parameters: {"table_id"=>"users"}
|
2242
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2243
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/new.js.erb
|
2244
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 8.6ms | Allocations: 7555)
|
2245
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 9.4ms | Allocations: 8476)
|
2246
|
+
Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 1.9ms | Allocations: 14794)
|
2247
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2248
|
+
Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2249
|
+
Processing by RailsDb::TablesController#create as JS
|
2250
|
+
Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
|
2251
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2252
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2253
|
+
[1m[36m#<Class:0x0000000004da9090> Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "XXX"], ["created_at", "2021-06-26 08:39:36.241689"], ["updated_at", "2021-06-26 08:39:36.241689"]]
|
2254
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2255
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/create.js.erb
|
2256
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2257
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.7ms | Allocations: 7545)
|
2258
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.5ms | Allocations: 7537)
|
2259
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
2260
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.1ms | Allocations: 1203)
|
2261
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.5ms | Allocations: 1203)
|
2262
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1199)
|
2263
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2264
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2265
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 6)
|
2266
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 43.7ms | Allocations: 35288)
|
2267
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 44.8ms | Allocations: 37124)
|
2268
|
+
Completed 200 OK in 64ms (Views: 42.4ms | ActiveRecord: 3.3ms | Allocations: 44289)
|
2269
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2270
|
+
Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2271
|
+
Processing by RailsDb::TablesController#edit as JS
|
2272
|
+
Parameters: {"pk_id"=>"3", "table_id"=>"users"}
|
2273
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2274
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
2275
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
2276
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 14.4ms | Allocations: 11346)
|
2277
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 15.6ms | Allocations: 13215)
|
2278
|
+
Completed 200 OK in 31ms (Views: 13.4ms | ActiveRecord: 2.9ms | Allocations: 19429)
|
2279
|
+
Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2280
|
+
Processing by RailsDb::TablesController#update as JS
|
2281
|
+
Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
|
2282
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2283
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
2284
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2285
|
+
[1m[36m#<Class:0x00000000062bbd48> Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "STI"], ["updated_at", "2021-06-26 08:39:36.343126"], ["id", 3]]
|
2286
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2287
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/update.js.erb
|
2288
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.3ms | Allocations: 1197)
|
2289
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.8ms | Allocations: 1517)
|
2290
|
+
Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 1.2ms | Allocations: 8142)
|
2291
|
+
[1m[36mCustomer Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ?[0m [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
|
2292
|
+
Started GET "/admin/tools/db" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2293
|
+
Processing by RailsDb::DashboardController#index as HTML
|
2294
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2295
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
|
2296
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.3ms | Allocations: 480)
|
2297
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.8ms | Allocations: 1077)
|
2298
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.6ms | Allocations: 679)
|
2299
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2300
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 610)
|
2301
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.3ms | Allocations: 4886)
|
2302
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms | Allocations: 5111)
|
2303
|
+
Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2021-06-26 01:39:36 -0700
|
2304
|
+
Processing by RailsDb::SqlController#index as HTML
|
2305
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2306
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
|
2307
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2308
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | Allocations: 139)
|
2309
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 4.6ms | Allocations: 4965)
|
2310
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.8ms | Allocations: 1070)
|
2311
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.6ms | Allocations: 676)
|
2312
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2313
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.5ms | Allocations: 610)
|
2314
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 7.8ms | Allocations: 9358)
|
2315
|
+
Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 1.7ms | Allocations: 9608)
|
2316
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2317
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2318
|
+
----------------------
|
2319
|
+
TableTest: test_to_csv
|
2320
|
+
----------------------
|
2321
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2322
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:36.365146"], ["updated_at", "2021-06-26 08:39:36.365146"]]
|
2323
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2324
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2325
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2326
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2327
|
+
------------------------
|
2328
|
+
TableTest: test_as_table
|
2329
|
+
------------------------
|
2330
|
+
[1m[36mUser Destroy (0.2ms)[0m [1m[31mDELETE FROM "users"[0m
|
2331
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2332
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:36.368873"], ["updated_at", "2021-06-26 08:39:36.368873"]]
|
2333
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2334
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2335
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2336
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2337
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2338
|
+
-----------------------
|
2339
|
+
TableTest: test_columns
|
2340
|
+
-----------------------
|
2341
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2342
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2343
|
+
------------------------
|
2344
|
+
TableTest: test_truncate
|
2345
|
+
------------------------
|
2346
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
2347
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2348
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:36.401496"], ["updated_at", "2021-06-26 08:39:36.401496"]]
|
2349
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2350
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2351
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users;[0m
|
2352
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2353
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2354
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2355
|
+
----------------------
|
2356
|
+
TableTest: test_delete
|
2357
|
+
----------------------
|
2358
|
+
[1m[36mUser Destroy (0.2ms)[0m [1m[31mDELETE FROM "users"[0m
|
2359
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2360
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:36.404584"], ["updated_at", "2021-06-26 08:39:36.404584"]]
|
2361
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2362
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2363
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "john"], ["created_at", "2021-06-26 08:39:36.405593"], ["updated_at", "2021-06-26 08:39:36.405593"]]
|
2364
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2365
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2366
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users WHERE id = 1;[0m
|
2367
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2368
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "igor"]]
|
2369
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "john"]]
|
2370
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2371
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2372
|
+
---------------------------
|
2373
|
+
TableTest: test_primary_key
|
2374
|
+
---------------------------
|
2375
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2376
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2377
|
+
--------------------------------------------------------------
|
2378
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
|
2379
|
+
--------------------------------------------------------------
|
2380
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2381
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.417881"], ["updated_at", "2021-06-26 08:39:36.417881"]]
|
2382
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2383
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users[0m
|
2384
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 55)
|
2385
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
2386
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2387
|
+
----------------------------------------------------------
|
2388
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_works
|
2389
|
+
----------------------------------------------------------
|
2390
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2391
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.441109"], ["updated_at", "2021-06-26 08:39:36.441109"]]
|
2392
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2393
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT * FROM users[0m
|
2394
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.7ms | Allocations: 999)
|
2395
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2396
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2397
|
+
------------------------------------------------------------------------
|
2398
|
+
RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
|
2399
|
+
------------------------------------------------------------------------
|
2400
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2401
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.451950"], ["updated_at", "2021-06-26 08:39:36.451950"]]
|
2402
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2403
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users[0m
|
2404
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 81)
|
2405
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2406
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2407
|
+
--------------------------------------------------------------------
|
2408
|
+
RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
|
2409
|
+
--------------------------------------------------------------------
|
2410
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2411
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Igor"], ["age", 9999], ["created_at", "2021-06-26 08:39:36.460533"], ["updated_at", "2021-06-26 08:39:36.460533"]]
|
2412
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2413
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0[0m
|
2414
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.2ms | Allocations: 93)
|
2415
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2416
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2417
|
+
-----------------------------------------------------------------------------------------------------------------------------------------
|
2418
|
+
TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
|
2419
|
+
-----------------------------------------------------------------------------------------------------------------------------------------
|
2420
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2421
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2422
|
+
----------------------------------------------------------------------------------------------------------------------------
|
2423
|
+
TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
|
2424
|
+
----------------------------------------------------------------------------------------------------------------------------
|
2425
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2426
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2427
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
2428
|
+
TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
|
2429
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
2430
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2431
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2432
|
+
------------------------------------------------------------------------------------------------------------------------------------
|
2433
|
+
TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
|
2434
|
+
------------------------------------------------------------------------------------------------------------------------------------
|
2435
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2436
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2437
|
+
-------------------------------------------------------------------------------------------------------------------------
|
2438
|
+
TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
|
2439
|
+
-------------------------------------------------------------------------------------------------------------------------
|
2440
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2441
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2442
|
+
-----------------------
|
2443
|
+
RailsDbTest: test_truth
|
2444
|
+
-----------------------
|
2445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2446
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2447
|
+
------------------------------------
|
2448
|
+
RailsDbTest: test_verify_access_proc
|
2449
|
+
------------------------------------
|
2450
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2451
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2452
|
+
--------------------------
|
2453
|
+
DatabaseTest: test_adapter
|
2454
|
+
--------------------------
|
2455
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2456
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2457
|
+
-------------------------
|
2458
|
+
DatabaseTest: test_insert
|
2459
|
+
-------------------------
|
2460
|
+
[1m[35m (0.2ms)[0m [1m[31mdelete from projects_users[0m
|
2461
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN delete from projects_users[0m
|
2462
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
2463
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
2464
|
+
[1m[35m (0.0ms)[0m [1m[32minsert into projects_users(project_id, user_id) values(1,2)[0m
|
2465
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN insert into projects_users(project_id, user_id) values(1,2)[0m
|
2466
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
2467
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2468
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2469
|
+
------------------------------------
|
2470
|
+
DatabaseTest: test_accessible_tables
|
2471
|
+
------------------------------------
|
2472
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2473
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2474
|
+
------------------------
|
2475
|
+
DatabaseTest: test_query
|
2476
|
+
------------------------
|
2477
|
+
[1m[36mUser Destroy (0.2ms)[0m [1m[31mDELETE FROM "users"[0m
|
2478
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2479
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.499814"], ["updated_at", "2021-06-26 08:39:36.499814"]]
|
2480
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2481
|
+
[1m[35m (0.0ms)[0m [1m[34mselect count(*) as users_count from users[0m
|
2482
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select count(*) as users_count from users[0m
|
2483
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2484
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2485
|
+
-------------------------
|
2486
|
+
DatabaseTest: test_tables
|
2487
|
+
-------------------------
|
2488
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2489
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2490
|
+
--------------------------
|
2491
|
+
SqlImportTest: test_import
|
2492
|
+
--------------------------
|
2493
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 11 where id = 1[0m
|
2494
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 22 where id = 2[0m
|
2495
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 33 where id = 3[0m
|
2496
|
+
[1m[35m (0.1ms)[0m [1m[35m
|
2497
|
+
CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));[0m
|
2498
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2499
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2500
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
2501
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2502
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2503
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2504
|
+
-----------------------
|
2505
|
+
RailsDbTest: test_truth
|
2506
|
+
-----------------------
|
2507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2508
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2509
|
+
------------------------------------
|
2510
|
+
RailsDbTest: test_verify_access_proc
|
2511
|
+
------------------------------------
|
2512
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2513
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2514
|
+
------------------------------------------------------------------------------------------------------------------------------------
|
2515
|
+
TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
|
2516
|
+
------------------------------------------------------------------------------------------------------------------------------------
|
2517
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2519
|
+
-------------------------------------------------------------------------------------------------------------------------
|
2520
|
+
TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
|
2521
|
+
-------------------------------------------------------------------------------------------------------------------------
|
2522
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2523
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2524
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
2525
|
+
TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
|
2526
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
2527
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2528
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2529
|
+
----------------------------------------------------------------------------------------------------------------------------
|
2530
|
+
TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
|
2531
|
+
----------------------------------------------------------------------------------------------------------------------------
|
2532
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2533
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2534
|
+
-----------------------------------------------------------------------------------------------------------------------------------------
|
2535
|
+
TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
|
2536
|
+
-----------------------------------------------------------------------------------------------------------------------------------------
|
2537
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2538
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2539
|
+
--------------------------
|
2540
|
+
SqlImportTest: test_import
|
2541
|
+
--------------------------
|
2542
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 11 where id = 1[0m
|
2543
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 22 where id = 2[0m
|
2544
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 33 where id = 3[0m
|
2545
|
+
[1m[35m (0.2ms)[0m [1m[35m
|
2546
|
+
CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));[0m
|
2547
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2548
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2549
|
+
------------------------
|
2550
|
+
TableTest: test_truncate
|
2551
|
+
------------------------
|
2552
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
2553
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2554
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:58.237903"], ["updated_at", "2021-06-26 08:39:58.237903"]]
|
2555
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2556
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2557
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users;[0m
|
2558
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2559
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2560
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2561
|
+
----------------------
|
2562
|
+
TableTest: test_delete
|
2563
|
+
----------------------
|
2564
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
2565
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2566
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:58.240395"], ["updated_at", "2021-06-26 08:39:58.240395"]]
|
2567
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2568
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2569
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "john"], ["created_at", "2021-06-26 08:39:58.241330"], ["updated_at", "2021-06-26 08:39:58.241330"]]
|
2570
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2571
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2572
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users WHERE id = 1;[0m
|
2573
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2574
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "igor"]]
|
2575
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "john"]]
|
2576
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2577
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2578
|
+
------------------------
|
2579
|
+
TableTest: test_as_table
|
2580
|
+
------------------------
|
2581
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
2582
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2583
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:58.244242"], ["updated_at", "2021-06-26 08:39:58.244242"]]
|
2584
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2585
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2586
|
+
[1m[36m Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
2587
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2588
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2589
|
+
---------------------------
|
2590
|
+
TableTest: test_primary_key
|
2591
|
+
---------------------------
|
2592
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2593
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2594
|
+
-----------------------
|
2595
|
+
TableTest: test_columns
|
2596
|
+
-----------------------
|
2597
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2598
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2599
|
+
----------------------
|
2600
|
+
TableTest: test_to_csv
|
2601
|
+
----------------------
|
2602
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2603
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "igor"], ["created_at", "2021-06-26 08:39:58.264511"], ["updated_at", "2021-06-26 08:39:58.264511"]]
|
2604
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2605
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2606
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2607
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2608
|
+
----------------------------------------------
|
2609
|
+
DashboardControllerTest: test_should_get_index
|
2610
|
+
----------------------------------------------
|
2611
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
2612
|
+
[1m[36mAccount Destroy (0.0ms)[0m [1m[31mDELETE FROM "accounts"[0m
|
2613
|
+
[1m[36mCustomer Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
2614
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2615
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.279796"], ["updated_at", "2021-06-26 08:39:58.279796"]]
|
2616
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2617
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2618
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Edit"], ["created_at", "2021-06-26 08:39:58.281599"], ["updated_at", "2021-06-26 08:39:58.281599"]]
|
2619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2620
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2621
|
+
[1m[36mCustomer Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?)[0m [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2021-06-26 08:39:58.287643"], ["updated_at", "2021-06-26 08:39:58.287643"], ["type", "Customer"]]
|
2622
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2623
|
+
Started GET "/rails/db" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2624
|
+
Processing by RailsDb::DashboardController#index as HTML
|
2625
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2626
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
|
2627
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 18.2ms | Allocations: 22349)
|
2628
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 3.1ms | Allocations: 2203)
|
2629
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.2ms | Allocations: 907)
|
2630
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.4ms | Allocations: 410)
|
2631
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.7ms | Allocations: 1690)
|
2632
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 30.1ms | Allocations: 30141)
|
2633
|
+
Completed 200 OK in 50ms (Views: 44.8ms | ActiveRecord: 0.2ms | Allocations: 33616)
|
2634
|
+
Started GET "/rails/db/tables/users" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2635
|
+
Processing by RailsDb::TablesController#show as HTML
|
2636
|
+
Parameters: {"id"=>"users"}
|
2637
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2638
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
|
2639
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.2ms | Allocations: 146)
|
2640
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 7.7ms | Allocations: 7437)
|
2641
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 8.2ms | Allocations: 7755)
|
2642
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.6ms | Allocations: 1057)
|
2643
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 675)
|
2644
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2645
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2646
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 11.1ms | Allocations: 11974)
|
2647
|
+
Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 3.5ms | Allocations: 13108)
|
2648
|
+
Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2649
|
+
Processing by RailsDb::TablesController#data as HTML
|
2650
|
+
Parameters: {"table_id"=>"users"}
|
2651
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2652
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2653
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
|
2654
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2655
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 28.9ms | Allocations: 32426)
|
2656
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.2ms | Allocations: 7537)
|
2657
|
+
[1m[36m Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
2658
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.8ms | Allocations: 1478)
|
2659
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.0ms | Allocations: 1191)
|
2660
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.1ms | Allocations: 1195)
|
2661
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2662
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2663
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.3ms | Allocations: 116)
|
2664
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 82.8ms | Allocations: 66901)
|
2665
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 83.2ms | Allocations: 67219)
|
2666
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.0ms | Allocations: 1062)
|
2667
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.2ms | Allocations: 679)
|
2668
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2669
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.1ms | Allocations: 605)
|
2670
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 90.3ms | Allocations: 71370)
|
2671
|
+
Completed 200 OK in 98ms (Views: 87.0ms | ActiveRecord: 3.7ms | Allocations: 73178)
|
2672
|
+
Started GET "/rails/db/sql" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2673
|
+
Processing by RailsDb::SqlController#index as HTML
|
2674
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2675
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
|
2676
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | Allocations: 15)
|
2677
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.8ms | Allocations: 252)
|
2678
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 10.7ms | Allocations: 5893)
|
2679
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 11.0ms | Allocations: 1064)
|
2680
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 679)
|
2681
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2682
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.5ms | Allocations: 605)
|
2683
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 26.8ms | Allocations: 10289)
|
2684
|
+
Completed 200 OK in 28ms (Views: 25.2ms | ActiveRecord: 2.5ms | Allocations: 11340)
|
2685
|
+
Started GET "/rails/db/import" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2686
|
+
Processing by RailsDb::SqlController#import as HTML
|
2687
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2688
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
|
2689
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | Allocations: 120)
|
2690
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 1.0ms | Allocations: 830)
|
2691
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1064)
|
2692
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 679)
|
2693
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2694
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.5ms | Allocations: 605)
|
2695
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.0ms | Allocations: 5223)
|
2696
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms | Allocations: 5666)
|
2697
|
+
Started GET "/rails/db/data-table" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2698
|
+
Processing by RailsDb::DashboardController#data_table as HTML
|
2699
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2700
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
|
2701
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.7ms | Allocations: 1099)
|
2702
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1068)
|
2703
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.6ms | Allocations: 679)
|
2704
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2705
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2706
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.6ms | Allocations: 5498)
|
2707
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms | Allocations: 5911)
|
2708
|
+
Started GET "/" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2709
|
+
Processing by HomeController#index as HTML
|
2710
|
+
Rendering layout layouts/application.html.erb
|
2711
|
+
Rendering home/index.html.erb within layouts/application
|
2712
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0[0m
|
2713
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.7ms | Allocations: 623)
|
2714
|
+
[1m[35m (0.1ms)[0m [1m[34mselect id, name, age from users order by age desc limit 10[0m
|
2715
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.4ms | Allocations: 530)
|
2716
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2717
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
2718
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "accounts"[0m
|
2719
|
+
Rendered home/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 2790)
|
2720
|
+
Rendered layout layouts/application.html.erb (Duration: 5.6ms | Allocations: 4645)
|
2721
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.5ms | Allocations: 5788)
|
2722
|
+
Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2723
|
+
Processing by RailsDb::TablesController#data as HTML
|
2724
|
+
Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
|
2725
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2726
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2727
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
|
2728
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2729
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 10.5ms | Allocations: 7545)
|
2730
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 16.5ms | Allocations: 7537)
|
2731
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
2732
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.4ms | Allocations: 1203)
|
2733
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1199)
|
2734
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1203)
|
2735
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2736
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2737
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 6)
|
2738
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 81.3ms | Allocations: 39635)
|
2739
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 81.4ms | Allocations: 39676)
|
2740
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1057)
|
2741
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 675)
|
2742
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2743
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2744
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 84.1ms | Allocations: 43817)
|
2745
|
+
Completed 200 OK in 90ms (Views: 81.6ms | ActiveRecord: 2.9ms | Allocations: 45156)
|
2746
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2747
|
+
Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2748
|
+
Processing by RailsDb::TablesController#destroy as HTML
|
2749
|
+
Parameters: {"pk_id"=>"1", "table_id"=>"users"}
|
2750
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2751
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM users WHERE id = '1';[0m
|
2752
|
+
Redirected to http://www.example.com/rails/db/tables/users/data
|
2753
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.4ms | Allocations: 1474)
|
2754
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2755
|
+
Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2756
|
+
Processing by RailsDb::TablesController#csv as HTML
|
2757
|
+
Parameters: {"table_id"=>"users"}
|
2758
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2759
|
+
Rendering text template
|
2760
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2761
|
+
Sent data users.csv (0.7ms)
|
2762
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms | Allocations: 1022)
|
2763
|
+
Started GET "/rails/db/standalone" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2764
|
+
Processing by RailsDb::DashboardController#standalone as HTML
|
2765
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2766
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
|
2767
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.7ms | Allocations: 1085)
|
2768
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1069)
|
2769
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.6ms | Allocations: 679)
|
2770
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2771
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 605)
|
2772
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.5ms | Allocations: 5485)
|
2773
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms | Allocations: 5898)
|
2774
|
+
Started GET "/rails/db/tables/users/xlsx.xls" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2775
|
+
Processing by RailsDb::TablesController#xlsx as XLS
|
2776
|
+
Parameters: {"table_id"=>"users"}
|
2777
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx
|
2778
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2779
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx (Duration: 5.5ms | Allocations: 7940)
|
2780
|
+
Rendering text template
|
2781
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2782
|
+
Sent data users.xlsx (0.3ms)
|
2783
|
+
Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.3ms | Allocations: 8573)
|
2784
|
+
Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2785
|
+
Processing by RailsDb::SqlController#index as HTML
|
2786
|
+
Parameters: {"sql"=>"select * from users limit 10"}
|
2787
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
2788
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
2789
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2790
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
|
2791
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2792
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | Allocations: 141)
|
2793
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.3ms | Allocations: 392)
|
2794
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 1.1ms | Allocations: 1434)
|
2795
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 5.4ms | Allocations: 6662)
|
2796
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.8ms | Allocations: 1064)
|
2797
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 679)
|
2798
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2799
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.8ms | Allocations: 605)
|
2800
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 9.3ms | Allocations: 11048)
|
2801
|
+
Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 1.8ms | Allocations: 11539)
|
2802
|
+
Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2803
|
+
Processing by RailsDb::SqlController#csv as CSV
|
2804
|
+
Parameters: {"sql"=>"select * from users limit 10"}
|
2805
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
2806
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
2807
|
+
Rendering text template
|
2808
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2809
|
+
Sent data results.csv (0.3ms)
|
2810
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 507)
|
2811
|
+
Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2812
|
+
Processing by RailsDb::SqlController#xls as XLS
|
2813
|
+
Parameters: {"sql"=>"select * from users limit 10"}
|
2814
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
2815
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
2816
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx
|
2817
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.8ms | Allocations: 7282)
|
2818
|
+
Rendering text template
|
2819
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
2820
|
+
Sent data results.xlsx (0.3ms)
|
2821
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms | Allocations: 8081)
|
2822
|
+
Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2823
|
+
Processing by RailsDb::TablesController#edit as JS
|
2824
|
+
Parameters: {"pk_id"=>"2", "table_id"=>"users"}
|
2825
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2826
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2827
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
2828
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 25.6ms | Allocations: 24971)
|
2829
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 26.9ms | Allocations: 27169)
|
2830
|
+
Completed 200 OK in 46ms (Views: 26.7ms | ActiveRecord: 2.2ms | Allocations: 35014)
|
2831
|
+
Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2832
|
+
Processing by RailsDb::TablesController#update as JS
|
2833
|
+
Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
|
2834
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2835
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2836
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2837
|
+
[1m[36m#<Class:0x0000000004f8d460> Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "JOHN"], ["updated_at", "2021-06-26 08:39:58.720409"], ["id", 2]]
|
2838
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2839
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/update.js.erb
|
2840
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.3ms | Allocations: 1205)
|
2841
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.1ms | Allocations: 1848)
|
2842
|
+
Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.0ms | Allocations: 8763)
|
2843
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
2844
|
+
Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2845
|
+
Processing by RailsDb::TablesController#new as JS
|
2846
|
+
Parameters: {"table_id"=>"users"}
|
2847
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2848
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/new.js.erb
|
2849
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 6.8ms | Allocations: 7545)
|
2850
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 7.5ms | Allocations: 8466)
|
2851
|
+
Completed 200 OK in 16ms (Views: 6.3ms | ActiveRecord: 1.7ms | Allocations: 14784)
|
2852
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2853
|
+
Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2854
|
+
Processing by RailsDb::TablesController#create as JS
|
2855
|
+
Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
|
2856
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2857
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2858
|
+
[1m[36m#<Class:0x00000000056641a8> Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "XXX"], ["created_at", "2021-06-26 08:39:58.751631"], ["updated_at", "2021-06-26 08:39:58.751631"]]
|
2859
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2860
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/create.js.erb
|
2861
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2862
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.7ms | Allocations: 7545)
|
2863
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.5ms | Allocations: 7537)
|
2864
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["LIMIT", 30], ["OFFSET", 0]]
|
2865
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.3ms | Allocations: 1203)
|
2866
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1203)
|
2867
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | Allocations: 1199)
|
2868
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2869
|
+
[1m[35mCACHE (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2870
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 6)
|
2871
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 32.7ms | Allocations: 35288)
|
2872
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 33.7ms | Allocations: 37124)
|
2873
|
+
Completed 200 OK in 47ms (Views: 31.8ms | ActiveRecord: 2.5ms | Allocations: 44289)
|
2874
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2875
|
+
Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2876
|
+
Processing by RailsDb::TablesController#edit as JS
|
2877
|
+
Parameters: {"pk_id"=>"3", "table_id"=>"users"}
|
2878
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2879
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
2880
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb
|
2881
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 8.7ms | Allocations: 11346)
|
2882
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 9.5ms | Allocations: 13215)
|
2883
|
+
Completed 200 OK in 18ms (Views: 8.1ms | ActiveRecord: 1.8ms | Allocations: 19429)
|
2884
|
+
Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2885
|
+
Processing by RailsDb::TablesController#update as JS
|
2886
|
+
Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
|
2887
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
2888
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
2889
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2890
|
+
[1m[36m#<Class:0x0000000006c2cc38> Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "STI"], ["updated_at", "2021-06-26 08:39:58.821097"], ["id", 3]]
|
2891
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2892
|
+
Rendering /root/projects/rails_db/app/views/rails_db/tables/update.js.erb
|
2893
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.3ms | Allocations: 1197)
|
2894
|
+
Rendered /root/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.7ms | Allocations: 1517)
|
2895
|
+
Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.9ms | Allocations: 8142)
|
2896
|
+
[1m[36mCustomer Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ?[0m [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
|
2897
|
+
Started GET "/admin/tools/db" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2898
|
+
Processing by RailsDb::DashboardController#index as HTML
|
2899
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2900
|
+
Rendering /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
|
2901
|
+
Rendered /root/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.3ms | Allocations: 480)
|
2902
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1077)
|
2903
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.6ms | Allocations: 679)
|
2904
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2905
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 610)
|
2906
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.0ms | Allocations: 4886)
|
2907
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.1ms | Allocations: 5111)
|
2908
|
+
Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2021-06-26 01:39:58 -0700
|
2909
|
+
Processing by RailsDb::SqlController#index as HTML
|
2910
|
+
Rendering layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb
|
2911
|
+
Rendering /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
|
2912
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 15)
|
2913
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | Allocations: 139)
|
2914
|
+
Rendered /root/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 4.1ms | Allocations: 4965)
|
2915
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.7ms | Allocations: 1070)
|
2916
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.6ms | Allocations: 676)
|
2917
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 117)
|
2918
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | Allocations: 610)
|
2919
|
+
Rendered layout /root/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 7.0ms | Allocations: 9358)
|
2920
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 1.5ms | Allocations: 9608)
|
2921
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2922
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2923
|
+
--------------------------
|
2924
|
+
DatabaseTest: test_adapter
|
2925
|
+
--------------------------
|
2926
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2927
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2928
|
+
-------------------------
|
2929
|
+
DatabaseTest: test_tables
|
2930
|
+
-------------------------
|
2931
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2932
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2933
|
+
------------------------------------
|
2934
|
+
DatabaseTest: test_accessible_tables
|
2935
|
+
------------------------------------
|
2936
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2937
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2938
|
+
-------------------------
|
2939
|
+
DatabaseTest: test_insert
|
2940
|
+
-------------------------
|
2941
|
+
[1m[35m (0.1ms)[0m [1m[31mdelete from projects_users[0m
|
2942
|
+
[1m[35m (0.0ms)[0m [1m[35mEXPLAIN delete from projects_users[0m
|
2943
|
+
[1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
2944
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
2945
|
+
[1m[35m (0.0ms)[0m [1m[32minsert into projects_users(project_id, user_id) values(1,2)[0m
|
2946
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN insert into projects_users(project_id, user_id) values(1,2)[0m
|
2947
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
2948
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2949
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2950
|
+
------------------------
|
2951
|
+
DatabaseTest: test_query
|
2952
|
+
------------------------
|
2953
|
+
[1m[36mUser Destroy (0.2ms)[0m [1m[31mDELETE FROM "users"[0m
|
2954
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2955
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.845037"], ["updated_at", "2021-06-26 08:39:58.845037"]]
|
2956
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2957
|
+
[1m[35m (0.0ms)[0m [1m[34mselect count(*) as users_count from users[0m
|
2958
|
+
[1m[35m (0.1ms)[0m [1m[35mEXPLAIN select count(*) as users_count from users[0m
|
2959
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2960
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2961
|
+
------------------------------------------------------------------------
|
2962
|
+
RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
|
2963
|
+
------------------------------------------------------------------------
|
2964
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2965
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.851011"], ["updated_at", "2021-06-26 08:39:58.851011"]]
|
2966
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2967
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users[0m
|
2968
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 81)
|
2969
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2970
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2971
|
+
--------------------------------------------------------------------
|
2972
|
+
RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
|
2973
|
+
--------------------------------------------------------------------
|
2974
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2975
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Igor"], ["age", 9999], ["created_at", "2021-06-26 08:39:58.857840"], ["updated_at", "2021-06-26 08:39:58.857840"]]
|
2976
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2977
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0[0m
|
2978
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.2ms | Allocations: 93)
|
2979
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2980
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2981
|
+
----------------------------------------------------------
|
2982
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_works
|
2983
|
+
----------------------------------------------------------
|
2984
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2985
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.863719"], ["updated_at", "2021-06-26 08:39:58.863719"]]
|
2986
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2987
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
2988
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.1ms | Allocations: 999)
|
2989
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2990
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2991
|
+
--------------------------------------------------------------
|
2992
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
|
2993
|
+
--------------------------------------------------------------
|
2994
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2995
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.878750"], ["updated_at", "2021-06-26 08:39:58.878750"]]
|
2996
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2997
|
+
[1m[35m (0.1ms)[0m [1m[34mselect * from users[0m
|
2998
|
+
Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 55)
|
2999
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|