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.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/app/views/rails_db/tables/_edit.html.erb +1 -0
  4. data/app/views/rails_db/tables/_new.html.erb +5 -1
  5. data/lib/libs.rb +1 -0
  6. data/lib/rails_db/engine.rb +1 -1
  7. data/{app/helpers/rails_db/rails_db_data_table_helper.rb → lib/rails_db/helpers.rb} +2 -3
  8. data/lib/rails_db/version.rb +1 -1
  9. data/test/dashboard_controller_test.rb +3 -3
  10. data/test/dummy/db/migrate/20210626083314_add_country_column.rb +5 -0
  11. data/test/dummy/db/rails_db_dev.sqlite3 +0 -0
  12. data/test/dummy/db/schema.rb +47 -46
  13. data/test/dummy/db/test.sqlite3 +0 -0
  14. data/test/dummy/log/development.log +332 -0
  15. data/test/dummy/log/test.log +1066 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-3/-3QVlORKAkY3OKK5Y3jNcqxMCCw6x2KPkutAzr5yh8I.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-w/-wp3_VP-F5Eg7f5xwjCswONdZpRX_AaUAZtT4IM7Jus.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0S/0Sz133MDIsc1LArCubxacZhJ8nLVOiBGtJRu8GfXDDE.cache +1 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/10/10ZjuchBSeGlDBbju0ePmV-o1eLQHGbPSczhggr_BDI.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1S/1SAIUj01NRwWvmiYGTQrU4HrTryzlqZ-Biba0YSLR3k.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1b/1bYLWlvlLy3o1EVXrI65cZp6NoqtqLOrfBwQq_ZANbg.cache +4 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2A/2A1nRbWQwmx-oUe25g7_eadH7u_QNdkNBpvnb2RpWtg.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2G/2GjaL3LZb-KyYu6nfaJJikDRo7VBjK7ohCHNDtSPRjQ.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3E/3EFpick1X-VbbF8qXDGjkA3vtMUN7SfaM5J08FNu-F0.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3_/3_N8qi-v_t4fnR1ntKtXgCnq3U1cne8_rCJRWqqjvSc.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4V/4VR3nwq8kynkYTsZ5NgHk5Cq5QNYPrXrT6eP_txJM0k.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/56/56f0YqKJVB5lxWS6fxX3-IKtA3baiQDHKdsx5ITVofY.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5A/5AGrHygfa0dr9UNgXsqNSQCJFGaDjTJ5qsBWClUNCjU.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5j/5jrqD-ZQM_yLsKZtqQ5S4juRegbRT-ZXXjXxHsaeLYE.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6H/6HwILL99X3vzxm8U5l3U2qMFihLRhEJ-styplj5c9bI.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6U/6UPN67uTa88HBmQCleFSSTQ92IgWUGdPH1-aSEA0Ubc.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7K/7KnPiiBLrdCuZ4a07aiujSrFxqLlh7XswuZcep8NJLY.cache +1 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7O/7OMe9aoxS4elJyMEVIIB66VWJJ-IpZVv3Zje7cLk6qw.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7U/7U5_x5Gy3O6KT7I1D74iR3knrrDZ9FnFwtR0vx6pIoQ.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8-/8-v5EyKSB5oPHHHU-sTiHtkKlQutcabQYrHEtClt2gA.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/93/93blw2yPIXNCRA0jLkniUJGZ1lkQh0RNTWMryDarAxk.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/BJ/BJHcfY2FMnMMtFWR0sgq8O_orVxMUTAO4uhYQl-2n6w.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cg/CgCRqakoZGzn92ZbjyGxwF6I4yJVeNgA1lG4Z5DFEjQ.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cj/Cjg7WWdPlbBxVXFBHK-rxyelilDCMqhnQFKWpSTsjWE.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dh/DhdJbACGmEQLFh4wl3omJoWAFz0VeZGmzh_vxN3egZE.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/EY/EYKv8RfN22lqHn7i6Sbt95gJ5s9ZDjLhrV1UUtp9EFs.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ev/EvxXoYvfDHtnwBDi31GlSuCDLIvDNpBICnmNITZkLPs.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ey/EyxoPXsMsmLcI5Gxu5eCtNiOSUsvxk8VS0zTEvtTaiM.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FK/FK5AwCNG9ptRrLTNDBzFtoANmjG1c8sz1eHaCeKvtz8.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FN/FNUtSeGeiLGo6E_c0yQQLPedYuiUrolHALEvVVwlEpo.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FV/FVK60WuKOKwQaTXPfIoao4ksuZKAn1cfG5M650tE_SY.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FW/FWg2gz4JaO-WpgRkZYKOf4Y6n9j2BAHh70UXNcqGC00.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Gh/GhVGh48Vehr7jnlVaVdq8OmSr5kwM2ZPhqDzCaUIhs8.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/HY/HYTBUMYgbrHeL5K_OYZxOOvBt01QXYHlessDBzVQjkw.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hm/Hm_dB990wgu-qKVaW3rf6T9naU1-prBggT5uGDA9ZU0.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hr/HrXCXnpRkd2D4JCcPTb8gpS1ItvryBogkJrOTSbm8-k.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IE/IE-zT0ElWYJPrOMCFZRxmP_w1rmF05chegkbng0_g5M.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IR/IRJqw4XjEa8X63PRewZM2STdKrBXMJI3yrYuHXdGFU4.cache +1 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/If/IfIkRX5iA57MRTJQRH8adc9rBNy9hdUkO1rz2VFUQBI.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jt/JtOILcGNpnHnJp4kF8MuLNqklKKq8oIhLErkngHuRCA.cache +1 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/L2/L2AsAfe3iqSKZUvXVxrlTIOrkLAiqe49iAJ1_KvHais.cache +1 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LD/LDeXHxUCfEVxXTqoavm9mhInVtLWjMvubb7ctYajkF0.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/M9/M9s1An2hYd_KAKVkxkNMNLOu3tHepfwckav2XA_ovuY.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Oa/OaySsComAwye5vJzQQn6JmcmtvIS0l915a6N7XEAHcE.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/P6/P66uAfRp7cggCtXoKgC0jVconrrdJOVtcphG07j4MIw.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/PQ/PQFDpLanaCmaJH8mIxTk4eHxAD9Up_Y-IqTtzU9FKX8.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/PT/PTfZkWgs6Eo_X7tejp9pJoq7GsdEW06RvjFa1MhADLo.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Q7/Q7f8nU7bVpqKrPiWQ-GEM7EjIUdCuRny74bhWl4ovTc.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RZ/RZAv6vD8N1if_TtUsOQXdO6tVd2hkGacT5k9a4mXFKw.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ru/Ru3fleEkpSbDk4h7-EHQ4Hckx04xbCygt3F_kSEsx34.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/S1/S1dLmfwkUpwJvg4tYuVOf3aWupOOP3M6iyKrFsG2tx8.cache +3 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/S7/S7oG51QVVKMPmNb6hOJgudX21aHik9FaRX_1xACwTYw.cache +0 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SP/SPAkohSw9CUei4_AoX3t9F-xz-ulJguMZDxnXHK8xRs.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SR/SRlBuVekx5voijkM7Pur-7CEeD9aOoItZYTK7KkxrPc.cache +0 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Se/Seo_ZvwlNJYdKo2voDO7AWyIwJ4fOTa13zD72eiVYGM.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/U4/U43czrbZRBo4u0jim3ARQfVVe6Xc_OWRiwQmiyb0Z-Q.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UP/UPfVK0LZakMvumMs5iiy5bHGcOF-XlKn3iR1CEUeZmk.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UR/URzOSZPYUygQwK4hWeC7aZkfCO9Bgbc6FrnabD_Ubis.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ue/UegAFbSgfZFSXguvibbWePrkfx4hi_lBKXg_NUppqqo.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/VA/VAzIvqTByiGq5j-A-Vm5laOr2sIAe_MZavCPtR1LgxM.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WF/WFzBN8f1otvH1grrqH2K0eE8l9JLNBfBRT3BpGaEzBo.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_9/_9vkshSoX3jblFg8DKhnFJUNvjRQ_pTdEaPANI8UgYI.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_f/_fZ4a6WMMPTan-OJ1eB_jDV7lYI2BQ9I7VS0IXLxvP4.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_n/_nuA_-zEEC6OUDBREGtw9wLfUH_pS1PfVOu5HUyLdss.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/aS/aS4TrTg8RLg_Z4_pOGyJwMBFFYqKRCO8H18SA2ZzfP4.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/d2/d2OcpXM9a7UxhuZHig1dByvz3LsBKFihLvaLj72BOMQ.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dV/dVvV1v4dW9Uo7W5YkXkFCJyc58iDNZV7PpVkDv9flf8.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dm/dmcaxTQMouCAhdqqQz87SB4mAmTqv9Px98ezg1ObJjE.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dr/drxgNp7QAPL2eFDNcxM7-FdfXGY9_weJkF80543pvGU.cache +1 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/e_/e_8onHrO536kcdolzmbEdQKKexb_hm1QBGnTo_giI_c.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ej/ejYzYxahUd_h63ntKOTeJTw9xosZ1cWF1Bf3-RfsXWY.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/eo/eojuSXOPTgWhEGR858AGqRe2F3W6gRrvCuFgPUnV_lE.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/f2/f2kjY3WJBcdzPf2XhMDyydDIg-E6Co3QhBwUDy57aRg.cache +3 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/f9/f9fN25_s1xEPbSJPbziFezw1XGa5Adjt4Ye5AUSJMBU.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gO/gOt0rsWcD6oXY2JVRddHwNR9GIQauV5tDI_E8jUJA5o.cache +1 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gR/gRw4UxQrb5QX2un3w82WIobHDjITrm4t_LoZTs0g_BQ.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hh/hhiDzfELHlFMWzLHiRZ1Q1ReHczde_9sDjiyvYahdnc.cache +1 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jr/jrdwb_fYyeGBcwGtiyoRclS6JTefvy16LAZblhH6anE.cache +1 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/k0/k0Gmn2VNaFEdDoO7ReNwvaWhWixEEixrO5y1vMfHC6U.cache +1 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lL/lL-8Ksac514GJR-eXaxokPaw0FEooj_AbWp58vbHTDQ.cache +1 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lw/lw0pCeTBhYhgUsAe4MDQI1zvPy7UO0IRBgi8klRsJ6U.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mW/mWyN4_zRMj3_J_ask-bfF_kIWekO7-gL7AO-gkLedu8.cache +0 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/o8/o8eOxR7XYyN2iJ3Nh4AkkJbRmJW_rz1758pbLIBrtkw.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oE/oEZ1tbI4lzlmNgdwD5z8w_F0w5klJuvRuqz4zKsIPa4.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oL/oLhZZ_gEt-mBj_3tAFDnXZ60DNnVk1vSLMGxwf27we0.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oc/ocK2z5A3yrXe5TAQ65y27g_itt_TKtPgngdgjwTn1C8.cache +1 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oc/ocgAanSJBcGocntYEDPdnyld1ofAZi75mZf86Acvb3c.cache +0 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pu/pucRb8cNmQDSe1AmdEd48j9E30NGOheMFL86tQ7fpl0.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q8/q8ZuvLmAcLiIyIC3xBlbte8qtUiw9Qoe4e0Ns1qAbqc.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q9/q9puqb4cnoN8_59H-ZoUpYm9W8PpdWceYDDcrbcMVag.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ry/rylECWrYaw5GRWufNcrrx8CZ9tFARhxZ0wxdoq6Me7M.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/u0/u0SoQOyS8i-jdsiMBgccpyUtdygqKYmwHVxqKtF1-aA.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uJ/uJZt0qoVefbR-A8UqX1r-ie-8Pda0odosR9gICUqpUw.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uo/uoG_Opfdkeoxj2p4rXA1OeHgBzMeXQoEEK4Vsc_BvD0.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vJ/vJi8H_bdp3XiIrKNT1zg5BcWXvnQV23p7T8Ap2odjmU.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vW/vWfhzaoyrvEUgX0vnRufnld1buC_KEfVE_Y9GxTlEFc.cache +0 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vm/vmes21C_KXQjYDMjh8Qvn_N4yBfWLLF7Hc6Xh6jicmU.cache +1 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wF/wFaxWSrFAJPpvKB6_YL_95DDGWRC71mn3xteI9W7J6s.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wX/wXwZ8w-U_C8sR1mJQM_6xC27bBddxI7um4jzY43T_ac.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wd/wdcSSYIVPzSeweLrhWZw_Fbtld_1nP0nwWGwTMOONkQ.cache +1 -0
  118. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wp/wpSFujYOOaLqa0vWCSnHWjPqi6k_vXyoi03_93rMdqg.cache +0 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xm/xmtA-I2RBVgCHXEokd428Tx8BNmO7zLo7js3xECuy8U.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yK/yKdSBGdJNWhLrijPzBhCkVF1L_U1w6jC7dxoljx5cgA.cache +1 -0
  121. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yQ/yQrUGYdIOQBJSqyEaC-s2ykCQmhUFmAhdWGwMJZkFVs.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zT/zTec8hFOqpCQ9fcuTseWaVsetST5mj-sNqx7I4K0CV8.cache +1 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zc/zcb3VI6GoraI5azNCn34gI364cK1hlfOWJfvkxwrqHs.cache +3 -0
  124. data/test/{rails_db_data_table_helper_test.rb → rails_db_helpers_test.rb} +2 -2
  125. data/test/table_test.rb +1 -1
  126. metadata +207 -5
