rails_db 0.4 → 0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/rails_db/data_table.png +0 -0
  3. data/app/assets/images/rails_db/data_table_code.png +0 -0
  4. data/app/controllers/rails_db/application_controller.rb +17 -4
  5. data/app/controllers/rails_db/sql_controller.rb +1 -1
  6. data/app/helpers/rails_db/rails_db_data_table_helper.rb +3 -4
  7. data/app/views/rails_db/dashboard/data_table.html.erb +5 -1
  8. data/app/views/rails_db/tables/data.js.erb +3 -1
  9. data/app/views/rails_db/tables/show.js.erb +3 -1
  10. data/lib/generators/templates/rails_db.rb +20 -15
  11. data/lib/rails_db.rb +4 -0
  12. data/lib/rails_db/version.rb +1 -1
  13. data/test/dummy/app/views/home/index.html.erb +11 -4
  14. data/test/dummy/config/initializers/rails_db.rb +1 -0
  15. data/test/dummy/db/rails_db.sqlite3 +0 -0
  16. data/test/dummy/log/development.log +2118 -0
  17. data/test/dummy/log/test.log +892 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-1FzbczUXReXI9t-1gIybKPQSZU-3izd7NeMNM_svlc.cache +2 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-9ef5uQpIPsVe0RF14YUXtUAXr2CtFN-Dvlfb6LEIOo.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-AfFYJfAhN0c-gLomhRXVZu-UTh8r34LrUky-KoE_g0.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-OxEPgezehlD58aoibEUT3g6GOABTxmR1nRulm92C9o.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-ad-BGPQ7GVq8D4bP51pbAaQa74FjDJnhxh42FE_CMw.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0bTdKYtdTnFnYV94EK3O2FP9U_cMfNB1r8bTZ07AG_M.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/13ZLVyc7NbqfdChjyQUg5Ew448pff5dWA2HsEqV5cyo.cache +2 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1C5Fr8q22KeiZPrmpVEpfMx8BgUR8wiSgXXc8t7oYqY.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1DB2vOUyZ9GmtU0BrkbbPvE4-V_YnPp1ug2q6xiE8W0.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1JStgTq7PWw-WAUw5-MLJhpat2sTOq50iWKScOGGrzo.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1KoxTEdeB2YelrfYDGr_tF_sPn4lmeqXbqHTWEwPZ9g.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1qYefBxp0D_D3QbwufHm7gNyOulhJKENM2KqP6LOpKk.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1ymzwZZn4IH5fkDBZIbz7zyjp3BTGLJEctwUdowA53U.cache +2 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/20fDyEurUjpxp9jBx2-2yAJPL6Pnu1nKAGSultoiqso.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/25BQop3dWxqIkAoUrlLOoSFtD_3wrPhziRhyTpskVfU.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2MPXNeDpl8DkOMS258j0nXV-gV7C5jJcGI375_v0UIY.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4ldgYtVM2u3e83oZDUpkeprm2PDAaCzbdqVT-hl9TZ0.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4pqgGp_XDg4IuEi0pQgZ8kcE8_EDS18Y8kxYbKAyQtA.cache +1 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5zBCdqK6U5O2FnyMCl-AuvQwne_EJJukwwhAiWPOcD0.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5zDqaG6Wkg24JuaB7uDFdEtU07F3BLZ3r1T2fWOi4PM.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/62Ynx1tr3uJFOQqNjtta7f_i04JBzK1Y11ZWKOlc8Ag.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6KCWLMbhtUhUFb2hsyJ6GEGq8KqtdMRRbKV43jfO-CM.cache +1 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7X0eCYmoWdSrdRWZWcpikYWfQUHV0caliKWfpdGofik.cache +1 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8_2c3mPTyeO-2Mc0rwGrD5WNw4YDeA8wGtUb80hwK6g.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8hGJlFO3ei4bE0MipMFZ5xNUQx4g30YGNuoDfS4UeZc.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9Cx-O1lN4mIZ2fYBg5Ro-YT9zgePAIe6c8SEejXJsCs.cache +1 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9T9ySPoFD2DKnvKkt5thlcQGr0dGI5bORFkbwQNeWWc.cache +1 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9XnFYitlfvFZaf1H_FGGMONApqEkz96d8EmYEba10LE.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9wxn_ryxe4GXDAGs3Z7yj-5xdq9h3vUY_sBuszTrO_E.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B79p4_PBSDWduSNwZSf8PxSL8IY0NXFMjUsQQ2OpnXs.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BABxSuKn5zWjVBcT2aXCUQ8-SDXLitgvKiuWGyEv33A.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BJ0mv-Yy31m5Jn2p1KswiG00AKFkPIRlvBkSGCJDtKI.cache +1 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BJfwZim5qS0tE1wkHuKEc9ZylQOR5_QZCC7TtTUtp5E.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BbCfj1yku8V4rd1b7OS_6z71dXYgfZlEZI4_4rSvs2c.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CRfOnlsvN4xjJrQoJOJXe7wiUx5zM8ttErZzZKXZypw.cache +1 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Cnf4XMidUBjguvnvV4LrWpHCtEqpNHo55CUu0zRhZGg.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CqB1i_jcOfqOrR6OXEMOeVe1lU8sfWD_zfu9_lTawXc.cache +3 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CuW__uRs2t09xcclTR1qqf8rjdfqBVBjH1iPBIMcJhE.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/D3v-XeBsq1zub8DE1jMLRztcB-SX4b0r2awvP7k0JUU.cache +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DioL0BlpTldUksgbHLyrJuSe3UaKiH4dF6_QrrCDchc.cache +2 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DkoYfZPmxhVIKjAxX_WC-UOIFwZ6UvuOUHlEDkMkT5g.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E3Wp2c8N-QyOHi9uJtDrceisd6bgFHPFzNEfBx-Kp64.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ef0Dyr3YH-iCpng-CE3xlPv9IrrygDfnEsT_elT4kPg.cache +4 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F9L4jJUDFcKjC57AE0JoK_Y8nyWVuqPwzNI7hhw97Rw.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FHlT4Gro9APaoZTh0AVtoVgBFzwgrLUua-qoTfLiNFk.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fm_LoK3sNzx95Xlss2WRoz3572PbFegKnkv2IX_mfbU.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GAZAeN6DFd-Hff4jWtcDx4_D8qYcuuV9uI_U3WWuQIk.cache +4 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GKj9ys1QcpG37e0BJDP1NZjIJSkM3_sPDlw-Qw0mlyA.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GV0MvRHvwH94unYn4xyMXzlZn4BsyjiqpRPwrmTEvSg.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GV3TpgLNHSJjuG_EqiQXuysA-G3dDSzxOR4hGsvncpU.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/H0jvJCxv03N3VTW_GtbUgvFKoHwwUDIsKWbziQDm55M.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HZPvjPsE0CNaw2w0Q2HBKVNmnCnRQDa1-7dIo5RIZsY.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Hfs9Pg-wcUL8ELma02AjYvno1UOEM3PoIZO9LW5j_Es.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/I9KzGbnyQLvpi8eZqfb1lQ55uWYJsHoLn92B1KsUlEw.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JwXdcL0JzkxwA7g0wIv99m_4p7dpiWTvbsim0qJStt0.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/K3OtwrD0NYZxZo7qBwoIqD6xpwIzyvhc2DHTpvAJS7o.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KKa_plG6M0njFjFwyU0d57E7c4KsCEk8va3YFw2zzDU.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LVIr9gXa336tAakIAwmXHiItA0CIVu790n_yBMNwMRM.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LtsmSUu9MMr7yxRW3VWyzvkwGc3Gw_I1VXC-ddGmBBU.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MXWDlsx_NGYdJaZHDGG4Dz_1w95FLzD3oyxSHG6Ad6w.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MeeyjZ0dHgGaqsn4Hngf6MTQu6seTb8pyFpUPioEVIM.cache +2 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MqQsKuOO4xiZe1hg2JDeeEeoJwzS3SaJG2oRSTpnOTo.cache +2 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NdYB5zPad4IYqXSvnbJ3WijigkQ3FxCpb4zCx5vHmXg.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NuDA_j_8yYBDNQfvrIHD3wMInHpDQcOIpYdLkb5KbVg.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O7hMNo6NcQPAxd-9QB1q6g-hU8WTmp79tW4udDofgD0.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OGA_ihUKx7DuvIC2_9yAy4bqMPsU1KLuoxmAqAfJQ14.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OJ688wl-UXa_QIenZjwyipE0Zbmpg4TRl1mdwTACVaw.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OJaWSuFb_SOk6iYHPWCtD0vjvwZQiht1_3DRd6r7O38.cache +2 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Oh4KNLbBG7_LZF_ruODn4srUEyMiN7SCdlMj7Xe8TGE.cache +2 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PAbNNO1Mzor-A3bIsFjVdXtNpPnsUUKZVWi48NkNjCs.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PvUGXnYDrY33joeit15C-37Rb-BE-R7at423rgCg9SI.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Qa7qe8hRTUhUY9TjtW8tvV5IYKL_KMEUxm0w1Gg83kc.cache +2 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QcLQ6ehgIR6NOn24UgPv9KBhhro2zr76kiUoh4eZyPs.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QlAAJR_GROySyDuj4X7PnjiVslFZBbfPc8LTnxsPqE4.cache +1 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Qmtqpr3BZ_IOQ-NFfQ-N0ubcZYI2OPNPp3NJYC-Szt8.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QvTDYGHLBfQ6AXeyheZtqEzni7snBt4mdakd85m_HTM.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R6e7jFRtHMffKsH5s35dUwr4L5qaokNMsclSBI5i3lg.cache +1 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RF8dlFmQp92oYo0I-lvtuZIRyZ8xe4cgf4RFmhh_hBQ.cache +1 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Rccavl9kSDJwmxOB50yUAH1naBhH0Bf3EeZrJ3qICXI.cache +1 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RhRRp0UEEbMEaNsVZKSaACjwi00I5iKfyb3_kt_Wsco.cache +2 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RidkCCLptXrIZOe2xGc3p_bnL3khvnYz7y3jbZtHVYw.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RzZCCm7U8pvEmjiy368HWxNqGzhUqm5ykjWEGe3q9vs.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SMZAtzK72nyomirk_ZzAMoKjLfPZdQOV3xBh2hbEQ3Q.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SNTKKDTYQynuv92DM7E2tCMKfz7h866FWGW9TwZU7yA.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SXk6ibyCzWFAskBcQbGv-ikr_CIyLzZ0C1YYAjCWSQA.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SaX0eiraoKlVNPLb6v21RO39ko52vaU1uPykSA5GQPA.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SfX85-y2RXXeOjlWNVh58njC4V9ONxWCCH88yhgKCD0.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TX1bUUNx2IQvWW-K4mp7jS9UFXubkh9j7_iNTwB2Mf0.cache +4 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UDN3PuohDiNzu7-QAvTgrzF4LBBWdjEvZDZUJ-5hRaU.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UReeKjaXvLxdO36NmjiL2zTDaI77ErsBegI0CXImzQg.cache +2 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UfvjjefD5s8yZ91dNbHDb3ak9cbvUmeCETM6gekBnf4.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UqzStsMmE3thURR9z9gvB1mDTyZjh7_e_bg7TcxIdUk.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VF7FdgtgC5VtjonxYVMlGVwXoAYPdDfUrSCYUtvN0e4.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vx8xaiTNje_p2220Vk1Gl8tJLU0ku-RsAHZOjl1J5UU.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WVPfbmTRJLsjNPeEnWQ5hF94dj8yjxXwEdNRbLKNdt8.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WXOf7FkU2GHvLgsTIgvmtm6z3_FzJhEJjWBvCkDm-JE.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WjTkwMoNVhM2-Yy1fYBSDPkFfRBJhjdo0tpEvkLFAzY.cache +1 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XSSwk1d6m8kXMizGhgJ68tuaaNBrlyKxcHlzGa8sXVI.cache +1 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Xruxki-8ivW-1JbctoQ2Wn74qjqZ70RGYrPzTqP3Eh4.cache +2 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YFz90CqTMS8d_apfZHVg_6pX8OKeRkmynBTBTbhwqZk.cache +2 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YgjrmJIE7yKDRn5Srmq1bFp_LU6HayzAUMMrpdZiviM.cache +1 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZfeeOeJgOe1Bn3gHncmPmdUZcVnaLYVgfkugoPY7F6E.cache +1 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZziQAY90A9X2tBD1ZEqOsnPyJIuiqINWpGr1g36LBw0.cache +1 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_H1S1FomR5ulSXAwaN_55nCcewtvq3Pzrd8IrQk0KS4.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_hVkX1PQYZZnk0Lfj4Py5IgXmdzgAUEU0rXQdbMetn4.cache +1 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aE7FQoQAYjymr0WtroMCGLYS2qGXffAIzTg6w3gdIzs.cache +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b1TjqqzOxPYIu3xlefcmkNhLfxn4OUoXhKO1NmoAqQI.cache +1 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bo8rw47Eo5DcQZ6ekcR4ADiRzGp9pQ--GuwQoUjNzgE.cache +1 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c4lAlntjNWhqry0TYgV3FkIbWueymPNOsqhG8egQLbs.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c6cLIVTdFc7xlTNrT-R_6GQv1SHQJ3GQ9acdzNxR6fw.cache +2 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cQiCeViX2V_xy8NT_5cT4SvmgAiF3RC6j8u2my0JcC8.cache +1 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cVvCLeihesJ6-u5wTY2Un0sPSAY31_1zY10S0dJq5O8.cache +1 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ciFhA5pEe1hETFmPTePQByhKNyw1D56IpthqWctWznU.cache +2 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cu2zWS8hK_nsoWMuLmxJ_J11uUUo177giYR-2XuVkxo.cache +1 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cwaaa9kdA43obn6llYqu9-2woAvksaYcRf1Yz9J5UkQ.cache +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dkK-g5MjkSG3XHsQyrVBhwEs_qhd7HPwaPx_wxIyJ4I.cache +1 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dkQIClh_iB33_OtMBQDqa9cjodZsknn4Fq3fssn_kpE.cache +1 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dq_gzW2XbosSR46byNNB98EOaILBjubZi8BMwpCHkac.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/e3gE4zsS6o_aH16WuwOuGWz_RCsYifI3syS3PRNBVzM.cache +2 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/exb1nzfl7zbpTLugzZwmEOofJI_vT2Ygz0VWcMD_m0w.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fVtQtstSP8Xk2tNlpACHwWlinCr5-gomcs8lZiFIpYA.cache +1 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/feZNxLsXC_HI7g74r1Esmo6WKIwGPO4MIJ9cQrELrPM.cache +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g5MuaydhmgbGQPQlQ4bs-CRRMVbdgT2P0jTJX2VlH-s.cache +1 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gE5WloqdYew5KTVrODN2oNJYqsHXKdkeCRviRvlqZhM.cache +2 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hs_QVD8dDBwfLMebgo7FP0Mp7Ggm_vTHVt4vp8Nc3ow.cache +1 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i7be-L7zWA8Tq5GKoilyXcFrkLq4PZ4ANMtv8Di8LMM.cache +1 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i8S9tLd2OA46suc3OBcKFWX3qY_LSTsWDW0EItWiV9M.cache +2 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i9lCn6uMPp42xIjcdlI0OKTXoB8iz4b40rROAUE6taI.cache +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iHVPUfH3rKszn-hPvw3y_XUzW6AseHAFbZf8KgXgRP0.cache +1 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j1DvJgMWtfMMcaLPmFvKpXyEdC1d87tSyj2wAJtNXOM.cache +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jVb1V60q5INPA0V31k2vFt4ufeZxjrAATZgs98FgquQ.cache +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jubghFj17L9-0UQXWhr81XNLnbWDhjl2zLnuxQSynY4.cache +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kJ89Pt-1u9FqmTeLAD0sZ95ge2a5qHlkCyA6wJ1ZBlo.cache +1 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kVtgTEylYfCW813qvyt68dVc2NnP_EGtv02HHLFDzz8.cache +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kfo9g-u2KF41jAKCyT_MSZQW4HmJjPXa4Jtn3gIosQQ.cache +2 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kgYJbzLoVKlTPF2LE0Rzj3GYc53ZBg9VN11f8RAOUnw.cache +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kifKhkHgWabY7QD4Z9BpGtniRL2fjjWt7E1lEQQZOM8.cache +1 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/krzVLsTR-So59STu1qfrxKxRU4gTr6JfS1jarFGHtHE.cache +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lSHTlP0nOUNKJlqoXR4Xi6pHPEsKao5r4E-yh83Zr7s.cache +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mOqdXAeJzCE89mqIHm1zJ-mZxSzOGmoWKkTCGoU9VBQ.cache +1 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nU8DZ7BHBfZDsIClibXyFJJ8-TQ38etq99O8d2Bn3k8.cache +2 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nZPOXU075TyrBauT64zyVzzetEYnZ1XpgUDql1B7HHw.cache +1 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/p-7I6mJh8humrZfYajRHvOcgHBOFhAGNSTK7rWHMvGM.cache +1 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pp_rDacu5gTVLZNHQsUCHSbpitN3FqR5axW2nU5CVp4.cache +1 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qHOXy8djCPupMpFTqc4BhqUM_wwwFmpKDFO1VaHDQnU.cache +2 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qSNSNLWNLFwPs4LoSJEPl6YJJ-WeUrEZKROEZtzAaq8.cache +3 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qmpVstQuyI0oPoRuVO4lr9hyUQ4YffSe_z_nqWfGSiE.cache +2 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rECE1K6tqxi2mq2Sl9yexOFNqTztKWzgpmgIoo8ezCU.cache +1 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/r_LRMxEnof72U5y_-EeE0uHfZhnH2zWAdj2qDijCCOA.cache +2 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rojM4Nyf-dh2t9ZNrs01UXR4tyzse5TRkbhqSFrug4U.cache +1 -0
  168. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/s2JMxxDSXNrRA5SQ49aVK3f4NLH8juc1lVgcu2kUasM.cache +2 -0
  169. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sjEdj-EbkAzU5LmpDX-gpff6DqmCGOi6GMGWU2DCLUQ.cache +2 -0
  170. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t8AURV3--XvXGd17scUtoLftPiTX4LE_mrNJytGHT8M.cache +1 -0
  171. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tbzf6ZUQkANI6wh5fzVa1Ya-CM4koAqpl8HDKdMFO3A.cache +0 -0
  172. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uDfJjJMCsQ5RbTZk2qMTcWnFdRxfcpOmR-Xuxfoi5n8.cache +1 -0
  173. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uc5Z5lNHmgWs2M3jSsinpJoljQlcImzuY4U3xaDjeFQ.cache +0 -0
  174. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/umi0Uo43quU4M8eMesiPMWtCVrKR73sDLU2ufHHjCi8.cache +0 -0
  175. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vEsM6TLDqI66wdQTGsepOfiarJhnemrE-LhAUx28bpk.cache +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vMVU-gebA9tpmGXhTqGStFiyImOSgM0j0ml0pjzuL8c.cache +2 -0
  177. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vTkhtBGzpZQQUa0IAKv0GRM536xHQCbnU1x2Mx7GC-s.cache +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v_vtER6FcBK4NQ8NVqCrC3cDSLXpJULXdCUMNecVdbA.cache +2 -0
  179. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w-ctnf1Qb6R1KwRcMOoOctCG_1EIDBAhGZQyE0qmhwE.cache +2 -0
  180. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wJR4Hnm68fnAoR06f3tmBPkYOeaQbVsO8S_ud9wUFpU.cache +0 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wdQcaN2fBY43BFQrczznnKVhjfgveq3Y8y-pwm1v3Ks.cache +1 -0
  182. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x7pu2bXaCrv3VmIcCWH698RRXZhjJ6wKHRzHqs-VX9Q.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xLjYoh8fsW2SWbsOFNydCVhLZDSjGpGqdxKh2xzAqbA.cache +1 -0
  184. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xaWjetnj69TYmuUKFrPpis7VpYEn8sKKE0zWMI8XWMU.cache +2 -0
  185. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z1WXqS8i4GIl0lo4MxRV7lOqacfNGN848lO1P9QN040.cache +2 -0
  186. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z8PDffeXIaQMw8_Atvw__hnu3XdHRMPbut-Hc1cgpQM.cache +0 -0
  187. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z_l85PxWC5IgUpgOsMLjvkMdQI7OijvTKM8RAbRCGM0.cache +0 -0
  188. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3wC0Bap6PGhwdRp76Pp33eQ01J0iMaJhq-H5DegUjmo.cache +0 -0
  189. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6KCWLMbhtUhUFb2hsyJ6GEGq8KqtdMRRbKV43jfO-CM.cache +1 -0
  190. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CuW__uRs2t09xcclTR1qqf8rjdfqBVBjH1iPBIMcJhE.cache +1 -0
  191. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DioL0BlpTldUksgbHLyrJuSe3UaKiH4dF6_QrrCDchc.cache +2 -0
  192. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/K3OtwrD0NYZxZo7qBwoIqD6xpwIzyvhc2DHTpvAJS7o.cache +1 -0
  193. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PAbNNO1Mzor-A3bIsFjVdXtNpPnsUUKZVWi48NkNjCs.cache +0 -0
  194. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UfvjjefD5s8yZ91dNbHDb3ak9cbvUmeCETM6gekBnf4.cache +1 -0
  195. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UmDRvaYI-mkvjjcdR1CeaTe25lxQC7op3Xg0ej2E8wY.cache +0 -0
  196. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/V62bcIonSy--_pJ6RzZPUix4gQFeTvSh3woPl9Jc_yg.cache +1 -0
  197. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZziQAY90A9X2tBD1ZEqOsnPyJIuiqINWpGr1g36LBw0.cache +1 -0
  198. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cVvCLeihesJ6-u5wTY2Un0sPSAY31_1zY10S0dJq5O8.cache +1 -0
  199. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dq_gzW2XbosSR46byNNB98EOaILBjubZi8BMwpCHkac.cache +0 -0
  200. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hGSqf77lfMNKF7FuNq_jSXjbbhRjTR9jIHyC_VE75N0.cache +1 -0
  201. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/w-ctnf1Qb6R1KwRcMOoOctCG_1EIDBAhGZQyE0qmhwE.cache +2 -0
  202. data/test/rails_db_data_table_helper_test.rb +4 -4
  203. data/test/rails_db_test.rb +6 -0
  204. metadata +368 -2
@@ -7309,3 +7309,895 @@ TableTest: test_columns
7309
7309
  -----------------------
7310
7310
  SQL (1.1ms) DELETE FROM "accounts"
7311
7311
  SQL (1.0ms) DELETE FROM "users"
7312
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
7313
+ ----------------------------------------------
7314
+ DashboardControllerTest: test_should_get_index
7315
+ ----------------------------------------------
7316
+  (0.2ms) begin transaction
7317
+ SQL (1.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 19:56:13.054482"], ["updated_at", "2015-10-26 19:56:13.054482"]]
7318
+  (0.9ms) commit transaction
7319
+  (0.1ms) begin transaction
7320
+ SQL (0.9ms) INSERT INTO "accounts" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 19:56:13.067961"], ["updated_at", "2015-10-26 19:56:13.067961"]]
7321
+  (0.8ms) commit transaction
7322
+ Started GET "/rails/db" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7323
+ Processing by RailsDb::DashboardController#index as HTML
7324
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (157.3ms)
7325
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (9.9ms)
7326
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (2.8ms)
7327
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.7ms)
7328
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (5.7ms)
7329
+ Completed 200 OK in 392ms (Views: 391.1ms | ActiveRecord: 0.2ms)
7330
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7331
+ Processing by RailsDb::TablesController#show as HTML
7332
+ Parameters: {"id"=>"users"}
7333
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.5ms)
7334
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_show.html.erb (5.8ms)
7335
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (8.6ms)
7336
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.2ms)
7337
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7338
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7339
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7340
+ Completed 200 OK in 42ms (Views: 21.2ms | ActiveRecord: 0.5ms)
7341
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7342
+ Processing by RailsDb::TablesController#data as HTML
7343
+ Parameters: {"table_id"=>"users"}
7344
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.3ms)
7345
+ --> Executing: SELECT * FROM users LIMIT 10 OFFSET 0
7346
+  (0.2ms) SELECT * FROM users LIMIT 10 OFFSET 0
7347
+ --> Executing: SELECT COUNT(*) FROM users
7348
+  (0.1ms) SELECT COUNT(*) FROM users
7349
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_data.html.erb (10.1ms)
7350
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (14.1ms)
7351
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.2ms)
7352
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7353
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7354
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7355
+ Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 1.1ms)
7356
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7357
+ Processing by RailsDb::SqlController#index as HTML
7358
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7359
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_history.html.erb (1.6ms)
7360
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (9.2ms)
7361
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.6ms)
7362
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7363
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.2ms)
7364
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7365
+ Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 1.5ms)
7366
+ Started GET "/rails/db/import" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7367
+ Processing by RailsDb::SqlController#import as HTML
7368
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (0.4ms)
7369
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (4.6ms)
7370
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.5ms)
7371
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7372
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.2ms)
7373
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7374
+ Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.2ms)
7375
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7376
+ Processing by RailsDb::DashboardController#data_table as HTML
7377
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (6.0ms)
7378
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.5ms)
7379
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.4ms)
7380
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.7ms)
7381
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (2.2ms)
7382
+ Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.2ms)
7383
+ Started GET "/" for 127.0.0.1 at 2015-10-26 21:56:13 +0200
7384
+ Processing by HomeController#index as HTML
7385
+ --> Executing: SELECT id, name, users_count FROM accounts
7386
+  (0.4ms) SELECT id, name, users_count FROM accounts
7387
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (2.0ms)
7388
+ --> Executing: select id, name, age from users order by age desc limit 10
7389
+  (0.4ms) select id, name, age from users order by age desc limit 10
7390
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.2ms)
7391
+ Rendered home/index.html.erb within layouts/application (11.9ms)
7392
+ Completed 200 OK in 29ms (Views: 27.7ms | ActiveRecord: 1.0ms)
7393
+ --------------------------
7394
+ SqlImportTest: test_import
7395
+ --------------------------
7396
+ SQL (1.2ms) DELETE FROM "accounts"
7397
+ SQL (1.3ms) DELETE FROM "users"
7398
+  (0.3ms) update users set age = 11 where id = 1
7399
+  (0.2ms) update users set age = 22 where id = 2
7400
+  (0.2ms) update users set age = 33 where id = 3
7401
+  (1.9ms) 
7402
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
7403
+ ------------------------------------
7404
+ DatabaseTest: test_accessible_tables
7405
+ ------------------------------------
7406
+  (1.6ms) DROP TABLE "t"
7407
+ SQL (1.1ms) DELETE FROM "accounts"
7408
+ SQL (1.1ms) DELETE FROM "users"
7409
+ ------------------------
7410
+ DatabaseTest: test_query
7411
+ ------------------------
7412
+ SQL (1.1ms) DELETE FROM "accounts"
7413
+ SQL (1.1ms) DELETE FROM "users"
7414
+ SQL (1.2ms) DELETE FROM "users"
7415
+  (0.1ms) begin transaction
7416
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 19:56:13.722802"], ["updated_at", "2015-10-26 19:56:13.722802"]]
7417
+  (0.8ms) commit transaction
7418
+ --> Executing: select count(*) as users_count from users
7419
+  (0.1ms) select count(*) as users_count from users
7420
+ --> Executing: EXPLAIN select count(*) as users_count from users
7421
+  (0.1ms) EXPLAIN select count(*) as users_count from users
7422
+ --------------------------
7423
+ DatabaseTest: test_adapter
7424
+ --------------------------
7425
+ SQL (1.0ms) DELETE FROM "accounts"
7426
+ SQL (0.9ms) DELETE FROM "users"
7427
+ -------------------------
7428
+ DatabaseTest: test_tables
7429
+ -------------------------
7430
+ SQL (0.9ms) DELETE FROM "accounts"
7431
+ SQL (0.8ms) DELETE FROM "users"
7432
+ --------------------------------------------------------------------------------
7433
+ RailsDbDataTableHelperTest: test_rails_db_data_table_sql_works_with_many_options
7434
+ --------------------------------------------------------------------------------
7435
+ SQL (0.9ms) DELETE FROM "accounts"
7436
+ SQL (0.7ms) DELETE FROM "users"
7437
+  (0.1ms) begin transaction
7438
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 19:56:13.742343"], ["updated_at", "2015-10-26 19:56:13.742343"]]
7439
+  (0.9ms) commit transaction
7440
+ --> Executing: select * from users
7441
+  (0.3ms) select * from users
7442
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (3.4ms)
7443
+ ----------------------------------------------------------------------
7444
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_sql_works
7445
+ ----------------------------------------------------------------------
7446
+ SQL (1.1ms) DELETE FROM "accounts"
7447
+ SQL (1.0ms) DELETE FROM "users"
7448
+  (0.1ms) begin transaction
7449
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 19:56:13.785202"], ["updated_at", "2015-10-26 19:56:13.785202"]]
7450
+  (0.8ms) commit transaction
7451
+ --> Executing: select * from users
7452
+  (0.1ms) select * from users
7453
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (0.2ms)
7454
+ ------------------------------------------------------------------
7455
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_works
7456
+ ------------------------------------------------------------------
7457
+ SQL (0.9ms) DELETE FROM "accounts"
7458
+ SQL (0.9ms) DELETE FROM "users"
7459
+  (0.1ms) begin transaction
7460
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 19:56:13.792944"], ["updated_at", "2015-10-26 19:56:13.792944"]]
7461
+  (1.1ms) commit transaction
7462
+ --> Executing: SELECT * FROM users
7463
+  (0.1ms) SELECT * FROM users
7464
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (2.2ms)
7465
+ ----------------------------------------------------------------------------
7466
+ RailsDbDataTableHelperTest: test_rails_db_data_table_works_with_many_options
7467
+ ----------------------------------------------------------------------------
7468
+ SQL (1.2ms) DELETE FROM "accounts"
7469
+ SQL (1.1ms) DELETE FROM "users"
7470
+  (0.1ms) begin transaction
7471
+ SQL (0.6ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2015-10-26 19:56:13.831076"], ["updated_at", "2015-10-26 19:56:13.831076"]]
7472
+  (0.9ms) commit transaction
7473
+ --> Executing: SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
7474
+  (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
7475
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (0.4ms)
7476
+ -----------------------
7477
+ RailsDbTest: test_truth
7478
+ -----------------------
7479
+ SQL (1.2ms) DELETE FROM "accounts"
7480
+ SQL (1.4ms) DELETE FROM "users"
7481
+ ------------------------------------
7482
+ RailsDbTest: test_verify_access_proc
7483
+ ------------------------------------
7484
+ SQL (2.1ms) DELETE FROM "accounts"
7485
+ SQL (1.5ms) DELETE FROM "users"
7486
+ -----------------------
7487
+ TableTest: test_columns
7488
+ -----------------------
7489
+ SQL (0.8ms) DELETE FROM "accounts"
7490
+ SQL (1.1ms) DELETE FROM "users"
7491
+ ----------------------
7492
+ TableTest: test_to_csv
7493
+ ----------------------
7494
+ SQL (0.9ms) DELETE FROM "accounts"
7495
+ SQL (0.9ms) DELETE FROM "users"
7496
+  (0.1ms) begin transaction
7497
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2015-10-26 19:56:13.858390"], ["updated_at", "2015-10-26 19:56:13.858390"]]
7498
+  (1.0ms) commit transaction
7499
+ --> Executing: SELECT * FROM users
7500
+  (0.2ms) SELECT * FROM users
7501
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
7502
+ -----------------------
7503
+ RailsDbTest: test_truth
7504
+ -----------------------
7505
+ ------------------------------------
7506
+ RailsDbTest: test_verify_access_proc
7507
+ ------------------------------------
7508
+ --------------------------
7509
+ DatabaseTest: test_adapter
7510
+ --------------------------
7511
+ ------------------------------------
7512
+ DatabaseTest: test_accessible_tables
7513
+ ------------------------------------
7514
+ -------------------------
7515
+ DatabaseTest: test_tables
7516
+ -------------------------
7517
+ ------------------------
7518
+ DatabaseTest: test_query
7519
+ ------------------------
7520
+ SQL (1.5ms) DELETE FROM "users"
7521
+  (0.1ms) begin transaction
7522
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:02.186300"], ["updated_at", "2015-10-26 20:01:02.186300"]]
7523
+  (1.4ms) commit transaction
7524
+ --> Executing: select count(*) as users_count from users
7525
+  (0.2ms) select count(*) as users_count from users
7526
+ --> Executing: EXPLAIN select count(*) as users_count from users
7527
+  (0.2ms) EXPLAIN select count(*) as users_count from users
7528
+ ----------------------------------------------------------------------
7529
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_sql_works
7530
+ ----------------------------------------------------------------------
7531
+ SQL (1.1ms) DELETE FROM "users"
7532
+  (0.1ms) begin transaction
7533
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:02.206447"], ["updated_at", "2015-10-26 20:01:02.206447"]]
7534
+  (1.0ms) commit transaction
7535
+ ----------------------------------------------------------------------------
7536
+ RailsDbDataTableHelperTest: test_rails_db_data_table_works_with_many_options
7537
+ ----------------------------------------------------------------------------
7538
+ SQL (1.6ms) DELETE FROM "users"
7539
+  (0.1ms) begin transaction
7540
+ SQL (0.5ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2015-10-26 20:01:02.216498"], ["updated_at", "2015-10-26 20:01:02.216498"]]
7541
+  (1.4ms) commit transaction
7542
+ --> Executing: SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
7543
+  (0.2ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
7544
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (5.3ms)
7545
+ ------------------------------------------------------------------
7546
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_works
7547
+ ------------------------------------------------------------------
7548
+ SQL (1.2ms) DELETE FROM "users"
7549
+  (0.1ms) begin transaction
7550
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:02.286671"], ["updated_at", "2015-10-26 20:01:02.286671"]]
7551
+  (0.8ms) commit transaction
7552
+ --------------------------------------------------------------------------------
7553
+ RailsDbDataTableHelperTest: test_rails_db_data_table_sql_works_with_many_options
7554
+ --------------------------------------------------------------------------------
7555
+ SQL (0.9ms) DELETE FROM "users"
7556
+  (0.1ms) begin transaction
7557
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:02.292396"], ["updated_at", "2015-10-26 20:01:02.292396"]]
7558
+  (0.7ms) commit transaction
7559
+ --> Executing: select * from users
7560
+  (0.1ms) select * from users
7561
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (2.5ms)
7562
+ -----------------------
7563
+ TableTest: test_columns
7564
+ -----------------------
7565
+ SQL (1.0ms) DELETE FROM "users"
7566
+ ----------------------
7567
+ TableTest: test_to_csv
7568
+ ----------------------
7569
+ SQL (0.9ms) DELETE FROM "users"
7570
+  (0.0ms) begin transaction
7571
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2015-10-26 20:01:02.324796"], ["updated_at", "2015-10-26 20:01:02.324796"]]
7572
+  (0.7ms) commit transaction
7573
+ --> Executing: SELECT * FROM users
7574
+  (0.2ms) SELECT * FROM users
7575
+ ----------------------------------------------
7576
+ DashboardControllerTest: test_should_get_index
7577
+ ----------------------------------------------
7578
+  (0.0ms) begin transaction
7579
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:02.330496"], ["updated_at", "2015-10-26 20:01:02.330496"]]
7580
+  (0.9ms) commit transaction
7581
+  (0.1ms) begin transaction
7582
+ SQL (0.7ms) INSERT INTO "accounts" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:02.340195"], ["updated_at", "2015-10-26 20:01:02.340195"]]
7583
+  (0.7ms) commit transaction
7584
+ Started GET "/rails/db" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7585
+ Processing by RailsDb::DashboardController#index as HTML
7586
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (150.1ms)
7587
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (10.8ms)
7588
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (4.2ms)
7589
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (1.4ms)
7590
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (10.0ms)
7591
+ Completed 200 OK in 347ms (Views: 346.4ms | ActiveRecord: 0.3ms)
7592
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7593
+ Processing by RailsDb::TablesController#show as HTML
7594
+ Parameters: {"id"=>"users"}
7595
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.6ms)
7596
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_show.html.erb (6.5ms)
7597
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (9.2ms)
7598
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
7599
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7600
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7601
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7602
+ Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.6ms)
7603
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7604
+ Processing by RailsDb::TablesController#data as HTML
7605
+ Parameters: {"table_id"=>"users"}
7606
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7607
+ --> Executing: SELECT * FROM users LIMIT 10 OFFSET 0
7608
+  (0.2ms) SELECT * FROM users LIMIT 10 OFFSET 0
7609
+ --> Executing: SELECT COUNT(*) FROM users
7610
+  (0.1ms) SELECT COUNT(*) FROM users
7611
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_data.html.erb (7.7ms)
7612
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (12.3ms)
7613
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.2ms)
7614
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.2ms)
7615
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7616
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7617
+ Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 1.0ms)
7618
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7619
+ Processing by RailsDb::SqlController#index as HTML
7620
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7621
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_history.html.erb (2.3ms)
7622
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (11.0ms)
7623
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.4ms)
7624
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7625
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7626
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.1ms)
7627
+ Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 2.1ms)
7628
+ Started GET "/rails/db/import" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7629
+ Processing by RailsDb::SqlController#import as HTML
7630
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (0.4ms)
7631
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (4.2ms)
7632
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
7633
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (2.8ms)
7634
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.3ms)
7635
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.8ms)
7636
+ Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.4ms)
7637
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7638
+ Processing by RailsDb::DashboardController#data_table as HTML
7639
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (4.6ms)
7640
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
7641
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7642
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7643
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7644
+ Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.2ms)
7645
+ Started GET "/" for 127.0.0.1 at 2015-10-26 22:01:02 +0200
7646
+ Processing by HomeController#index as HTML
7647
+ --> Executing: SELECT id, name, users_count FROM accounts
7648
+  (0.2ms) SELECT id, name, users_count FROM accounts
7649
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (1.6ms)
7650
+ --> Executing: select id, name, age from users order by age desc limit 10
7651
+  (0.2ms) select id, name, age from users order by age desc limit 10
7652
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.1ms)
7653
+ Rendered home/index.html.erb within layouts/application (8.9ms)
7654
+ Completed 200 OK in 29ms (Views: 27.7ms | ActiveRecord: 0.6ms)
7655
+ --------------------------
7656
+ SqlImportTest: test_import
7657
+ --------------------------
7658
+ SQL (1.0ms) DELETE FROM "accounts"
7659
+ SQL (0.8ms) DELETE FROM "users"
7660
+  (0.2ms) update users set age = 11 where id = 1
7661
+  (0.2ms) update users set age = 22 where id = 2
7662
+  (0.2ms) update users set age = 33 where id = 3
7663
+  (2.8ms) 
7664
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
7665
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
7666
+ -----------------------
7667
+ RailsDbTest: test_truth
7668
+ -----------------------
7669
+  (1.3ms) DROP TABLE "t"
7670
+ ------------------------------------
7671
+ RailsDbTest: test_verify_access_proc
7672
+ ------------------------------------
7673
+ ------------------------------------
7674
+ DatabaseTest: test_accessible_tables
7675
+ ------------------------------------
7676
+ --------------------------
7677
+ DatabaseTest: test_adapter
7678
+ --------------------------
7679
+ ------------------------
7680
+ DatabaseTest: test_query
7681
+ ------------------------
7682
+ SQL (1.5ms) DELETE FROM "users"
7683
+  (0.1ms) begin transaction
7684
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:53.441783"], ["updated_at", "2015-10-26 20:01:53.441783"]]
7685
+  (0.7ms) commit transaction
7686
+ --> Executing: select count(*) as users_count from users
7687
+  (0.2ms) select count(*) as users_count from users
7688
+ --> Executing: EXPLAIN select count(*) as users_count from users
7689
+  (0.1ms) EXPLAIN select count(*) as users_count from users
7690
+ -------------------------
7691
+ DatabaseTest: test_tables
7692
+ -------------------------
7693
+ SQL (1.2ms) DELETE FROM "users"
7694
+ ----------------------------------------------
7695
+ DashboardControllerTest: test_should_get_index
7696
+ ----------------------------------------------
7697
+  (0.1ms) begin transaction
7698
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:53.460364"], ["updated_at", "2015-10-26 20:01:53.460364"]]
7699
+  (0.8ms) commit transaction
7700
+  (0.1ms) begin transaction
7701
+ SQL (0.7ms) INSERT INTO "accounts" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:53.467847"], ["updated_at", "2015-10-26 20:01:53.467847"]]
7702
+  (1.0ms) commit transaction
7703
+ Started GET "/rails/db" for 127.0.0.1 at 2015-10-26 22:01:53 +0200
7704
+ Processing by RailsDb::DashboardController#index as HTML
7705
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (150.3ms)
7706
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (14.7ms)
7707
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (4.4ms)
7708
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (1.3ms)
7709
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (9.2ms)
7710
+ Completed 200 OK in 372ms (Views: 370.4ms | ActiveRecord: 0.7ms)
7711
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2015-10-26 22:01:53 +0200
7712
+ Processing by RailsDb::TablesController#show as HTML
7713
+ Parameters: {"id"=>"users"}
7714
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.6ms)
7715
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_show.html.erb (6.3ms)
7716
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (9.6ms)
7717
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.4ms)
7718
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (2.6ms)
7719
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.3ms)
7720
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.7ms)
7721
+ Completed 200 OK in 56ms (Views: 23.9ms | ActiveRecord: 0.9ms)
7722
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2015-10-26 22:01:53 +0200
7723
+ Processing by RailsDb::TablesController#data as HTML
7724
+ Parameters: {"table_id"=>"users"}
7725
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7726
+ --> Executing: SELECT * FROM users LIMIT 10 OFFSET 0
7727
+  (0.2ms) SELECT * FROM users LIMIT 10 OFFSET 0
7728
+ --> Executing: SELECT COUNT(*) FROM users
7729
+  (0.1ms) SELECT COUNT(*) FROM users
7730
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_data.html.erb (7.2ms)
7731
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (10.5ms)
7732
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.4ms)
7733
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
7734
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7735
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7736
+ Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 1.2ms)
7737
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2015-10-26 22:01:53 +0200
7738
+ Processing by RailsDb::SqlController#index as HTML
7739
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7740
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_history.html.erb (1.3ms)
7741
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (9.1ms)
7742
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.4ms)
7743
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.7ms)
7744
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7745
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.3ms)
7746
+ Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 1.6ms)
7747
+ Started GET "/rails/db/import" for 127.0.0.1 at 2015-10-26 22:01:53 +0200
7748
+ Processing by RailsDb::SqlController#import as HTML
7749
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (0.5ms)
7750
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (5.1ms)
7751
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.4ms)
7752
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.8ms)
7753
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.2ms)
7754
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7755
+ Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.3ms)
7756
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2015-10-26 22:01:54 +0200
7757
+ Processing by RailsDb::DashboardController#data_table as HTML
7758
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (7.5ms)
7759
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (2.3ms)
7760
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (3.1ms)
7761
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.4ms)
7762
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (2.3ms)
7763
+ Completed 200 OK in 24ms (Views: 23.9ms | ActiveRecord: 0.3ms)
7764
+ Started GET "/" for 127.0.0.1 at 2015-10-26 22:01:54 +0200
7765
+ Processing by HomeController#index as HTML
7766
+ --> Executing: SELECT id, name, users_count FROM accounts
7767
+  (0.2ms) SELECT id, name, users_count FROM accounts
7768
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (2.2ms)
7769
+ --> Executing: select id, name, age from users order by age desc limit 10
7770
+  (0.4ms) select id, name, age from users order by age desc limit 10
7771
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.4ms)
7772
+ Rendered home/index.html.erb within layouts/application (12.3ms)
7773
+ Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 0.9ms)
7774
+ --------------------------
7775
+ SqlImportTest: test_import
7776
+ --------------------------
7777
+ SQL (1.1ms) DELETE FROM "accounts"
7778
+ SQL (1.0ms) DELETE FROM "users"
7779
+  (0.3ms) update users set age = 11 where id = 1
7780
+  (0.2ms) update users set age = 22 where id = 2
7781
+  (0.2ms) update users set age = 33 where id = 3
7782
+  (1.2ms) 
7783
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
7784
+ ----------------------------------------------------------------------
7785
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_sql_works
7786
+ ----------------------------------------------------------------------
7787
+  (1.2ms) DROP TABLE "t"
7788
+ SQL (1.1ms) DELETE FROM "accounts"
7789
+ SQL (1.0ms) DELETE FROM "users"
7790
+  (0.1ms) begin transaction
7791
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:54.138490"], ["updated_at", "2015-10-26 20:01:54.138490"]]
7792
+  (0.8ms) commit transaction
7793
+ --> Executing: select * from users
7794
+  (0.1ms) select * from users
7795
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.7ms)
7796
+ ------------------------------------------------------------------
7797
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_works
7798
+ ------------------------------------------------------------------
7799
+ SQL (1.0ms) DELETE FROM "accounts"
7800
+ SQL (0.9ms) DELETE FROM "users"
7801
+  (0.1ms) begin transaction
7802
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:54.172437"], ["updated_at", "2015-10-26 20:01:54.172437"]]
7803
+  (0.6ms) commit transaction
7804
+ --> Executing: SELECT * FROM users
7805
+  (0.2ms) SELECT * FROM users
7806
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (2.5ms)
7807
+ ----------------------------------------------------------------------------
7808
+ RailsDbDataTableHelperTest: test_rails_db_data_table_works_with_many_options
7809
+ ----------------------------------------------------------------------------
7810
+ SQL (1.0ms) DELETE FROM "accounts"
7811
+ SQL (0.8ms) DELETE FROM "users"
7812
+  (0.1ms) begin transaction
7813
+ SQL (0.3ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2015-10-26 20:01:54.208845"], ["updated_at", "2015-10-26 20:01:54.208845"]]
7814
+  (0.8ms) commit transaction
7815
+ --> Executing: SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
7816
+  (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
7817
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (0.5ms)
7818
+ --------------------------------------------------------------------------------
7819
+ RailsDbDataTableHelperTest: test_rails_db_data_table_sql_works_with_many_options
7820
+ --------------------------------------------------------------------------------
7821
+ SQL (0.9ms) DELETE FROM "accounts"
7822
+ SQL (0.8ms) DELETE FROM "users"
7823
+  (0.1ms) begin transaction
7824
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:01:54.217839"], ["updated_at", "2015-10-26 20:01:54.217839"]]
7825
+  (0.8ms) commit transaction
7826
+ --> Executing: select * from users
7827
+  (0.2ms) select * from users
7828
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (0.5ms)
7829
+ -----------------------
7830
+ TableTest: test_columns
7831
+ -----------------------
7832
+ SQL (1.1ms) DELETE FROM "accounts"
7833
+ SQL (1.0ms) DELETE FROM "users"
7834
+ ----------------------
7835
+ TableTest: test_to_csv
7836
+ ----------------------
7837
+ SQL (1.0ms) DELETE FROM "accounts"
7838
+ SQL (1.1ms) DELETE FROM "users"
7839
+  (0.1ms) begin transaction
7840
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2015-10-26 20:01:54.234211"], ["updated_at", "2015-10-26 20:01:54.234211"]]
7841
+  (0.7ms) commit transaction
7842
+ --> Executing: SELECT * FROM users
7843
+  (0.1ms) SELECT * FROM users
7844
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
7845
+ ------------------------------------
7846
+ RailsDbTest: test_verify_access_proc
7847
+ ------------------------------------
7848
+ -----------------------
7849
+ RailsDbTest: test_truth
7850
+ -----------------------
7851
+ --------------------------
7852
+ SqlImportTest: test_import
7853
+ --------------------------
7854
+  (0.6ms) update users set age = 11 where id = 1
7855
+  (0.1ms) update users set age = 22 where id = 2
7856
+  (0.1ms) update users set age = 33 where id = 3
7857
+  (1.2ms) 
7858
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
7859
+ ----------------------------------------------
7860
+ DashboardControllerTest: test_should_get_index
7861
+ ----------------------------------------------
7862
+  (0.1ms) begin transaction
7863
+ SQL (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:13:57.014054"], ["updated_at", "2015-10-26 20:13:57.014054"]]
7864
+  (1.4ms) commit transaction
7865
+  (0.1ms) begin transaction
7866
+ SQL (0.6ms) INSERT INTO "accounts" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:13:57.030731"], ["updated_at", "2015-10-26 20:13:57.030731"]]
7867
+  (0.8ms) commit transaction
7868
+ Started GET "/rails/db" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7869
+ Processing by RailsDb::DashboardController#index as HTML
7870
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (145.7ms)
7871
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (6.8ms)
7872
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (2.5ms)
7873
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.7ms)
7874
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (7.6ms)
7875
+ Completed 200 OK in 339ms (Views: 338.4ms | ActiveRecord: 0.4ms)
7876
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7877
+ Processing by RailsDb::TablesController#show as HTML
7878
+ Parameters: {"id"=>"users"}
7879
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.6ms)
7880
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_show.html.erb (6.1ms)
7881
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (8.9ms)
7882
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
7883
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.5ms)
7884
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7885
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7886
+ Completed 200 OK in 41ms (Views: 20.9ms | ActiveRecord: 0.7ms)
7887
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7888
+ Processing by RailsDb::TablesController#data as HTML
7889
+ Parameters: {"table_id"=>"users"}
7890
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7891
+ --> Executing: SELECT * FROM users LIMIT 10 OFFSET 0
7892
+  (0.1ms) SELECT * FROM users LIMIT 10 OFFSET 0
7893
+ --> Executing: SELECT COUNT(*) FROM users
7894
+  (0.1ms) SELECT COUNT(*) FROM users
7895
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_data.html.erb (8.0ms)
7896
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (12.5ms)
7897
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.2ms)
7898
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.5ms)
7899
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7900
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7901
+ Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 1.0ms)
7902
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7903
+ Processing by RailsDb::SqlController#index as HTML
7904
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
7905
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_history.html.erb (1.6ms)
7906
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (9.7ms)
7907
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
7908
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.5ms)
7909
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.4ms)
7910
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.5ms)
7911
+ Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 1.8ms)
7912
+ Started GET "/rails/db/import" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7913
+ Processing by RailsDb::SqlController#import as HTML
7914
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (0.4ms)
7915
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (4.0ms)
7916
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
7917
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.5ms)
7918
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
7919
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.0ms)
7920
+ Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.2ms)
7921
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7922
+ Processing by RailsDb::DashboardController#data_table as HTML
7923
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (10.1ms)
7924
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (3.0ms)
7925
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (3.2ms)
7926
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.4ms)
7927
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (2.4ms)
7928
+ Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 0.3ms)
7929
+ Started GET "/" for 127.0.0.1 at 2015-10-26 22:13:57 +0200
7930
+ Processing by HomeController#index as HTML
7931
+ --> Executing: SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
7932
+  (0.2ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
7933
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (1.7ms)
7934
+ --> Executing: select id, name, age from users order by age desc limit 10
7935
+  (0.2ms) select id, name, age from users order by age desc limit 10
7936
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.2ms)
7937
+ Rendered home/index.html.erb within layouts/application (14.5ms)
7938
+ Completed 200 OK in 29ms (Views: 28.4ms | ActiveRecord: 0.8ms)
7939
+ -----------------------
7940
+ TableTest: test_columns
7941
+ -----------------------
7942
+  (1.1ms) DROP TABLE "t"
7943
+ SQL (1.2ms) DELETE FROM "accounts"
7944
+ SQL (1.2ms) DELETE FROM "users"
7945
+ ----------------------
7946
+ TableTest: test_to_csv
7947
+ ----------------------
7948
+ SQL (1.2ms) DELETE FROM "accounts"
7949
+ SQL (1.1ms) DELETE FROM "users"
7950
+  (0.1ms) begin transaction
7951
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2015-10-26 20:13:57.617858"], ["updated_at", "2015-10-26 20:13:57.617858"]]
7952
+  (0.8ms) commit transaction
7953
+ --> Executing: SELECT * FROM users
7954
+  (0.1ms) SELECT * FROM users
7955
+ ------------------------
7956
+ DatabaseTest: test_query
7957
+ ------------------------
7958
+ SQL (1.0ms) DELETE FROM "accounts"
7959
+ SQL (0.8ms) DELETE FROM "users"
7960
+ SQL (0.8ms) DELETE FROM "users"
7961
+  (0.1ms) begin transaction
7962
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:13:57.627609"], ["updated_at", "2015-10-26 20:13:57.627609"]]
7963
+  (0.8ms) commit transaction
7964
+ --> Executing: select count(*) as users_count from users
7965
+  (0.1ms) select count(*) as users_count from users
7966
+ --> Executing: EXPLAIN select count(*) as users_count from users
7967
+  (0.1ms) EXPLAIN select count(*) as users_count from users
7968
+ --------------------------
7969
+ DatabaseTest: test_adapter
7970
+ --------------------------
7971
+ SQL (0.9ms) DELETE FROM "accounts"
7972
+ SQL (0.8ms) DELETE FROM "users"
7973
+ ------------------------------------
7974
+ DatabaseTest: test_accessible_tables
7975
+ ------------------------------------
7976
+ SQL (1.1ms) DELETE FROM "accounts"
7977
+ SQL (0.9ms) DELETE FROM "users"
7978
+ -------------------------
7979
+ DatabaseTest: test_tables
7980
+ -------------------------
7981
+ SQL (1.2ms) DELETE FROM "accounts"
7982
+ SQL (0.7ms) DELETE FROM "users"
7983
+ ----------------------------------------------------------------------
7984
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_sql_works
7985
+ ----------------------------------------------------------------------
7986
+ SQL (1.0ms) DELETE FROM "accounts"
7987
+ SQL (0.9ms) DELETE FROM "users"
7988
+  (0.1ms) begin transaction
7989
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:13:57.650075"], ["updated_at", "2015-10-26 20:13:57.650075"]]
7990
+  (0.9ms) commit transaction
7991
+ --> Executing: select * from users
7992
+  (0.2ms) select * from users
7993
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.3ms)
7994
+ ------------------------------------------------------------------
7995
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_works
7996
+ ------------------------------------------------------------------
7997
+ SQL (0.9ms) DELETE FROM "accounts"
7998
+ SQL (0.8ms) DELETE FROM "users"
7999
+  (0.1ms) begin transaction
8000
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:13:57.679575"], ["updated_at", "2015-10-26 20:13:57.679575"]]
8001
+  (0.7ms) commit transaction
8002
+ --> Executing: SELECT * FROM users
8003
+  (0.1ms) SELECT * FROM users
8004
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (2.1ms)
8005
+ --------------------------------------------------------------------------------
8006
+ RailsDbDataTableHelperTest: test_rails_db_data_table_sql_works_with_many_options
8007
+ --------------------------------------------------------------------------------
8008
+ SQL (0.9ms) DELETE FROM "accounts"
8009
+ SQL (0.9ms) DELETE FROM "users"
8010
+  (0.1ms) begin transaction
8011
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:13:57.712364"], ["updated_at", "2015-10-26 20:13:57.712364"]]
8012
+  (0.8ms) commit transaction
8013
+ --> Executing: select * from users
8014
+  (0.1ms) select * from users
8015
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (0.3ms)
8016
+ ----------------------------------------------------------------------------
8017
+ RailsDbDataTableHelperTest: test_rails_db_data_table_works_with_many_options
8018
+ ----------------------------------------------------------------------------
8019
+ SQL (0.9ms) DELETE FROM "accounts"
8020
+ SQL (0.8ms) DELETE FROM "users"
8021
+  (0.1ms) begin transaction
8022
+ SQL (0.3ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2015-10-26 20:13:57.720010"], ["updated_at", "2015-10-26 20:13:57.720010"]]
8023
+  (0.8ms) commit transaction
8024
+ --> Executing: SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
8025
+  (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
8026
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (0.5ms)
8027
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
8028
+ ----------------------------------------------------------------------------
8029
+ RailsDbDataTableHelperTest: test_rails_db_data_table_works_with_many_options
8030
+ ----------------------------------------------------------------------------
8031
+  (0.1ms) begin transaction
8032
+ SQL (1.4ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Igor"], ["age", 9999], ["created_at", "2015-10-26 20:35:39.809315"], ["updated_at", "2015-10-26 20:35:39.809315"]]
8033
+  (0.8ms) commit transaction
8034
+ --> Executing: SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
8035
+  (0.2ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
8036
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (5.1ms)
8037
+ ------------------------------------------------------------------
8038
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_works
8039
+ ------------------------------------------------------------------
8040
+ SQL (0.9ms) DELETE FROM "users"
8041
+  (0.1ms) begin transaction
8042
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:35:39.883186"], ["updated_at", "2015-10-26 20:35:39.883186"]]
8043
+  (0.8ms) commit transaction
8044
+ --> Executing: SELECT * FROM users
8045
+  (0.1ms) SELECT * FROM users
8046
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (1.0ms)
8047
+ --------------------------------------------------------------------------------
8048
+ RailsDbDataTableHelperTest: test_rails_db_data_table_sql_works_with_many_options
8049
+ --------------------------------------------------------------------------------
8050
+ SQL (0.9ms) DELETE FROM "users"
8051
+  (0.0ms) begin transaction
8052
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:35:39.890710"], ["updated_at", "2015-10-26 20:35:39.890710"]]
8053
+  (0.9ms) commit transaction
8054
+ --> Executing: select * from users
8055
+  (0.2ms) select * from users
8056
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.5ms)
8057
+ ----------------------------------------------------------------------
8058
+ RailsDbDataTableHelperTest: test_default_rails_db_data_table_sql_works
8059
+ ----------------------------------------------------------------------
8060
+ SQL (0.9ms) DELETE FROM "users"
8061
+  (0.1ms) begin transaction
8062
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:35:39.924578"], ["updated_at", "2015-10-26 20:35:39.924578"]]
8063
+  (0.8ms) commit transaction
8064
+ --> Executing: select * from users
8065
+  (0.1ms) select * from users
8066
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (0.2ms)
8067
+ --------------------------
8068
+ SqlImportTest: test_import
8069
+ --------------------------
8070
+ SQL (0.9ms) DELETE FROM "users"
8071
+  (0.2ms) update users set age = 11 where id = 1
8072
+  (0.1ms) update users set age = 22 where id = 2
8073
+  (0.1ms) update users set age = 33 where id = 3
8074
+  (1.1ms) 
8075
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC));
8076
+ -----------------------
8077
+ TableTest: test_columns
8078
+ -----------------------
8079
+  (1.0ms) DROP TABLE "t"
8080
+ SQL (0.8ms) DELETE FROM "users"
8081
+ ----------------------
8082
+ TableTest: test_to_csv
8083
+ ----------------------
8084
+ SQL (0.9ms) DELETE FROM "users"
8085
+  (0.0ms) begin transaction
8086
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "igor"], ["created_at", "2015-10-26 20:35:39.942670"], ["updated_at", "2015-10-26 20:35:39.942670"]]
8087
+  (0.8ms) commit transaction
8088
+ --> Executing: SELECT * FROM users
8089
+  (0.1ms) SELECT * FROM users
8090
+ ------------------------
8091
+ DatabaseTest: test_query
8092
+ ------------------------
8093
+ SQL (1.1ms) DELETE FROM "users"
8094
+ SQL (0.8ms) DELETE FROM "users"
8095
+  (0.1ms) begin transaction
8096
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:35:39.950042"], ["updated_at", "2015-10-26 20:35:39.950042"]]
8097
+  (0.8ms) commit transaction
8098
+ --> Executing: select count(*) as users_count from users
8099
+  (0.1ms) select count(*) as users_count from users
8100
+ --> Executing: EXPLAIN select count(*) as users_count from users
8101
+  (0.2ms) EXPLAIN select count(*) as users_count from users
8102
+ -------------------------
8103
+ DatabaseTest: test_tables
8104
+ -------------------------
8105
+ SQL (0.9ms) DELETE FROM "users"
8106
+ --------------------------
8107
+ DatabaseTest: test_adapter
8108
+ --------------------------
8109
+ SQL (1.0ms) DELETE FROM "users"
8110
+ ------------------------------------
8111
+ DatabaseTest: test_accessible_tables
8112
+ ------------------------------------
8113
+ SQL (0.9ms) DELETE FROM "users"
8114
+ ----------------------------------------------
8115
+ DashboardControllerTest: test_should_get_index
8116
+ ----------------------------------------------
8117
+  (0.1ms) begin transaction
8118
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:35:39.962755"], ["updated_at", "2015-10-26 20:35:39.962755"]]
8119
+  (0.8ms) commit transaction
8120
+  (0.1ms) begin transaction
8121
+ SQL (0.8ms) INSERT INTO "accounts" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Igor"], ["created_at", "2015-10-26 20:35:39.972956"], ["updated_at", "2015-10-26 20:35:39.972956"]]
8122
+  (0.9ms) commit transaction
8123
+ Started GET "/rails/db" for 127.0.0.1 at 2015-10-26 22:35:39 +0200
8124
+ Processing by RailsDb::DashboardController#index as HTML
8125
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (150.8ms)
8126
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (7.3ms)
8127
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (2.3ms)
8128
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (1.5ms)
8129
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (9.5ms)
8130
+ Completed 200 OK in 330ms (Views: 329.3ms | ActiveRecord: 0.2ms)
8131
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2015-10-26 22:35:40 +0200
8132
+ Processing by RailsDb::TablesController#show as HTML
8133
+ Parameters: {"id"=>"users"}
8134
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (1.2ms)
8135
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_show.html.erb (11.5ms)
8136
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (16.6ms)
8137
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.6ms)
8138
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.7ms)
8139
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.3ms)
8140
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.4ms)
8141
+ Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.9ms)
8142
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2015-10-26 22:35:40 +0200
8143
+ Processing by RailsDb::TablesController#data as HTML
8144
+ Parameters: {"table_id"=>"users"}
8145
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
8146
+ --> Executing: SELECT * FROM users LIMIT 10 OFFSET 0
8147
+  (0.2ms) SELECT * FROM users LIMIT 10 OFFSET 0
8148
+ --> Executing: SELECT COUNT(*) FROM users
8149
+  (0.1ms) SELECT COUNT(*) FROM users
8150
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/_data.html.erb (7.7ms)
8151
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (10.9ms)
8152
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.5ms)
8153
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.3ms)
8154
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
8155
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.1ms)
8156
+ Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.9ms)
8157
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2015-10-26 22:35:40 +0200
8158
+ Processing by RailsDb::SqlController#index as HTML
8159
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (0.2ms)
8160
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_history.html.erb (1.3ms)
8161
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (8.9ms)
8162
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (2.0ms)
8163
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.4ms)
8164
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.2ms)
8165
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.1ms)
8166
+ Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 1.6ms)
8167
+ Started GET "/rails/db/import" for 127.0.0.1 at 2015-10-26 22:35:40 +0200
8168
+ Processing by RailsDb::SqlController#import as HTML
8169
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (0.7ms)
8170
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (5.3ms)
8171
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.4ms)
8172
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.5ms)
8173
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.1ms)
8174
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.3ms)
8175
+ Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.2ms)
8176
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2015-10-26 22:35:40 +0200
8177
+ Processing by RailsDb::DashboardController#data_table as HTML
8178
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (5.1ms)
8179
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_header.html.erb (1.3ms)
8180
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (1.4ms)
8181
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_gems.html.erb (0.2ms)
8182
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_footer.html.erb (1.1ms)
8183
+ Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.2ms)
8184
+ Started GET "/" for 127.0.0.1 at 2015-10-26 22:35:40 +0200
8185
+ Processing by HomeController#index as HTML
8186
+ --> Executing: SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
8187
+  (0.2ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
8188
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (1.6ms)
8189
+ --> Executing: select id, name, age from users order by age desc limit 10
8190
+  (0.2ms) select id, name, age from users order by age desc limit 10
8191
+ Rendered /Users/igorkasyanchuk/Projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (1.0ms)
8192
+ Rendered home/index.html.erb within layouts/application (10.6ms)
8193
+ Completed 200 OK in 30ms (Views: 28.6ms | ActiveRecord: 0.6ms)
8194
+ -----------------------
8195
+ RailsDbTest: test_truth
8196
+ -----------------------
8197
+ SQL (1.2ms) DELETE FROM "accounts"
8198
+ SQL (1.2ms) DELETE FROM "users"
8199
+ ------------------------------------
8200
+ RailsDbTest: test_verify_access_proc
8201
+ ------------------------------------
8202
+ SQL (1.2ms) DELETE FROM "accounts"
8203
+ SQL (1.4ms) DELETE FROM "users"