@@ -1931,3 +1931,1069 @@ DatabaseTest: test_adapter
1931
1931
  DatabaseTest: test_accessible_tables
1932
1932
  ------------------------------------
1933
1933
  TRANSACTION (0.0ms) rollback transaction
1934
+  (0.6ms) SELECT sqlite_version(*)
1935
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
1936
+  (0.5ms) SELECT sqlite_version(*)
1937
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1938
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1939
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1940
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1941
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1942
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1943
+  (0.0ms) SELECT sqlite_version(*)
1944
+  (0.1ms) SELECT sqlite_version(*)
1945
+  (0.1ms) DROP TABLE IF EXISTS "accounts"
1946
+  (2.6ms) CREATE TABLE "accounts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "users_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1947
+  (0.1ms) DROP TABLE IF EXISTS "comments"
1948
+  (2.2ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1949
+  (0.1ms) DROP TABLE IF EXISTS "contacts"
1950
+  (1.5ms) CREATE 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)
1951
+  (1.5ms) CREATE INDEX "index_contacts_on_name_and_email" ON "contacts" ("name", "email")
1952
+  (0.1ms) DROP TABLE IF EXISTS "legacy_accounts"
1953
+  (1.5ms) CREATE TABLE "legacy_accounts" ("uuid" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
1954
+  (0.1ms) DROP TABLE IF EXISTS "payments"
1955
+  (1.5ms) CREATE TABLE "payments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal, "project_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1956
+  (1.4ms) CREATE INDEX "index_payments_on_project_id" ON "payments" ("project_id")
1957
+  (0.1ms) DROP TABLE IF EXISTS "projects"
1958
+  (1.5ms) CREATE 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)
1959
+  (1.5ms) CREATE INDEX "index_projects_on_deleted_at" ON "projects" ("deleted_at")
1960
+  (0.1ms) DROP TABLE IF EXISTS "projects_users"
1961
+  (1.5ms) CREATE TABLE "projects_users" ("project_id" integer, "user_id" integer)
1962
+  (1.5ms) CREATE INDEX "index_projects_users_on_project_id" ON "projects_users" ("project_id")
1963
+  (1.5ms) CREATE INDEX "index_projects_users_on_user_id" ON "projects_users" ("user_id")
1964
+  (0.1ms) DROP TABLE IF EXISTS "users"
1965
+  (1.4ms) CREATE 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)
1966
+  (1.4ms) CREATE INDEX "index_users_on_account_id" ON "users" ("account_id")
1967
+  (1.5ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1968
+  (1.4ms) CREATE INDEX "index_users_on_salary" ON "users" ("salary")
1969
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1970
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1971
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (20210626083314)
1972
+  (1.4ms) INSERT 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
+ 
1990
+  (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1991
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1992
+ TRANSACTION (0.0ms) begin transaction
1993
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-26 08:39:35.650978"], ["updated_at", "2021-06-26 08:39:35.650978"]]
1994
+ TRANSACTION (1.8ms) commit transaction
1995
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1996
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "schema_sha1"], ["LIMIT", 1]]
1997
+ TRANSACTION (0.0ms) begin transaction
1998
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "schema_sha1"], ["value", "435b916cd0980f6986e43360de54a86fa2ce09b6"], ["created_at", "2021-06-26 08:39:35.654752"], ["updated_at", "2021-06-26 08:39:35.654752"]]
1999
+ TRANSACTION (1.6ms) commit transaction
2000
+  (0.0ms) SELECT sqlite_version(*)
2001
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2002
+ TRANSACTION (0.1ms) begin transaction
2003
+ ----------------------------------------------
2004
+ DashboardControllerTest: test_should_get_index
2005
+ ----------------------------------------------
2006
+ User Destroy (0.2ms) DELETE FROM "users"
2007
+ Account Destroy (0.0ms) DELETE FROM "accounts"
2008
+ Customer Destroy (0.1ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
2009
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2010
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:35.774332"], ["updated_at", "2021-06-26 08:39:35.774332"]]
2011
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2012
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2013
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Edit"], ["created_at", "2021-06-26 08:39:35.775613"], ["updated_at", "2021-06-26 08:39:35.775613"]]
2014
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2015
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2016
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  Load (0.3ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["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
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
2057
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
2108
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.7ms | Allocations: 623)
2109
+  (0.1ms) select id, name, age from users order by age desc limit 10
2110
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.4ms | Allocations: 530)
2111
+  (0.0ms) SELECT COUNT(*) FROM "users"
2112
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
2113
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["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
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
2131
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2146
+  (0.1ms) DELETE FROM users WHERE id = '1';
2147
+ Redirected to http://www.example.com/rails/db/tables/users/data
2148
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 1475)
2149
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT * FROM users
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
+  (0.1ms) SELECT * FROM users
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
+  (0.1ms) select * from users limit 10
2183
+  (0.1ms) EXPLAIN select * from users limit 10
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
+  (0.1ms) select * from users limit 10
2201
+  (0.1ms) EXPLAIN select * from users limit 10
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
+  (0.1ms) select * from users limit 10
2210
+  (0.1ms) EXPLAIN select * from users limit 10
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2221
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2230
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2231
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2232
+ #<Class:0x000000000469cf40> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2021-06-26 08:39:36.205371"], ["id", 2]]
2233
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["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
+  (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.2ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2252
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2253
+ #<Class:0x0000000004da9090> Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "XXX"], ["created_at", "2021-06-26 08:39:36.241689"], ["updated_at", "2021-06-26 08:39:36.241689"]]
2254
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["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
+  (0.0ms) SELECT COUNT(*) FROM "users"
2264
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2274
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2283
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
2284
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2285
+ #<Class:0x00000000062bbd48> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2021-06-26 08:39:36.343126"], ["id", 3]]
2286
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Customer Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["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
+ TRANSACTION (0.1ms) rollback transaction
2317
+ TRANSACTION (0.1ms) begin transaction
2318
+ ----------------------
2319
+ TableTest: test_to_csv
2320
+ ----------------------
2321
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2322
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:36.365146"], ["updated_at", "2021-06-26 08:39:36.365146"]]
2323
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2324
+  (0.1ms) SELECT * FROM users
2325
+ TRANSACTION (0.1ms) rollback transaction
2326
+ TRANSACTION (0.0ms) begin transaction
2327
+ ------------------------
2328
+ TableTest: test_as_table
2329
+ ------------------------
2330
+ User Destroy (0.2ms) DELETE FROM "users"
2331
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2332
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:36.368873"], ["updated_at", "2021-06-26 08:39:36.368873"]]
2333
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2334
+  (0.1ms) SELECT COUNT(*) FROM "users"
2335
+  Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
2336
+ TRANSACTION (0.1ms) rollback transaction
2337
+ TRANSACTION (0.0ms) begin transaction
2338
+ -----------------------
2339
+ TableTest: test_columns
2340
+ -----------------------
2341
+ TRANSACTION (0.1ms) rollback transaction
2342
+ TRANSACTION (0.1ms) begin transaction
2343
+ ------------------------
2344
+ TableTest: test_truncate
2345
+ ------------------------
2346
+ User Destroy (0.1ms) DELETE FROM "users"
2347
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2348
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:36.401496"], ["updated_at", "2021-06-26 08:39:36.401496"]]
2349
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2350
+  (0.1ms) SELECT COUNT(*) FROM "users"
2351
+  (0.0ms) DELETE FROM users;
2352
+  (0.0ms) SELECT COUNT(*) FROM "users"
2353
+ TRANSACTION (0.1ms) rollback transaction
2354
+ TRANSACTION (0.0ms) begin transaction
2355
+ ----------------------
2356
+ TableTest: test_delete
2357
+ ----------------------
2358
+ User Destroy (0.2ms) DELETE FROM "users"
2359
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2360
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:36.404584"], ["updated_at", "2021-06-26 08:39:36.404584"]]
2361
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2362
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2363
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "john"], ["created_at", "2021-06-26 08:39:36.405593"], ["updated_at", "2021-06-26 08:39:36.405593"]]
2364
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2365
+  (0.1ms) SELECT COUNT(*) FROM "users"
2366
+  (0.0ms) DELETE FROM users WHERE id = 1;
2367
+  (0.0ms) SELECT COUNT(*) FROM "users"
2368
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
2369
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
2370
+ TRANSACTION (0.1ms) rollback transaction
2371
+ TRANSACTION (0.0ms) begin transaction
2372
+ ---------------------------
2373
+ TableTest: test_primary_key
2374
+ ---------------------------
2375
+ TRANSACTION (0.0ms) rollback transaction
2376
+ TRANSACTION (0.1ms) begin transaction
2377
+ --------------------------------------------------------------
2378
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
2379
+ --------------------------------------------------------------
2380
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2381
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.417881"], ["updated_at", "2021-06-26 08:39:36.417881"]]
2382
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2383
+  (0.1ms) select * from users
2384
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 55)
2385
+ TRANSACTION (0.5ms) rollback transaction
2386
+ TRANSACTION (0.1ms) begin transaction
2387
+ ----------------------------------------------------------
2388
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
2389
+ ----------------------------------------------------------
2390
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2391
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.441109"], ["updated_at", "2021-06-26 08:39:36.441109"]]
2392
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2393
+  (0.2ms) SELECT * FROM users
2394
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.7ms | Allocations: 999)
2395
+ TRANSACTION (0.1ms) rollback transaction
2396
+ TRANSACTION (0.1ms) begin transaction
2397
+ ------------------------------------------------------------------------
2398
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
2399
+ ------------------------------------------------------------------------
2400
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2401
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.451950"], ["updated_at", "2021-06-26 08:39:36.451950"]]
2402
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2403
+  (0.1ms) select * from users
2404
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 81)
2405
+ TRANSACTION (0.1ms) rollback transaction
2406
+ TRANSACTION (0.1ms) begin transaction
2407
+ --------------------------------------------------------------------
2408
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
2409
+ --------------------------------------------------------------------
2410
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2411
+ User Create (0.2ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2021-06-26 08:39:36.460533"], ["updated_at", "2021-06-26 08:39:36.460533"]]
2412
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2413
+  (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
2414
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.2ms | Allocations: 93)
2415
+ TRANSACTION (0.1ms) rollback transaction
2416
+ TRANSACTION (0.1ms) begin transaction
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
+ TRANSACTION (0.1ms) rollback transaction
2421
+ TRANSACTION (0.1ms) begin transaction
2422
+ ----------------------------------------------------------------------------------------------------------------------------
2423
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
2424
+ ----------------------------------------------------------------------------------------------------------------------------
2425
+ TRANSACTION (0.1ms) rollback transaction
2426
+ TRANSACTION (0.1ms) begin transaction
2427
+ ----------------------------------------------------------------------------------------------------------------------------------
2428
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
2429
+ ----------------------------------------------------------------------------------------------------------------------------------
2430
+ TRANSACTION (0.1ms) rollback transaction
2431
+ TRANSACTION (0.1ms) begin transaction
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
+ TRANSACTION (0.1ms) rollback transaction
2436
+ TRANSACTION (0.0ms) begin transaction
2437
+ -------------------------------------------------------------------------------------------------------------------------
2438
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
2439
+ -------------------------------------------------------------------------------------------------------------------------
2440
+ TRANSACTION (0.1ms) rollback transaction
2441
+ TRANSACTION (0.1ms) begin transaction
2442
+ -----------------------
2443
+ RailsDbTest: test_truth
2444
+ -----------------------
2445
+ TRANSACTION (0.0ms) rollback transaction
2446
+ TRANSACTION (0.1ms) begin transaction
2447
+ ------------------------------------
2448
+ RailsDbTest: test_verify_access_proc
2449
+ ------------------------------------
2450
+ TRANSACTION (0.0ms) rollback transaction
2451
+ TRANSACTION (0.1ms) begin transaction
2452
+ --------------------------
2453
+ DatabaseTest: test_adapter
2454
+ --------------------------
2455
+ TRANSACTION (0.0ms) rollback transaction
2456
+ TRANSACTION (0.0ms) begin transaction
2457
+ -------------------------
2458
+ DatabaseTest: test_insert
2459
+ -------------------------
2460
+  (0.2ms) delete from projects_users
2461
+  (0.1ms) EXPLAIN delete from projects_users
2462
+ User Destroy (0.1ms) DELETE FROM "users"
2463
+  (0.1ms) SELECT COUNT(*) FROM projects_users
2464
+  (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
2465
+  (0.1ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
2466
+  (0.0ms) SELECT COUNT(*) FROM projects_users
2467
+ TRANSACTION (0.1ms) rollback transaction
2468
+ TRANSACTION (0.0ms) begin transaction
2469
+ ------------------------------------
2470
+ DatabaseTest: test_accessible_tables
2471
+ ------------------------------------
2472
+ TRANSACTION (0.0ms) rollback transaction
2473
+ TRANSACTION (0.0ms) begin transaction
2474
+ ------------------------
2475
+ DatabaseTest: test_query
2476
+ ------------------------
2477
+ User Destroy (0.2ms) DELETE FROM "users"
2478
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2479
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:36.499814"], ["updated_at", "2021-06-26 08:39:36.499814"]]
2480
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2481
+  (0.0ms) select count(*) as users_count from users
2482
+  (0.1ms) EXPLAIN select count(*) as users_count from users
2483
+ TRANSACTION (0.1ms) rollback transaction
2484
+ TRANSACTION (0.0ms) begin transaction
2485
+ -------------------------
2486
+ DatabaseTest: test_tables
2487
+ -------------------------
2488
+ TRANSACTION (0.0ms) rollback transaction
2489
+ TRANSACTION (0.0ms) begin transaction
2490
+ --------------------------
2491
+ SqlImportTest: test_import
2492
+ --------------------------
2493
+  (0.0ms) update users set age = 11 where id = 1
2494
+  (0.0ms) update users set age = 22 where id = 2
2495
+  (0.0ms) update users set age = 33 where id = 3
2496
+  (0.1ms) 
2497
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
2498
+ TRANSACTION (0.1ms) rollback transaction
2499
+  (0.7ms) SELECT sqlite_version(*)
2500
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
2501
+  (0.0ms) SELECT sqlite_version(*)
2502
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2503
+ TRANSACTION (0.1ms) begin transaction
2504
+ -----------------------
2505
+ RailsDbTest: test_truth
2506
+ -----------------------
2507
+ TRANSACTION (0.0ms) rollback transaction
2508
+ TRANSACTION (0.0ms) begin transaction
2509
+ ------------------------------------
2510
+ RailsDbTest: test_verify_access_proc
2511
+ ------------------------------------
2512
+ TRANSACTION (0.0ms) rollback transaction
2513
+ TRANSACTION (0.0ms) begin transaction
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
+ TRANSACTION (0.0ms) rollback transaction
2518
+ TRANSACTION (0.0ms) begin transaction
2519
+ -------------------------------------------------------------------------------------------------------------------------
2520
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
2521
+ -------------------------------------------------------------------------------------------------------------------------
2522
+ TRANSACTION (0.0ms) rollback transaction
2523
+ TRANSACTION (0.1ms) begin transaction
2524
+ ----------------------------------------------------------------------------------------------------------------------------------
2525
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
2526
+ ----------------------------------------------------------------------------------------------------------------------------------
2527
+ TRANSACTION (0.0ms) rollback transaction
2528
+ TRANSACTION (0.0ms) begin transaction
2529
+ ----------------------------------------------------------------------------------------------------------------------------
2530
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
2531
+ ----------------------------------------------------------------------------------------------------------------------------
2532
+ TRANSACTION (0.1ms) rollback transaction
2533
+ TRANSACTION (0.1ms) begin transaction
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
+ TRANSACTION (0.1ms) rollback transaction
2538
+ TRANSACTION (0.0ms) begin transaction
2539
+ --------------------------
2540
+ SqlImportTest: test_import
2541
+ --------------------------
2542
+  (0.1ms) update users set age = 11 where id = 1
2543
+  (0.0ms) update users set age = 22 where id = 2
2544
+  (0.1ms) update users set age = 33 where id = 3
2545
+  (0.2ms) 
2546
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
2547
+ TRANSACTION (0.1ms) rollback transaction
2548
+ TRANSACTION (0.0ms) begin transaction
2549
+ ------------------------
2550
+ TableTest: test_truncate
2551
+ ------------------------
2552
+ User Destroy (0.1ms) DELETE FROM "users"
2553
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2554
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:58.237903"], ["updated_at", "2021-06-26 08:39:58.237903"]]
2555
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2556
+  (0.0ms) SELECT COUNT(*) FROM "users"
2557
+  (0.0ms) DELETE FROM users;
2558
+  (0.0ms) SELECT COUNT(*) FROM "users"
2559
+ TRANSACTION (0.1ms) rollback transaction
2560
+ TRANSACTION (0.0ms) begin transaction
2561
+ ----------------------
2562
+ TableTest: test_delete
2563
+ ----------------------
2564
+ User Destroy (0.1ms) DELETE FROM "users"
2565
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2566
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:58.240395"], ["updated_at", "2021-06-26 08:39:58.240395"]]
2567
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2568
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2569
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "john"], ["created_at", "2021-06-26 08:39:58.241330"], ["updated_at", "2021-06-26 08:39:58.241330"]]
2570
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2571
+  (0.0ms) SELECT COUNT(*) FROM "users"
2572
+  (0.0ms) DELETE FROM users WHERE id = 1;
2573
+  (0.0ms) SELECT COUNT(*) FROM "users"
2574
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
2575
+  (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
2576
+ TRANSACTION (0.1ms) rollback transaction
2577
+ TRANSACTION (0.0ms) begin transaction
2578
+ ------------------------
2579
+ TableTest: test_as_table
2580
+ ------------------------
2581
+ User Destroy (0.1ms) DELETE FROM "users"
2582
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2583
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:58.244242"], ["updated_at", "2021-06-26 08:39:58.244242"]]
2584
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2585
+  (0.1ms) SELECT COUNT(*) FROM "users"
2586
+  Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
2587
+ TRANSACTION (0.1ms) rollback transaction
2588
+ TRANSACTION (0.0ms) begin transaction
2589
+ ---------------------------
2590
+ TableTest: test_primary_key
2591
+ ---------------------------
2592
+ TRANSACTION (0.0ms) rollback transaction
2593
+ TRANSACTION (0.0ms) begin transaction
2594
+ -----------------------
2595
+ TableTest: test_columns
2596
+ -----------------------
2597
+ TRANSACTION (0.0ms) rollback transaction
2598
+ TRANSACTION (0.0ms) begin transaction
2599
+ ----------------------
2600
+ TableTest: test_to_csv
2601
+ ----------------------
2602
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2603
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2021-06-26 08:39:58.264511"], ["updated_at", "2021-06-26 08:39:58.264511"]]
2604
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2605
+  (0.1ms) SELECT * FROM users
2606
+ TRANSACTION (0.1ms) rollback transaction
2607
+ TRANSACTION (0.0ms) begin transaction
2608
+ ----------------------------------------------
2609
+ DashboardControllerTest: test_should_get_index
2610
+ ----------------------------------------------
2611
+ User Destroy (0.1ms) DELETE FROM "users"
2612
+ Account Destroy (0.0ms) DELETE FROM "accounts"
2613
+ Customer Destroy (0.1ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
2614
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2615
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.279796"], ["updated_at", "2021-06-26 08:39:58.279796"]]
2616
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2617
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2618
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Edit"], ["created_at", "2021-06-26 08:39:58.281599"], ["updated_at", "2021-06-26 08:39:58.281599"]]
2619
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2620
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2621
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  Load (0.2ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["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
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
2662
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
2713
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.7ms | Allocations: 623)
2714
+  (0.1ms) select id, name, age from users order by age desc limit 10
2715
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.4ms | Allocations: 530)
2716
+  (0.0ms) SELECT COUNT(*) FROM "users"
2717
+  (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
2718
+  (0.0ms) SELECT COUNT(*) FROM "accounts"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["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
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
2736
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2751
+  (0.1ms) DELETE FROM users WHERE id = '1';
2752
+ Redirected to http://www.example.com/rails/db/tables/users/data
2753
+ Completed 302 Found in 8ms (ActiveRecord: 0.4ms | Allocations: 1474)
2754
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT * FROM users
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
+  (0.1ms) SELECT * FROM users
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
+  (0.1ms) select * from users limit 10
2788
+  (0.1ms) EXPLAIN select * from users limit 10
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
+  (0.1ms) select * from users limit 10
2806
+  (0.1ms) EXPLAIN select * from users limit 10
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
+  (0.1ms) select * from users limit 10
2815
+  (0.1ms) EXPLAIN select * from users limit 10
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2826
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2835
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2836
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2837
+ #<Class:0x0000000004f8d460> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2021-06-26 08:39:58.720409"], ["id", 2]]
2838
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["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
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.0ms) SELECT COUNT(*) FROM "users"
2857
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2858
+ #<Class:0x00000000056641a8> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "XXX"], ["created_at", "2021-06-26 08:39:58.751631"], ["updated_at", "2021-06-26 08:39:58.751631"]]
2859
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["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
+  (0.0ms) SELECT COUNT(*) FROM "users"
2869
+ CACHE (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.0ms) SELECT COUNT(*) FROM "users"
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
+  (0.0ms) SELECT COUNT(*) FROM "users"
2879
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["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
+  (0.1ms) SELECT COUNT(*) FROM "users"
2888
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
2889
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2890
+ #<Class:0x0000000006c2cc38> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2021-06-26 08:39:58.821097"], ["id", 3]]
2891
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ Customer Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["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
+ TRANSACTION (0.1ms) rollback transaction
2922
+ TRANSACTION (0.0ms) begin transaction
2923
+ --------------------------
2924
+ DatabaseTest: test_adapter
2925
+ --------------------------
2926
+ TRANSACTION (0.0ms) rollback transaction
2927
+ TRANSACTION (0.0ms) begin transaction
2928
+ -------------------------
2929
+ DatabaseTest: test_tables
2930
+ -------------------------
2931
+ TRANSACTION (0.0ms) rollback transaction
2932
+ TRANSACTION (0.1ms) begin transaction
2933
+ ------------------------------------
2934
+ DatabaseTest: test_accessible_tables
2935
+ ------------------------------------
2936
+ TRANSACTION (0.1ms) rollback transaction
2937
+ TRANSACTION (0.0ms) begin transaction
2938
+ -------------------------
2939
+ DatabaseTest: test_insert
2940
+ -------------------------
2941
+  (0.1ms) delete from projects_users
2942
+  (0.0ms) EXPLAIN delete from projects_users
2943
+ User Destroy (0.0ms) DELETE FROM "users"
2944
+  (0.0ms) SELECT COUNT(*) FROM projects_users
2945
+  (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
2946
+  (0.1ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
2947
+  (0.0ms) SELECT COUNT(*) FROM projects_users
2948
+ TRANSACTION (0.1ms) rollback transaction
2949
+ TRANSACTION (0.0ms) begin transaction
2950
+ ------------------------
2951
+ DatabaseTest: test_query
2952
+ ------------------------
2953
+ User Destroy (0.2ms) DELETE FROM "users"
2954
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2955
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.845037"], ["updated_at", "2021-06-26 08:39:58.845037"]]
2956
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2957
+  (0.0ms) select count(*) as users_count from users
2958
+  (0.1ms) EXPLAIN select count(*) as users_count from users
2959
+ TRANSACTION (0.1ms) rollback transaction
2960
+ TRANSACTION (0.1ms) begin transaction
2961
+ ------------------------------------------------------------------------
2962
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
2963
+ ------------------------------------------------------------------------
2964
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2965
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.851011"], ["updated_at", "2021-06-26 08:39:58.851011"]]
2966
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2967
+  (0.1ms) select * from users
2968
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 81)
2969
+ TRANSACTION (0.1ms) rollback transaction
2970
+ TRANSACTION (0.0ms) begin transaction
2971
+ --------------------------------------------------------------------
2972
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
2973
+ --------------------------------------------------------------------
2974
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2975
+ User Create (0.1ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2021-06-26 08:39:58.857840"], ["updated_at", "2021-06-26 08:39:58.857840"]]
2976
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
2977
+  (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
2978
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.2ms | Allocations: 93)
2979
+ TRANSACTION (0.1ms) rollback transaction
2980
+ TRANSACTION (0.0ms) begin transaction
2981
+ ----------------------------------------------------------
2982
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
2983
+ ----------------------------------------------------------
2984
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2985
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.863719"], ["updated_at", "2021-06-26 08:39:58.863719"]]
2986
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2987
+  (0.1ms) SELECT * FROM users
2988
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.1ms | Allocations: 999)
2989
+ TRANSACTION (0.1ms) rollback transaction
2990
+ TRANSACTION (0.0ms) begin transaction
2991
+ --------------------------------------------------------------
2992
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
2993
+ --------------------------------------------------------------
2994
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
2995
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2021-06-26 08:39:58.878750"], ["updated_at", "2021-06-26 08:39:58.878750"]]
2996
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2997
+  (0.1ms) select * from users
2998
+ Rendered /root/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 55)
2999
+ TRANSACTION (0.2ms) rollback transaction