rails8_db 0.0.12 → 0.0.14

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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/app/javascript/rails_db/application.js +32 -44
  3. data/app/views/layouts/rails_db/application.html.erb +1 -1
  4. data/lib/rails_db/engine.rb +20 -37
  5. data/lib/rails_db/version.rb +1 -1
  6. data/test/dummy/log/test.log +3484 -0
  7. metadata +69 -69
  8. /data/app/javascript/codemirror/{codemirror/addons → addons}/comment/comment.js +0 -0
  9. /data/app/javascript/codemirror/{codemirror/addons → addons}/comment/continuecomment.js +0 -0
  10. /data/app/javascript/codemirror/{codemirror/addons → addons}/dialog/dialog.css +0 -0
  11. /data/app/javascript/codemirror/{codemirror/addons → addons}/dialog/dialog.js +0 -0
  12. /data/app/javascript/codemirror/{codemirror/addons → addons}/display/autorefresh.js +0 -0
  13. /data/app/javascript/codemirror/{codemirror/addons → addons}/display/fullscreen.css +0 -0
  14. /data/app/javascript/codemirror/{codemirror/addons → addons}/display/fullscreen.js +0 -0
  15. /data/app/javascript/codemirror/{codemirror/addons → addons}/display/panel.js +0 -0
  16. /data/app/javascript/codemirror/{codemirror/addons → addons}/display/placeholder.js +0 -0
  17. /data/app/javascript/codemirror/{codemirror/addons → addons}/display/rulers.js +0 -0
  18. /data/app/javascript/codemirror/{codemirror/addons → addons}/edit/closebrackets.js +0 -0
  19. /data/app/javascript/codemirror/{codemirror/addons → addons}/edit/closetag.js +0 -0
  20. /data/app/javascript/codemirror/{codemirror/addons → addons}/edit/continuelist.js +0 -0
  21. /data/app/javascript/codemirror/{codemirror/addons → addons}/edit/matchbrackets.js +0 -0
  22. /data/app/javascript/codemirror/{codemirror/addons → addons}/edit/matchtags.js +0 -0
  23. /data/app/javascript/codemirror/{codemirror/addons → addons}/edit/trailingspace.js +0 -0
  24. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/brace-fold.js +0 -0
  25. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/comment-fold.js +0 -0
  26. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/foldcode.js +0 -0
  27. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/foldgutter.css +0 -0
  28. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/foldgutter.js +0 -0
  29. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/indent-fold.js +0 -0
  30. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/markdown-fold.js +0 -0
  31. /data/app/javascript/codemirror/{codemirror/addons → addons}/fold/xml-fold.js +0 -0
  32. /data/app/javascript/codemirror/{codemirror/addons → addons}/hint/anyword-hint.js +0 -0
  33. /data/app/javascript/codemirror/{codemirror/addons → addons}/hint/show-hint.css +0 -0
  34. /data/app/javascript/codemirror/{codemirror/addons → addons}/hint/show-hint.js +0 -0
  35. /data/app/javascript/codemirror/{codemirror/addons → addons}/hint/sql-hint.js +0 -0
  36. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/coffeescript-lint.js +0 -0
  37. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/css-lint.js +0 -0
  38. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/html-lint.js +0 -0
  39. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/javascript-lint.js +0 -0
  40. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/json-lint.js +0 -0
  41. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/lint.css +0 -0
  42. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/lint.js +0 -0
  43. /data/app/javascript/codemirror/{codemirror/addons → addons}/lint/yaml-lint.js +0 -0
  44. /data/app/javascript/codemirror/{codemirror/addons → addons}/merge/merge.css +0 -0
  45. /data/app/javascript/codemirror/{codemirror/addons → addons}/merge/merge.js +0 -0
  46. /data/app/javascript/codemirror/{codemirror/addons → addons}/mode/loadmode.js +0 -0
  47. /data/app/javascript/codemirror/{codemirror/addons → addons}/mode/multiplex.js +0 -0
  48. /data/app/javascript/codemirror/{codemirror/addons → addons}/mode/multiplex_test.js +0 -0
  49. /data/app/javascript/codemirror/{codemirror/addons → addons}/mode/overlay.js +0 -0
  50. /data/app/javascript/codemirror/{codemirror/addons → addons}/mode/simple.js +0 -0
  51. /data/app/javascript/codemirror/{codemirror/addons → addons}/runmode/colorize.js +0 -0
  52. /data/app/javascript/codemirror/{codemirror/addons → addons}/runmode/runmode-standalone.js +0 -0
  53. /data/app/javascript/codemirror/{codemirror/addons → addons}/runmode/runmode.js +0 -0
  54. /data/app/javascript/codemirror/{codemirror/addons → addons}/runmode/runmode.node.js +0 -0
  55. /data/app/javascript/codemirror/{codemirror/addons → addons}/scroll/annotatescrollbar.js +0 -0
  56. /data/app/javascript/codemirror/{codemirror/addons → addons}/scroll/scrollpastend.js +0 -0
  57. /data/app/javascript/codemirror/{codemirror/addons → addons}/scroll/simplescrollbars.css +0 -0
  58. /data/app/javascript/codemirror/{codemirror/addons → addons}/scroll/simplescrollbars.js +0 -0
  59. /data/app/javascript/codemirror/{codemirror/addons → addons}/search/jump-to-line.js +0 -0
  60. /data/app/javascript/codemirror/{codemirror/addons → addons}/search/match-highlighter.js +0 -0
  61. /data/app/javascript/codemirror/{codemirror/addons → addons}/search/matchesonscrollbar.css +0 -0
  62. /data/app/javascript/codemirror/{codemirror/addons → addons}/search/matchesonscrollbar.js +0 -0
  63. /data/app/javascript/codemirror/{codemirror/addons → addons}/search/search.js +0 -0
  64. /data/app/javascript/codemirror/{codemirror/addons → addons}/search/searchcursor.js +0 -0
  65. /data/app/javascript/codemirror/{codemirror/addons → addons}/selection/active-line.js +0 -0
  66. /data/app/javascript/codemirror/{codemirror/addons → addons}/selection/mark-selection.js +0 -0
  67. /data/app/javascript/codemirror/{codemirror/addons → addons}/selection/selection-pointer.js +0 -0
  68. /data/app/javascript/codemirror/{codemirror/addons → addons}/tern/tern.css +0 -0
  69. /data/app/javascript/codemirror/{codemirror/addons → addons}/tern/tern.js +0 -0
  70. /data/app/javascript/codemirror/{codemirror/addons → addons}/tern/worker.js +0 -0
  71. /data/app/javascript/codemirror/{codemirror/addons → addons}/wrap/hardwrap.js +0 -0
  72. /data/app/javascript/codemirror/{codemirror/keymaps → keymaps}/emacs.js +0 -0
  73. /data/app/javascript/codemirror/{codemirror/keymaps → keymaps}/sublime.js +0 -0
  74. /data/app/javascript/codemirror/{codemirror/keymaps → keymaps}/vim.js +0 -0
  75. /data/app/javascript/codemirror/{codemirror/modes → modes}/sql.js +0 -0
@@ -2468,3 +2468,3487 @@ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_statu
2468
2468
  TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
2469
2469
  ----------------------------------------------------------------------------------------------------------------------------
2470
2470
  TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2471
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
2472
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2473
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2474
+ --------------------------
2475
+ SqlImportTest: test_import
2476
+ --------------------------
2477
+  (0.4ms) update users set age = 11 where id = 1
2478
+  (0.0ms) update users set age = 22 where id = 2
2479
+  (0.0ms) update users set age = 33 where id = 3
2480
+  (0.0ms) 
2481
+ DROP TABLE IF EXISTS t
2482
+  (0.1ms) 
2483
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
2484
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2485
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2486
+ ------------------------------------------------------------------------
2487
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
2488
+ ------------------------------------------------------------------------
2489
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2490
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:08:54.657632"], ["updated_at", "2025-04-01 16:08:54.657632"]]
2491
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2492
+ SQL (0.0ms) select * from users
2493
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
2494
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2495
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2496
+ --------------------------------------------------------------
2497
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
2498
+ --------------------------------------------------------------
2499
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2500
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:08:54.680625"], ["updated_at", "2025-04-01 16:08:54.680625"]]
2501
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2502
+ SQL (0.0ms) select * from users
2503
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
2504
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2505
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2506
+ ----------------------------------------------------------
2507
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
2508
+ ----------------------------------------------------------
2509
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2510
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:08:54.682191"], ["updated_at", "2025-04-01 16:08:54.682191"]]
2511
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2512
+ SQL (0.0ms) SELECT * FROM users
2513
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 2.1ms | GC: 0.0ms)
2514
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2515
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2516
+ --------------------------------------------------------------------
2517
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
2518
+ --------------------------------------------------------------------
2519
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2520
+ User Create (0.5ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:08:54.690536"], ["updated_at", "2025-04-01 16:08:54.690536"]]
2521
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2522
+ SQL (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
2523
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | GC: 0.0ms)
2524
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2525
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2526
+ ----------------------------------------------
2527
+ DashboardControllerTest: test_should_get_index
2528
+ ----------------------------------------------
2529
+ User Delete All (0.0ms) DELETE FROM "users"
2530
+ Account Delete All (0.0ms) DELETE FROM "accounts"
2531
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
2532
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2533
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:08:54.730451"], ["updated_at", "2025-04-01 16:08:54.730451"]]
2534
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2535
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2536
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:08:54.730828"], ["updated_at", "2025-04-01 16:08:54.730828"]]
2537
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2538
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2539
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:08:54.732228"], ["updated_at", "2025-04-01 16:08:54.732228"], ["type", "Customer"]]
2540
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2541
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2542
+ Processing by RailsDb::DashboardController#index as HTML
2543
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2544
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
2545
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 18.3ms | GC: 12.7ms)
2546
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.6ms | GC: 0.0ms)
2547
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
2548
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
2549
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
2550
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 24.5ms | GC: 12.7ms)
2551
+ Completed 200 OK in 32ms (Views: 28.1ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 16.9ms)
2552
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2553
+ Processing by RailsDb::TablesController#show as HTML
2554
+ Parameters: {"id"=>"users"}
2555
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2556
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
2557
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
2558
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.1ms | GC: 0.0ms)
2559
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 4.4ms | GC: 0.0ms)
2560
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2561
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
2562
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2563
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2564
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.2ms | GC: 0.0ms)
2565
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.9ms (0 queries, 0 cached) | GC: 0.0ms)
2566
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2567
+ Processing by RailsDb::TablesController#data as HTML
2568
+ Parameters: {"table_id"=>"users"}
2569
+  Count (0.2ms) SELECT COUNT(*) FROM "users"
2570
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2571
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
2572
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
2573
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.6ms | GC: 0.0ms)
2574
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.6ms | GC: 0.0ms)
2575
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
2576
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
2577
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
2578
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
2579
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
2580
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
2581
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
2582
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 25.8ms | GC: 3.5ms)
2583
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 26.1ms | GC: 3.5ms)
2584
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2585
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
2586
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2587
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2588
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 26.9ms | GC: 3.5ms)
2589
+ Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 0.9ms (4 queries, 2 cached) | GC: 3.5ms)
2590
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2591
+ Processing by RailsDb::SqlController#index as HTML
2592
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2593
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
2594
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
2595
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | GC: 0.1ms)
2596
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.0ms | GC: 0.2ms)
2597
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2598
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
2599
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2600
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2601
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.8ms | GC: 0.2ms)
2602
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.2ms)
2603
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2604
+ Processing by RailsDb::SqlController#import as HTML
2605
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2606
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
2607
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.2ms | GC: 0.2ms)
2608
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 0.7ms | GC: 0.2ms)
2609
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2610
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
2611
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2612
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2613
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.5ms | GC: 0.2ms)
2614
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
2615
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2616
+ Processing by RailsDb::DashboardController#data_table as HTML
2617
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2618
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
2619
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.6ms | GC: 0.0ms)
2620
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2621
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
2622
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2623
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2624
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
2625
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
2626
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2627
+ Processing by RailsDb::TablesController#data as HTML
2628
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
2629
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2630
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2631
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
2632
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
2633
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.9ms | GC: 0.0ms)
2634
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.4ms | GC: 2.8ms)
2635
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
2636
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
2637
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
2638
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
2639
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
2640
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
2641
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
2642
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.8ms | GC: 3.1ms)
2643
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 21.8ms | GC: 3.1ms)
2644
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2645
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.1ms)
2646
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2647
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2648
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 22.7ms | GC: 3.2ms)
2649
+ Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.6ms (4 queries, 2 cached) | GC: 3.2ms)
2650
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2651
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2652
+ Processing by RailsDb::TablesController#destroy as HTML
2653
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
2654
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2655
+  (0.0ms) DELETE FROM users WHERE id = '1';
2656
+ Redirected to http://www.example.com/rails/db/tables/users/data
2657
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
2658
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2659
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2660
+ Processing by RailsDb::TablesController#csv as HTML
2661
+ Parameters: {"table_id"=>"users"}
2662
+ SQL (0.0ms) SELECT * FROM users
2663
+ Rendering text template
2664
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
2665
+ Sent data users.csv (0.4ms)
2666
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.2ms)
2667
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2668
+ Processing by RailsDb::DashboardController#standalone as HTML
2669
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2670
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
2671
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.7ms | GC: 0.0ms)
2672
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2673
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
2674
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2675
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2676
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
2677
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
2678
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2679
+ Processing by RailsDb::SqlController#index as HTML
2680
+ Parameters: {"sql"=>"select * from users limit 10"}
2681
+ SQL (0.0ms) select * from users limit 10
2682
+ SQL (0.0ms) EXPLAIN select * from users limit 10
2683
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2684
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
2685
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
2686
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
2687
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
2688
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.6ms | GC: 0.0ms)
2689
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.1ms | GC: 0.0ms)
2690
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2691
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
2692
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2693
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2694
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.9ms | GC: 0.0ms)
2695
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
2696
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2697
+ Processing by RailsDb::SqlController#csv as CSV
2698
+ Parameters: {"sql"=>"select * from users limit 10"}
2699
+ SQL (0.0ms) select * from users limit 10
2700
+ SQL (0.0ms) EXPLAIN select * from users limit 10
2701
+ Rendering text template
2702
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
2703
+ Sent data results.csv (0.1ms)
2704
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
2705
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2706
+ Processing by RailsDb::SqlController#xls as XLS
2707
+ Parameters: {"sql"=>"select * from users limit 10"}
2708
+ SQL (0.0ms) select * from users limit 10
2709
+ SQL (0.0ms) EXPLAIN select * from users limit 10
2710
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
2711
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.8ms | GC: 0.0ms)
2712
+ Rendering text template
2713
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
2714
+ Sent data results.xlsx (0.1ms)
2715
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
2716
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2717
+ Processing by RailsDb::TablesController#edit as JS
2718
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
2719
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2720
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2721
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
2722
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 7.3ms | GC: 0.4ms)
2723
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 8.1ms | GC: 0.4ms)
2724
+ Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.6ms)
2725
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2726
+ Processing by RailsDb::TablesController#update as JS
2727
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
2728
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2729
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2730
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2731
+ #<Class:0x0000000154373fc0> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 16:08:54.885673"], ["id", 2]]
2732
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2733
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
2734
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.1ms)
2735
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.1ms | GC: 0.1ms)
2736
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.1ms)
2737
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
2738
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2739
+ Processing by RailsDb::TablesController#new as JS
2740
+ Parameters: {"table_id"=>"users"}
2741
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2742
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
2743
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.3ms | GC: 0.0ms)
2744
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.6ms | GC: 0.0ms)
2745
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.5ms (1 query, 0 cached) | GC: 0.2ms)
2746
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2747
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2748
+ Processing by RailsDb::TablesController#create as JS
2749
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
2750
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2751
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2752
+ #<Class:0x0000000154576cc8> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 16:08:54.894794"], ["updated_at", "2025-04-01 16:08:54.894794"]]
2753
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2754
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
2755
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
2756
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.7ms | GC: 0.0ms)
2757
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.1ms | GC: 2.5ms)
2758
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
2759
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
2760
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
2761
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
2762
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2763
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
2764
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
2765
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 20.7ms | GC: 3.1ms)
2766
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 21.3ms | GC: 3.1ms)
2767
+ Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 0.7ms (5 queries, 1 cached) | GC: 3.1ms)
2768
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2769
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2770
+ Processing by RailsDb::TablesController#edit as JS
2771
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
2772
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2773
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
2774
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
2775
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.1ms | GC: 0.1ms)
2776
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.6ms | GC: 0.1ms)
2777
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.2ms)
2778
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2779
+ Processing by RailsDb::TablesController#update as JS
2780
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
2781
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2782
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
2783
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2784
+ #<Class:0x00000001544f7d10> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 16:08:54.925525"], ["id", 3]]
2785
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2786
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
2787
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
2788
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 0.9ms | GC: 0.0ms)
2789
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
2790
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
2791
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2792
+ Processing by RailsDb::DashboardController#index as HTML
2793
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2794
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
2795
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.0ms | GC: 0.0ms)
2796
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2797
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
2798
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2799
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2800
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.0ms | GC: 0.0ms)
2801
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
2802
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 13:08:54 -0300
2803
+ Processing by RailsDb::SqlController#index as HTML
2804
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
2805
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
2806
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
2807
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
2808
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 4.1ms | GC: 1.7ms)
2809
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
2810
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
2811
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
2812
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
2813
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.9ms | GC: 1.7ms)
2814
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 1.7ms)
2815
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2816
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2817
+ ----------------------------------------------------------------------------------------------------------------------------------
2818
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
2819
+ ----------------------------------------------------------------------------------------------------------------------------------
2820
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2821
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2822
+ -------------------------------------------------------------------------------------------------------------------------
2823
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
2824
+ -------------------------------------------------------------------------------------------------------------------------
2825
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2826
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2827
+ -----------------------------------------------------------------------------------------------------------------------------------------
2828
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
2829
+ -----------------------------------------------------------------------------------------------------------------------------------------
2830
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2831
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2832
+ ------------------------------------------------------------------------------------------------------------------------------------
2833
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
2834
+ ------------------------------------------------------------------------------------------------------------------------------------
2835
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2836
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2837
+ ----------------------------------------------------------------------------------------------------------------------------
2838
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
2839
+ ----------------------------------------------------------------------------------------------------------------------------
2840
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2841
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2842
+ -----------------------
2843
+ RailsDbTest: test_truth
2844
+ -----------------------
2845
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2846
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2847
+ ------------------------------------
2848
+ RailsDbTest: test_verify_access_proc
2849
+ ------------------------------------
2850
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2851
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2852
+ ------------------------------------
2853
+ DatabaseTest: test_accessible_tables
2854
+ ------------------------------------
2855
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2856
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2857
+ -------------------------
2858
+ DatabaseTest: test_tables
2859
+ -------------------------
2860
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2861
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2862
+ -------------------------
2863
+ DatabaseTest: test_insert
2864
+ -------------------------
2865
+ SQL (0.0ms) delete from projects_users
2866
+ SQL (0.0ms) EXPLAIN delete from projects_users
2867
+ User Delete All (0.0ms) DELETE FROM "users"
2868
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
2869
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
2870
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
2871
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
2872
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2873
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2874
+ --------------------------
2875
+ DatabaseTest: test_adapter
2876
+ --------------------------
2877
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2878
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2879
+ ------------------------
2880
+ DatabaseTest: test_query
2881
+ ------------------------
2882
+ User Delete All (0.0ms) DELETE FROM "users"
2883
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2884
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:08:54.940990"], ["updated_at", "2025-04-01 16:08:54.940990"]]
2885
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2886
+ SQL (0.0ms) select count(*) as users_count from users
2887
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
2888
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2889
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2890
+ -----------------------
2891
+ TableTest: test_ransack
2892
+ -----------------------
2893
+ User Delete All (0.0ms) DELETE FROM "users"
2894
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2895
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:08:54.942220"], ["updated_at", "2025-04-01 16:08:54.942220"]]
2896
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2897
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2898
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:08:54.942578"], ["updated_at", "2025-04-01 16:08:54.942578"]]
2899
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2900
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2901
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:08:54.942922"], ["updated_at", "2025-04-01 16:08:54.942922"]]
2902
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2903
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2904
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
2905
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2906
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2907
+ ----------------------
2908
+ TableTest: test_to_csv
2909
+ ----------------------
2910
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2911
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:08:54.944290"], ["updated_at", "2025-04-01 16:08:54.944290"]]
2912
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2913
+ SQL (0.0ms) SELECT * FROM users
2914
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2915
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2916
+ ------------------------
2917
+ TableTest: test_as_table
2918
+ ------------------------
2919
+ User Delete All (0.0ms) DELETE FROM "users"
2920
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2921
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:08:54.945579"], ["updated_at", "2025-04-01 16:08:54.945579"]]
2922
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2923
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
2924
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
2925
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2926
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2927
+ ------------------------
2928
+ TableTest: test_truncate
2929
+ ------------------------
2930
+ User Delete All (0.0ms) DELETE FROM "users"
2931
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2932
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:08:54.947787"], ["updated_at", "2025-04-01 16:08:54.947787"]]
2933
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2934
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2935
+  (0.0ms) DELETE FROM users;
2936
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2937
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2938
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2939
+ ----------------------
2940
+ TableTest: test_delete
2941
+ ----------------------
2942
+ User Delete All (0.0ms) DELETE FROM "users"
2943
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2944
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:08:54.948787"], ["updated_at", "2025-04-01 16:08:54.948787"]]
2945
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2946
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
2947
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:08:54.949199"], ["updated_at", "2025-04-01 16:08:54.949199"]]
2948
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
2949
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2950
+  (0.0ms) DELETE FROM users WHERE id = 1;
2951
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
2952
+ User Count (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
2953
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
2954
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2955
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2956
+ -----------------------
2957
+ TableTest: test_columns
2958
+ -----------------------
2959
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2960
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2961
+ ---------------------------
2962
+ TableTest: test_primary_key
2963
+ ---------------------------
2964
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2965
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
2966
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2967
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2968
+ ----------------------------------------------------------------------------------------------------------------------------------
2969
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
2970
+ ----------------------------------------------------------------------------------------------------------------------------------
2971
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2972
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2973
+ -----------------------------------------------------------------------------------------------------------------------------------------
2974
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
2975
+ -----------------------------------------------------------------------------------------------------------------------------------------
2976
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2977
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2978
+ -------------------------------------------------------------------------------------------------------------------------
2979
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
2980
+ -------------------------------------------------------------------------------------------------------------------------
2981
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2982
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2983
+ ------------------------------------------------------------------------------------------------------------------------------------
2984
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
2985
+ ------------------------------------------------------------------------------------------------------------------------------------
2986
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2987
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2988
+ ----------------------------------------------------------------------------------------------------------------------------
2989
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
2990
+ ----------------------------------------------------------------------------------------------------------------------------
2991
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
2992
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
2993
+ --------------------------
2994
+ SqlImportTest: test_import
2995
+ --------------------------
2996
+  (0.5ms) update users set age = 11 where id = 1
2997
+  (0.0ms) update users set age = 22 where id = 2
2998
+  (0.0ms) update users set age = 33 where id = 3
2999
+  (0.0ms) 
3000
+ DROP TABLE IF EXISTS t
3001
+  (0.1ms) 
3002
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
3003
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3004
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3005
+ ------------------------
3006
+ TableTest: test_as_table
3007
+ ------------------------
3008
+ User Delete All (0.0ms) DELETE FROM "users"
3009
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3010
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:20.006141"], ["updated_at", "2025-04-01 16:09:20.006141"]]
3011
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3012
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3013
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
3014
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3015
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3016
+ ----------------------
3017
+ TableTest: test_delete
3018
+ ----------------------
3019
+ User Delete All (0.1ms) DELETE FROM "users"
3020
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3021
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:20.008622"], ["updated_at", "2025-04-01 16:09:20.008622"]]
3022
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3023
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3024
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:09:20.008982"], ["updated_at", "2025-04-01 16:09:20.008982"]]
3025
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3026
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3027
+  (0.0ms) DELETE FROM users WHERE id = 1;
3028
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3029
+ User Count (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
3030
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
3031
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3032
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3033
+ -----------------------
3034
+ TableTest: test_ransack
3035
+ -----------------------
3036
+ User Delete All (0.0ms) DELETE FROM "users"
3037
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3038
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:09:20.011353"], ["updated_at", "2025-04-01 16:09:20.011353"]]
3039
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3040
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3041
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:09:20.011719"], ["updated_at", "2025-04-01 16:09:20.011719"]]
3042
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
3043
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3044
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:09:20.012121"], ["updated_at", "2025-04-01 16:09:20.012121"]]
3045
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3046
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3047
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
3048
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3049
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3050
+ ------------------------
3051
+ TableTest: test_truncate
3052
+ ------------------------
3053
+ User Delete All (0.0ms) DELETE FROM "users"
3054
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3055
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:20.014403"], ["updated_at", "2025-04-01 16:09:20.014403"]]
3056
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3057
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3058
+  (0.0ms) DELETE FROM users;
3059
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3060
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3061
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3062
+ -----------------------
3063
+ TableTest: test_columns
3064
+ -----------------------
3065
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3066
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3067
+ ---------------------------
3068
+ TableTest: test_primary_key
3069
+ ---------------------------
3070
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3071
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3072
+ ----------------------
3073
+ TableTest: test_to_csv
3074
+ ----------------------
3075
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3076
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:20.021519"], ["updated_at", "2025-04-01 16:09:20.021519"]]
3077
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3078
+ SQL (0.0ms) SELECT * FROM users
3079
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3080
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3081
+ ----------------------------------------------
3082
+ DashboardControllerTest: test_should_get_index
3083
+ ----------------------------------------------
3084
+ User Delete All (0.0ms) DELETE FROM "users"
3085
+ Account Delete All (0.0ms) DELETE FROM "accounts"
3086
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
3087
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3088
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:20.041604"], ["updated_at", "2025-04-01 16:09:20.041604"]]
3089
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3090
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3091
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:09:20.041924"], ["updated_at", "2025-04-01 16:09:20.041924"]]
3092
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3093
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3094
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:09:20.043333"], ["updated_at", "2025-04-01 16:09:20.043333"], ["type", "Customer"]]
3095
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3096
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:09:20 -0300
3097
+ Processing by RailsDb::DashboardController#index as HTML
3098
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3099
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
3100
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 5.1ms | GC: 0.0ms)
3101
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 6.4ms | GC: 0.0ms)
3102
+ Completed 500 Internal Server Error in 34ms (ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 11.0ms)
3103
+
3104
+ ActionView::Template::Error (The asset 'rails_db/application.js' was not found in the load path.)
3105
+ Caused by: Propshaft::MissingAssetError (The asset 'rails_db/application.js' was not found in the load path.)
3106
+
3107
+ Information for: ActionView::Template::Error (The asset 'rails_db/application.js' was not found in the load path.):
3108
+ 4: <title><%= [yield(:title), 'Rails DB'].reject(&:blank?).join(' - ') %></title>
3109
+ 5: <%= stylesheet_link_tag "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css" %>
3110
+ 6: <%= stylesheet_link_tag "rails_db/application" %>
3111
+ 7: <%= javascript_include_tag "rails_db/application" %>
3112
+ 8:
3113
+ 9: <%= csrf_meta_tags %>
3114
+ 10:
3115
+
3116
+ propshaft (1.1.0) lib/propshaft/helper.rb:4:in `compute_asset_path'
3117
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:204:in `asset_path'
3118
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:322:in `javascript_path'
3119
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:125:in `block in javascript_include_tag'
3120
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `map'
3121
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `javascript_include_tag'
3122
+ /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb:7
3123
+ actionview (8.0.2) lib/action_view/base.rb:278:in `public_send'
3124
+ actionview (8.0.2) lib/action_view/base.rb:278:in `_run'
3125
+ actionview (8.0.2) lib/action_view/template.rb:284:in `block in render'
3126
+ activesupport (8.0.2) lib/active_support/notifications.rb:212:in `instrument'
3127
+ actionview (8.0.2) lib/action_view/template.rb:583:in `instrument_render_template'
3128
+ actionview (8.0.2) lib/action_view/template.rb:272:in `render'
3129
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
3130
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
3131
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
3132
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
3133
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
3134
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:59:in `render_template'
3135
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:11:in `render'
3136
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:58:in `render_template_to_object'
3137
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:31:in `render_to_object'
3138
+ actionview (8.0.2) lib/action_view/rendering.rb:136:in `block in _render_template'
3139
+ actionview (8.0.2) lib/action_view/base.rb:305:in `in_rendering_context'
3140
+ actionview (8.0.2) lib/action_view/rendering.rb:135:in `_render_template'
3141
+ actionpack (8.0.2) lib/action_controller/metal/streaming.rb:179:in `_render_template'
3142
+ actionview (8.0.2) lib/action_view/rendering.rb:122:in `render_to_body'
3143
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:186:in `render_to_body'
3144
+ actionpack (8.0.2) lib/action_controller/metal/renderers.rb:140:in `render_to_body'
3145
+ actionpack (8.0.2) lib/abstract_controller/rendering.rb:28:in `render'
3146
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:167:in `render'
3147
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block (2 levels) in render'
3148
+ activesupport (8.0.2) lib/active_support/benchmark.rb:17:in `realtime'
3149
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in render'
3150
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:100:in `cleanup_view_runtime'
3151
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:46:in `cleanup_view_runtime'
3152
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:30:in `render'
3153
+ /Users/iltongarcia/Projects/rails/rails_db/app/controllers/rails_db/dashboard_controller.rb:8:in `index'
3154
+ actionpack (8.0.2) lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
3155
+ actionpack (8.0.2) lib/abstract_controller/base.rb:226:in `process_action'
3156
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:193:in `process_action'
3157
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:261:in `block in process_action'
3158
+ activesupport (8.0.2) lib/active_support/callbacks.rb:120:in `block in run_callbacks'
3159
+ actiontext (8.0.2) lib/action_text/rendering.rb:25:in `with_renderer'
3160
+ actiontext (8.0.2) lib/action_text/engine.rb:71:in `block (4 levels) in <class:Engine>'
3161
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `instance_exec'
3162
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `block in run_callbacks'
3163
+ activesupport (8.0.2) lib/active_support/callbacks.rb:140:in `run_callbacks'
3164
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:260:in `process_action'
3165
+ actionpack (8.0.2) lib/action_controller/metal/rescue.rb:27:in `process_action'
3166
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'
3167
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
3168
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
3169
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
3170
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:75:in `process_action'
3171
+ actionpack (8.0.2) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
3172
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:39:in `process_action'
3173
+ actionpack (8.0.2) lib/abstract_controller/base.rb:163:in `process'
3174
+ actionview (8.0.2) lib/action_view/rendering.rb:40:in `process'
3175
+ actionpack (8.0.2) lib/action_controller/metal.rb:252:in `dispatch'
3176
+ actionpack (8.0.2) lib/action_controller/metal.rb:335:in `dispatch'
3177
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
3178
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:50:in `serve'
3179
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
3180
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
3181
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
3182
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
3183
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
3184
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
3185
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
3186
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
3187
+ railties (8.0.2) lib/rails/railtie.rb:226:in `public_send'
3188
+ railties (8.0.2) lib/rails/railtie.rb:226:in `method_missing'
3189
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'
3190
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:62:in `serve'
3191
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
3192
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
3193
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
3194
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
3195
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
3196
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
3197
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
3198
+ rack (3.1.12) lib/rack/tempfile_reaper.rb:20:in `call'
3199
+ rack (3.1.12) lib/rack/etag.rb:29:in `call'
3200
+ rack (3.1.12) lib/rack/conditional_get.rb:31:in `call'
3201
+ rack (3.1.12) lib/rack/head.rb:15:in `call'
3202
+ actionpack (8.0.2) lib/action_dispatch/http/permissions_policy.rb:38:in `call'
3203
+ actionpack (8.0.2) lib/action_dispatch/http/content_security_policy.rb:38:in `call'
3204
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:274:in `context'
3205
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:268:in `call'
3206
+ actionpack (8.0.2) lib/action_dispatch/middleware/cookies.rb:706:in `call'
3207
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'
3208
+ activesupport (8.0.2) lib/active_support/callbacks.rb:100:in `run_callbacks'
3209
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:30:in `call'
3210
+ actionpack (8.0.2) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
3211
+ actionpack (8.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'
3212
+ actionpack (8.0.2) lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'
3213
+ railties (8.0.2) lib/rails/rack/logger.rb:41:in `call_app'
3214
+ railties (8.0.2) lib/rails/rack/logger.rb:29:in `call'
3215
+ actionpack (8.0.2) lib/action_dispatch/middleware/remote_ip.rb:96:in `call'
3216
+ actionpack (8.0.2) lib/action_dispatch/middleware/request_id.rb:34:in `call'
3217
+ rack (3.1.12) lib/rack/method_override.rb:28:in `call'
3218
+ rack (3.1.12) lib/rack/runtime.rb:24:in `call'
3219
+ actionpack (8.0.2) lib/action_dispatch/middleware/executor.rb:16:in `call'
3220
+ actionpack (8.0.2) lib/action_dispatch/middleware/static.rb:27:in `call'
3221
+ rack (3.1.12) lib/rack/sendfile.rb:114:in `call'
3222
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
3223
+ rack-test (2.2.0) lib/rack/test.rb:360:in `process_request'
3224
+ rack-test (2.2.0) lib/rack/test.rb:153:in `request'
3225
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:297:in `process'
3226
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:19:in `get'
3227
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:388:in `get'
3228
+ /Users/iltongarcia/Projects/rails/rails_db/test/dashboard_controller_test.rb:16:in `block in <class:DashboardControllerTest>'
3229
+ minitest (5.25.5) lib/minitest/test.rb:94:in `block (2 levels) in run'
3230
+ minitest (5.25.5) lib/minitest/test.rb:190:in `capture_exceptions'
3231
+ minitest (5.25.5) lib/minitest/test.rb:89:in `block in run'
3232
+ minitest (5.25.5) lib/minitest.rb:368:in `time_it'
3233
+ minitest (5.25.5) lib/minitest/test.rb:88:in `run'
3234
+ minitest (5.25.5) lib/minitest.rb:1208:in `run_one_method'
3235
+ minitest (5.25.5) lib/minitest.rb:447:in `run_one_method'
3236
+ minitest (5.25.5) lib/minitest.rb:434:in `block (2 levels) in run'
3237
+ minitest (5.25.5) lib/minitest.rb:430:in `each'
3238
+ minitest (5.25.5) lib/minitest.rb:430:in `block in run'
3239
+ minitest (5.25.5) lib/minitest.rb:472:in `on_signal'
3240
+ minitest (5.25.5) lib/minitest.rb:459:in `with_info_handler'
3241
+ minitest (5.25.5) lib/minitest.rb:429:in `run'
3242
+ railties (8.0.2) lib/rails/test_unit/line_filtering.rb:10:in `run'
3243
+ minitest (5.25.5) lib/minitest.rb:332:in `block in __run'
3244
+ minitest (5.25.5) lib/minitest.rb:332:in `map'
3245
+ minitest (5.25.5) lib/minitest.rb:332:in `__run'
3246
+ minitest (5.25.5) lib/minitest.rb:288:in `run'
3247
+ minitest (5.25.5) lib/minitest.rb:86:in `block in autorun'
3248
+
3249
+ Information for cause: Propshaft::MissingAssetError (The asset 'rails_db/application.js' was not found in the load path.):
3250
+
3251
+ propshaft (1.1.0) lib/propshaft/helper.rb:4:in `compute_asset_path'
3252
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:204:in `asset_path'
3253
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:322:in `javascript_path'
3254
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:125:in `block in javascript_include_tag'
3255
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `map'
3256
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `javascript_include_tag'
3257
+ /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb:7
3258
+ actionview (8.0.2) lib/action_view/base.rb:278:in `public_send'
3259
+ actionview (8.0.2) lib/action_view/base.rb:278:in `_run'
3260
+ actionview (8.0.2) lib/action_view/template.rb:284:in `block in render'
3261
+ activesupport (8.0.2) lib/active_support/notifications.rb:212:in `instrument'
3262
+ actionview (8.0.2) lib/action_view/template.rb:583:in `instrument_render_template'
3263
+ actionview (8.0.2) lib/action_view/template.rb:272:in `render'
3264
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
3265
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
3266
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
3267
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
3268
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
3269
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:59:in `render_template'
3270
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:11:in `render'
3271
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:58:in `render_template_to_object'
3272
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:31:in `render_to_object'
3273
+ actionview (8.0.2) lib/action_view/rendering.rb:136:in `block in _render_template'
3274
+ actionview (8.0.2) lib/action_view/base.rb:305:in `in_rendering_context'
3275
+ actionview (8.0.2) lib/action_view/rendering.rb:135:in `_render_template'
3276
+ actionpack (8.0.2) lib/action_controller/metal/streaming.rb:179:in `_render_template'
3277
+ actionview (8.0.2) lib/action_view/rendering.rb:122:in `render_to_body'
3278
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:186:in `render_to_body'
3279
+ actionpack (8.0.2) lib/action_controller/metal/renderers.rb:140:in `render_to_body'
3280
+ actionpack (8.0.2) lib/abstract_controller/rendering.rb:28:in `render'
3281
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:167:in `render'
3282
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block (2 levels) in render'
3283
+ activesupport (8.0.2) lib/active_support/benchmark.rb:17:in `realtime'
3284
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in render'
3285
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:100:in `cleanup_view_runtime'
3286
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:46:in `cleanup_view_runtime'
3287
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:30:in `render'
3288
+ /Users/iltongarcia/Projects/rails/rails_db/app/controllers/rails_db/dashboard_controller.rb:8:in `index'
3289
+ actionpack (8.0.2) lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
3290
+ actionpack (8.0.2) lib/abstract_controller/base.rb:226:in `process_action'
3291
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:193:in `process_action'
3292
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:261:in `block in process_action'
3293
+ activesupport (8.0.2) lib/active_support/callbacks.rb:120:in `block in run_callbacks'
3294
+ actiontext (8.0.2) lib/action_text/rendering.rb:25:in `with_renderer'
3295
+ actiontext (8.0.2) lib/action_text/engine.rb:71:in `block (4 levels) in <class:Engine>'
3296
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `instance_exec'
3297
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `block in run_callbacks'
3298
+ activesupport (8.0.2) lib/active_support/callbacks.rb:140:in `run_callbacks'
3299
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:260:in `process_action'
3300
+ actionpack (8.0.2) lib/action_controller/metal/rescue.rb:27:in `process_action'
3301
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'
3302
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
3303
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
3304
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
3305
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:75:in `process_action'
3306
+ actionpack (8.0.2) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
3307
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:39:in `process_action'
3308
+ actionpack (8.0.2) lib/abstract_controller/base.rb:163:in `process'
3309
+ actionview (8.0.2) lib/action_view/rendering.rb:40:in `process'
3310
+ actionpack (8.0.2) lib/action_controller/metal.rb:252:in `dispatch'
3311
+ actionpack (8.0.2) lib/action_controller/metal.rb:335:in `dispatch'
3312
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
3313
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:50:in `serve'
3314
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
3315
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
3316
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
3317
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
3318
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
3319
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
3320
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
3321
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
3322
+ railties (8.0.2) lib/rails/railtie.rb:226:in `public_send'
3323
+ railties (8.0.2) lib/rails/railtie.rb:226:in `method_missing'
3324
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'
3325
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:62:in `serve'
3326
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
3327
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
3328
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
3329
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
3330
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
3331
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
3332
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
3333
+ rack (3.1.12) lib/rack/tempfile_reaper.rb:20:in `call'
3334
+ rack (3.1.12) lib/rack/etag.rb:29:in `call'
3335
+ rack (3.1.12) lib/rack/conditional_get.rb:31:in `call'
3336
+ rack (3.1.12) lib/rack/head.rb:15:in `call'
3337
+ actionpack (8.0.2) lib/action_dispatch/http/permissions_policy.rb:38:in `call'
3338
+ actionpack (8.0.2) lib/action_dispatch/http/content_security_policy.rb:38:in `call'
3339
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:274:in `context'
3340
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:268:in `call'
3341
+ actionpack (8.0.2) lib/action_dispatch/middleware/cookies.rb:706:in `call'
3342
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'
3343
+ activesupport (8.0.2) lib/active_support/callbacks.rb:100:in `run_callbacks'
3344
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:30:in `call'
3345
+ actionpack (8.0.2) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
3346
+ actionpack (8.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'
3347
+ actionpack (8.0.2) lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'
3348
+ railties (8.0.2) lib/rails/rack/logger.rb:41:in `call_app'
3349
+ railties (8.0.2) lib/rails/rack/logger.rb:29:in `call'
3350
+ actionpack (8.0.2) lib/action_dispatch/middleware/remote_ip.rb:96:in `call'
3351
+ actionpack (8.0.2) lib/action_dispatch/middleware/request_id.rb:34:in `call'
3352
+ rack (3.1.12) lib/rack/method_override.rb:28:in `call'
3353
+ rack (3.1.12) lib/rack/runtime.rb:24:in `call'
3354
+ actionpack (8.0.2) lib/action_dispatch/middleware/executor.rb:16:in `call'
3355
+ actionpack (8.0.2) lib/action_dispatch/middleware/static.rb:27:in `call'
3356
+ rack (3.1.12) lib/rack/sendfile.rb:114:in `call'
3357
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
3358
+ rack-test (2.2.0) lib/rack/test.rb:360:in `process_request'
3359
+ rack-test (2.2.0) lib/rack/test.rb:153:in `request'
3360
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:297:in `process'
3361
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:19:in `get'
3362
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:388:in `get'
3363
+ /Users/iltongarcia/Projects/rails/rails_db/test/dashboard_controller_test.rb:16:in `block in <class:DashboardControllerTest>'
3364
+ minitest (5.25.5) lib/minitest/test.rb:94:in `block (2 levels) in run'
3365
+ minitest (5.25.5) lib/minitest/test.rb:190:in `capture_exceptions'
3366
+ minitest (5.25.5) lib/minitest/test.rb:89:in `block in run'
3367
+ minitest (5.25.5) lib/minitest.rb:368:in `time_it'
3368
+ minitest (5.25.5) lib/minitest/test.rb:88:in `run'
3369
+ minitest (5.25.5) lib/minitest.rb:1208:in `run_one_method'
3370
+ minitest (5.25.5) lib/minitest.rb:447:in `run_one_method'
3371
+ minitest (5.25.5) lib/minitest.rb:434:in `block (2 levels) in run'
3372
+ minitest (5.25.5) lib/minitest.rb:430:in `each'
3373
+ minitest (5.25.5) lib/minitest.rb:430:in `block in run'
3374
+ minitest (5.25.5) lib/minitest.rb:472:in `on_signal'
3375
+ minitest (5.25.5) lib/minitest.rb:459:in `with_info_handler'
3376
+ minitest (5.25.5) lib/minitest.rb:429:in `run'
3377
+ railties (8.0.2) lib/rails/test_unit/line_filtering.rb:10:in `run'
3378
+ minitest (5.25.5) lib/minitest.rb:332:in `block in __run'
3379
+ minitest (5.25.5) lib/minitest.rb:332:in `map'
3380
+ minitest (5.25.5) lib/minitest.rb:332:in `__run'
3381
+ minitest (5.25.5) lib/minitest.rb:288:in `run'
3382
+ minitest (5.25.5) lib/minitest.rb:86:in `block in autorun'
3383
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3384
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3385
+ -----------------------
3386
+ RailsDbTest: test_truth
3387
+ -----------------------
3388
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3389
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3390
+ ------------------------------------
3391
+ RailsDbTest: test_verify_access_proc
3392
+ ------------------------------------
3393
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3394
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3395
+ --------------------------------------------------------------
3396
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
3397
+ --------------------------------------------------------------
3398
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3399
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:20.321358"], ["updated_at", "2025-04-01 16:09:20.321358"]]
3400
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3401
+ SQL (0.0ms) select * from users
3402
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.4ms | GC: 0.0ms)
3403
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3404
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3405
+ ------------------------------------------------------------------------
3406
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
3407
+ ------------------------------------------------------------------------
3408
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3409
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:20.324078"], ["updated_at", "2025-04-01 16:09:20.324078"]]
3410
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3411
+ SQL (0.0ms) select * from users
3412
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
3413
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3414
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3415
+ --------------------------------------------------------------------
3416
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
3417
+ --------------------------------------------------------------------
3418
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3419
+ User Create (0.1ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:09:20.325305"], ["updated_at", "2025-04-01 16:09:20.325305"]]
3420
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3421
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
3422
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.4ms | GC: 0.0ms)
3423
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3424
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3425
+ ----------------------------------------------------------
3426
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
3427
+ ----------------------------------------------------------
3428
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3429
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:20.327232"], ["updated_at", "2025-04-01 16:09:20.327232"]]
3430
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3431
+ SQL (0.0ms) SELECT * FROM users
3432
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.0ms)
3433
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3434
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3435
+ ------------------------------------
3436
+ DatabaseTest: test_accessible_tables
3437
+ ------------------------------------
3438
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3439
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3440
+ -------------------------
3441
+ DatabaseTest: test_insert
3442
+ -------------------------
3443
+ SQL (0.2ms) delete from projects_users
3444
+ SQL (0.0ms) EXPLAIN delete from projects_users
3445
+ User Delete All (0.0ms) DELETE FROM "users"
3446
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
3447
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
3448
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
3449
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
3450
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3451
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3452
+ -------------------------
3453
+ DatabaseTest: test_tables
3454
+ -------------------------
3455
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3456
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3457
+ --------------------------
3458
+ DatabaseTest: test_adapter
3459
+ --------------------------
3460
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3461
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3462
+ ------------------------
3463
+ DatabaseTest: test_query
3464
+ ------------------------
3465
+ User Delete All (0.0ms) DELETE FROM "users"
3466
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3467
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:20.331856"], ["updated_at", "2025-04-01 16:09:20.331856"]]
3468
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3469
+ SQL (0.0ms) select count(*) as users_count from users
3470
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
3471
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3472
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
3473
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3474
+ TRANSACTION (0.1ms) BEGIN deferred TRANSACTION
3475
+ --------------------------
3476
+ SqlImportTest: test_import
3477
+ --------------------------
3478
+  (0.5ms) update users set age = 11 where id = 1
3479
+  (0.0ms) update users set age = 22 where id = 2
3480
+  (0.0ms) update users set age = 33 where id = 3
3481
+  (0.0ms) 
3482
+ DROP TABLE IF EXISTS t
3483
+  (0.1ms) 
3484
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
3485
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3486
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3487
+ -----------------------
3488
+ TableTest: test_ransack
3489
+ -----------------------
3490
+ User Delete All (0.0ms) DELETE FROM "users"
3491
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3492
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:09:34.194915"], ["updated_at", "2025-04-01 16:09:34.194915"]]
3493
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3494
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3495
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:09:34.195477"], ["updated_at", "2025-04-01 16:09:34.195477"]]
3496
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3497
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3498
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:09:34.195741"], ["updated_at", "2025-04-01 16:09:34.195741"]]
3499
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3500
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3501
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
3502
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3503
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3504
+ ---------------------------
3505
+ TableTest: test_primary_key
3506
+ ---------------------------
3507
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3508
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3509
+ -----------------------
3510
+ TableTest: test_columns
3511
+ -----------------------
3512
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3513
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3514
+ ----------------------
3515
+ TableTest: test_delete
3516
+ ----------------------
3517
+ User Delete All (0.0ms) DELETE FROM "users"
3518
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3519
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:34.199478"], ["updated_at", "2025-04-01 16:09:34.199478"]]
3520
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3521
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3522
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:09:34.200001"], ["updated_at", "2025-04-01 16:09:34.200001"]]
3523
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3524
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3525
+  (0.0ms) DELETE FROM users WHERE id = 1;
3526
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3527
+ User Count (0.2ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
3528
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
3529
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3530
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3531
+ ----------------------
3532
+ TableTest: test_to_csv
3533
+ ----------------------
3534
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3535
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:34.202246"], ["updated_at", "2025-04-01 16:09:34.202246"]]
3536
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3537
+ SQL (0.0ms) SELECT * FROM users
3538
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3539
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3540
+ ------------------------
3541
+ TableTest: test_truncate
3542
+ ------------------------
3543
+ User Delete All (0.1ms) DELETE FROM "users"
3544
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3545
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:34.203881"], ["updated_at", "2025-04-01 16:09:34.203881"]]
3546
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3547
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3548
+  (0.0ms) DELETE FROM users;
3549
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3550
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3551
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3552
+ ------------------------
3553
+ TableTest: test_as_table
3554
+ ------------------------
3555
+ User Delete All (0.0ms) DELETE FROM "users"
3556
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3557
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:09:34.204966"], ["updated_at", "2025-04-01 16:09:34.204966"]]
3558
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3559
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3560
+  Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
3561
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3562
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3563
+ ----------------------------------------------
3564
+ DashboardControllerTest: test_should_get_index
3565
+ ----------------------------------------------
3566
+ User Delete All (0.0ms) DELETE FROM "users"
3567
+ Account Delete All (0.0ms) DELETE FROM "accounts"
3568
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
3569
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3570
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:34.234017"], ["updated_at", "2025-04-01 16:09:34.234017"]]
3571
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3572
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3573
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:09:34.234398"], ["updated_at", "2025-04-01 16:09:34.234398"]]
3574
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3575
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3576
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:09:34.235914"], ["updated_at", "2025-04-01 16:09:34.235914"], ["type", "Customer"]]
3577
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3578
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3579
+ Processing by RailsDb::DashboardController#index as HTML
3580
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3581
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
3582
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 5.1ms | GC: 0.0ms)
3583
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.3ms | GC: 0.0ms)
3584
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
3585
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
3586
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
3587
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 11.1ms | GC: 0.0ms)
3588
+ Completed 200 OK in 45ms (Views: 42.3ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 17.9ms)
3589
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3590
+ Processing by RailsDb::TablesController#show as HTML
3591
+ Parameters: {"id"=>"users"}
3592
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3593
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
3594
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
3595
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.2ms | GC: 0.0ms)
3596
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 4.4ms | GC: 0.0ms)
3597
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3598
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
3599
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3600
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3601
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.2ms | GC: 0.0ms)
3602
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.9ms (0 queries, 0 cached) | GC: 0.0ms)
3603
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3604
+ Processing by RailsDb::TablesController#data as HTML
3605
+ Parameters: {"table_id"=>"users"}
3606
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3607
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3608
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
3609
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
3610
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 11.3ms | GC: 4.3ms)
3611
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.9ms | GC: 0.3ms)
3612
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
3613
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.0ms)
3614
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
3615
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
3616
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
3617
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
3618
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
3619
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 28.0ms | GC: 4.7ms)
3620
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 28.5ms | GC: 4.7ms)
3621
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3622
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
3623
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3624
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3625
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 29.3ms | GC: 4.7ms)
3626
+ Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 4.7ms)
3627
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3628
+ Processing by RailsDb::SqlController#index as HTML
3629
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3630
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
3631
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
3632
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
3633
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.9ms | GC: 0.0ms)
3634
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3635
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
3636
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3637
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3638
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.6ms | GC: 0.0ms)
3639
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.0ms)
3640
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3641
+ Processing by RailsDb::SqlController#import as HTML
3642
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3643
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
3644
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
3645
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 0.4ms | GC: 0.0ms)
3646
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3647
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
3648
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3649
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3650
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.3ms | GC: 0.0ms)
3651
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
3652
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3653
+ Processing by RailsDb::DashboardController#data_table as HTML
3654
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3655
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
3656
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.6ms | GC: 0.0ms)
3657
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3658
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
3659
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3660
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3661
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.5ms | GC: 0.0ms)
3662
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
3663
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3664
+ Processing by RailsDb::TablesController#data as HTML
3665
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
3666
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3667
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3668
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
3669
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
3670
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.0ms | GC: 0.4ms)
3671
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.9ms | GC: 0.2ms)
3672
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
3673
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
3674
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
3675
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
3676
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
3677
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
3678
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
3679
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 19.6ms | GC: 0.7ms)
3680
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 19.6ms | GC: 0.7ms)
3681
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3682
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
3683
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3684
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3685
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 20.4ms | GC: 0.7ms)
3686
+ Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 0.7ms)
3687
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3688
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3689
+ Processing by RailsDb::TablesController#destroy as HTML
3690
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
3691
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3692
+  (0.0ms) DELETE FROM users WHERE id = '1';
3693
+ Redirected to http://www.example.com/rails/db/tables/users/data
3694
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
3695
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3696
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3697
+ Processing by RailsDb::TablesController#csv as HTML
3698
+ Parameters: {"table_id"=>"users"}
3699
+ SQL (0.0ms) SELECT * FROM users
3700
+ Rendering text template
3701
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
3702
+ Sent data users.csv (0.4ms)
3703
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
3704
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3705
+ Processing by RailsDb::DashboardController#standalone as HTML
3706
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3707
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
3708
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.7ms | GC: 0.0ms)
3709
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3710
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 2.0ms | GC: 1.7ms)
3711
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3712
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3713
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.3ms | GC: 1.7ms)
3714
+ Completed 200 OK in 3ms (Views: 3.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 1.7ms)
3715
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3716
+ Processing by RailsDb::SqlController#index as HTML
3717
+ Parameters: {"sql"=>"select * from users limit 10"}
3718
+ SQL (0.0ms) select * from users limit 10
3719
+ SQL (0.0ms) EXPLAIN select * from users limit 10
3720
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3721
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
3722
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
3723
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
3724
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
3725
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.9ms | GC: 0.3ms)
3726
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.6ms | GC: 0.5ms)
3727
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3728
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
3729
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3730
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3731
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.4ms | GC: 0.5ms)
3732
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.5ms)
3733
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3734
+ Processing by RailsDb::SqlController#csv as CSV
3735
+ Parameters: {"sql"=>"select * from users limit 10"}
3736
+ SQL (0.0ms) select * from users limit 10
3737
+ SQL (0.0ms) EXPLAIN select * from users limit 10
3738
+ Rendering text template
3739
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
3740
+ Sent data results.csv (0.1ms)
3741
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
3742
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3743
+ Processing by RailsDb::SqlController#xls as XLS
3744
+ Parameters: {"sql"=>"select * from users limit 10"}
3745
+ SQL (0.0ms) select * from users limit 10
3746
+ SQL (0.0ms) EXPLAIN select * from users limit 10
3747
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
3748
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.4ms | GC: 0.1ms)
3749
+ Rendering text template
3750
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
3751
+ Sent data results.xlsx (0.1ms)
3752
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.1ms)
3753
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3754
+ Processing by RailsDb::TablesController#edit as JS
3755
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
3756
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3757
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
3758
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
3759
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 6.9ms | GC: 0.2ms)
3760
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 7.5ms | GC: 0.2ms)
3761
+ Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.2ms)
3762
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3763
+ Processing by RailsDb::TablesController#update as JS
3764
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
3765
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3766
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
3767
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3768
+ #<Class:0x00000001584f0520> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 16:09:34.413975"], ["id", 2]]
3769
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3770
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
3771
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
3772
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.0ms | GC: 0.0ms)
3773
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
3774
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
3775
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3776
+ Processing by RailsDb::TablesController#new as JS
3777
+ Parameters: {"table_id"=>"users"}
3778
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3779
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
3780
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.3ms | GC: 0.0ms)
3781
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.6ms | GC: 0.0ms)
3782
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.4ms (1 query, 0 cached) | GC: 0.0ms)
3783
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3784
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3785
+ Processing by RailsDb::TablesController#create as JS
3786
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
3787
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3788
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3789
+ #<Class:0x0000000128a2e620> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 16:09:34.425399"], ["updated_at", "2025-04-01 16:09:34.425399"]]
3790
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3791
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
3792
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
3793
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.8ms | GC: 0.8ms)
3794
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 10.3ms | GC: 0.3ms)
3795
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
3796
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.1ms | GC: 0.0ms)
3797
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
3798
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
3799
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3800
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
3801
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
3802
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 32.6ms | GC: 1.5ms)
3803
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 33.2ms | GC: 1.5ms)
3804
+ Completed 200 OK in 38ms (Views: 32.1ms | ActiveRecord: 1.3ms (5 queries, 1 cached) | GC: 3.8ms)
3805
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
3806
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3807
+ Processing by RailsDb::TablesController#edit as JS
3808
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
3809
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3810
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
3811
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
3812
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 5.1ms | GC: 0.0ms)
3813
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 5.6ms | GC: 0.0ms)
3814
+ Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 0.0ms)
3815
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3816
+ Processing by RailsDb::TablesController#update as JS
3817
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
3818
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
3819
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
3820
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3821
+ #<Class:0x000000012fcf6360> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 16:09:34.473795"], ["id", 3]]
3822
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3823
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
3824
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.1ms | GC: 0.3ms)
3825
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.3ms | GC: 0.3ms)
3826
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms (3 queries, 0 cached) | GC: 0.5ms)
3827
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
3828
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3829
+ Processing by RailsDb::DashboardController#index as HTML
3830
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3831
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
3832
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.0ms | GC: 0.0ms)
3833
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3834
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
3835
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3836
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | GC: 0.2ms)
3837
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.1ms | GC: 0.2ms)
3838
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
3839
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 13:09:34 -0300
3840
+ Processing by RailsDb::SqlController#index as HTML
3841
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3842
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
3843
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
3844
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
3845
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.4ms | GC: 0.1ms)
3846
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
3847
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.1ms)
3848
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
3849
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
3850
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.3ms | GC: 0.1ms)
3851
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.6ms (0 queries, 0 cached) | GC: 0.1ms)
3852
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3853
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3854
+ --------------------------
3855
+ DatabaseTest: test_adapter
3856
+ --------------------------
3857
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3858
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3859
+ -------------------------
3860
+ DatabaseTest: test_insert
3861
+ -------------------------
3862
+ SQL (0.4ms) delete from projects_users
3863
+ SQL (0.0ms) EXPLAIN delete from projects_users
3864
+ User Delete All (0.0ms) DELETE FROM "users"
3865
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
3866
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
3867
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
3868
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
3869
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3870
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3871
+ ------------------------
3872
+ DatabaseTest: test_query
3873
+ ------------------------
3874
+ User Delete All (0.0ms) DELETE FROM "users"
3875
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3876
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:34.484067"], ["updated_at", "2025-04-01 16:09:34.484067"]]
3877
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3878
+ SQL (0.0ms) select count(*) as users_count from users
3879
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
3880
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3881
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3882
+ -------------------------
3883
+ DatabaseTest: test_tables
3884
+ -------------------------
3885
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3886
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3887
+ ------------------------------------
3888
+ DatabaseTest: test_accessible_tables
3889
+ ------------------------------------
3890
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3891
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3892
+ ------------------------------------
3893
+ RailsDbTest: test_verify_access_proc
3894
+ ------------------------------------
3895
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3896
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3897
+ -----------------------
3898
+ RailsDbTest: test_truth
3899
+ -----------------------
3900
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3901
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3902
+ ----------------------------------------------------------
3903
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
3904
+ ----------------------------------------------------------
3905
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3906
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:34.487981"], ["updated_at", "2025-04-01 16:09:34.487981"]]
3907
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3908
+ SQL (0.0ms) SELECT * FROM users
3909
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.0ms | GC: 0.1ms)
3910
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3911
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3912
+ ------------------------------------------------------------------------
3913
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
3914
+ ------------------------------------------------------------------------
3915
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3916
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:34.490697"], ["updated_at", "2025-04-01 16:09:34.490697"]]
3917
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3918
+ SQL (0.0ms) select * from users
3919
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
3920
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3921
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3922
+ --------------------------------------------------------------------
3923
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
3924
+ --------------------------------------------------------------------
3925
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3926
+ User Create (0.1ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:09:34.492253"], ["updated_at", "2025-04-01 16:09:34.492253"]]
3927
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3928
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
3929
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.1ms | GC: 0.0ms)
3930
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3931
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3932
+ --------------------------------------------------------------
3933
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
3934
+ --------------------------------------------------------------
3935
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3936
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:09:34.493269"], ["updated_at", "2025-04-01 16:09:34.493269"]]
3937
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3938
+ SQL (0.0ms) select * from users
3939
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
3940
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3941
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3942
+ ------------------------------------------------------------------------------------------------------------------------------------
3943
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
3944
+ ------------------------------------------------------------------------------------------------------------------------------------
3945
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3946
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3947
+ -----------------------------------------------------------------------------------------------------------------------------------------
3948
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
3949
+ -----------------------------------------------------------------------------------------------------------------------------------------
3950
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3951
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3952
+ ----------------------------------------------------------------------------------------------------------------------------
3953
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
3954
+ ----------------------------------------------------------------------------------------------------------------------------
3955
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3956
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3957
+ -------------------------------------------------------------------------------------------------------------------------
3958
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
3959
+ -------------------------------------------------------------------------------------------------------------------------
3960
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3961
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3962
+ ----------------------------------------------------------------------------------------------------------------------------------
3963
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
3964
+ ----------------------------------------------------------------------------------------------------------------------------------
3965
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
3966
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
3967
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3968
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
3969
+ ----------------------------------------------
3970
+ DashboardControllerTest: test_should_get_index
3971
+ ----------------------------------------------
3972
+ User Delete All (0.0ms) DELETE FROM "users"
3973
+ Account Delete All (0.0ms) DELETE FROM "accounts"
3974
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
3975
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3976
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:17.498316"], ["updated_at", "2025-04-01 16:19:17.498316"]]
3977
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3978
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3979
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:19:17.498908"], ["updated_at", "2025-04-01 16:19:17.498908"]]
3980
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3981
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3982
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:19:17.500462"], ["updated_at", "2025-04-01 16:19:17.500462"], ["type", "Customer"]]
3983
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3984
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
3985
+ Processing by RailsDb::DashboardController#index as HTML
3986
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3987
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
3988
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 5.5ms | GC: 0.2ms)
3989
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | GC: 0.0ms)
3990
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
3991
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
3992
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
3993
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 12.2ms | GC: 0.2ms)
3994
+ Completed 200 OK in 48ms (Views: 46.1ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 18.4ms)
3995
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
3996
+ Processing by RailsDb::TablesController#show as HTML
3997
+ Parameters: {"id"=>"users"}
3998
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
3999
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
4000
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
4001
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.3ms | GC: 0.0ms)
4002
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 4.5ms | GC: 0.0ms)
4003
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4004
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
4005
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4006
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4007
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.4ms | GC: 0.0ms)
4008
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 1.0ms (0 queries, 0 cached) | GC: 0.0ms)
4009
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4010
+ Processing by RailsDb::TablesController#data as HTML
4011
+ Parameters: {"table_id"=>"users"}
4012
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4013
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4014
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
4015
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
4016
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.0ms | GC: 0.0ms)
4017
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 9.5ms | GC: 4.5ms)
4018
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
4019
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.0ms)
4020
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
4021
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
4022
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
4023
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
4024
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
4025
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 28.7ms | GC: 5.1ms)
4026
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 29.1ms | GC: 5.1ms)
4027
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4028
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
4029
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4030
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4031
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 29.9ms | GC: 5.1ms)
4032
+ Completed 200 OK in 33ms (Views: 29.2ms | ActiveRecord: 0.8ms (4 queries, 2 cached) | GC: 5.1ms)
4033
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4034
+ Processing by RailsDb::SqlController#index as HTML
4035
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4036
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
4037
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
4038
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
4039
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.9ms | GC: 0.1ms)
4040
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4041
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
4042
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4043
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4044
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 6.0ms | GC: 0.1ms)
4045
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.1ms)
4046
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4047
+ Processing by RailsDb::SqlController#import as HTML
4048
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4049
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
4050
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
4051
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 0.4ms | GC: 0.0ms)
4052
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4053
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
4054
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4055
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4056
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.2ms | GC: 0.0ms)
4057
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
4058
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4059
+ Processing by RailsDb::DashboardController#data_table as HTML
4060
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4061
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
4062
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.7ms | GC: 0.0ms)
4063
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4064
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
4065
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4066
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4067
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
4068
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
4069
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4070
+ Processing by RailsDb::TablesController#data as HTML
4071
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
4072
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4073
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4074
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
4075
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
4076
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 8.3ms | GC: 3.3ms)
4077
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.6ms | GC: 0.4ms)
4078
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
4079
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
4080
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
4081
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
4082
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
4083
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
4084
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
4085
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 27.3ms | GC: 4.2ms)
4086
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 27.3ms | GC: 4.2ms)
4087
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4088
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
4089
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4090
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4091
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 28.1ms | GC: 4.2ms)
4092
+ Completed 200 OK in 29ms (Views: 27.6ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 4.2ms)
4093
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4094
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4095
+ Processing by RailsDb::TablesController#destroy as HTML
4096
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
4097
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4098
+  (0.0ms) DELETE FROM users WHERE id = '1';
4099
+ Redirected to http://www.example.com/rails/db/tables/users/data
4100
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
4101
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4102
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4103
+ Processing by RailsDb::TablesController#csv as HTML
4104
+ Parameters: {"table_id"=>"users"}
4105
+ SQL (0.0ms) SELECT * FROM users
4106
+ Rendering text template
4107
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
4108
+ Sent data users.csv (0.6ms)
4109
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
4110
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4111
+ Processing by RailsDb::DashboardController#standalone as HTML
4112
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4113
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
4114
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.7ms | GC: 0.0ms)
4115
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4116
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
4117
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4118
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4119
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
4120
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
4121
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4122
+ Processing by RailsDb::SqlController#index as HTML
4123
+ Parameters: {"sql"=>"select * from users limit 10"}
4124
+ SQL (0.0ms) select * from users limit 10
4125
+ SQL (0.0ms) EXPLAIN select * from users limit 10
4126
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4127
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
4128
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
4129
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
4130
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
4131
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.8ms | GC: 0.0ms)
4132
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.4ms | GC: 0.0ms)
4133
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4134
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
4135
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4136
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4137
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.3ms | GC: 0.0ms)
4138
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
4139
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4140
+ Processing by RailsDb::SqlController#csv as CSV
4141
+ Parameters: {"sql"=>"select * from users limit 10"}
4142
+ SQL (0.0ms) select * from users limit 10
4143
+ SQL (0.0ms) EXPLAIN select * from users limit 10
4144
+ Rendering text template
4145
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
4146
+ Sent data results.csv (0.1ms)
4147
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.2ms)
4148
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4149
+ Processing by RailsDb::SqlController#xls as XLS
4150
+ Parameters: {"sql"=>"select * from users limit 10"}
4151
+ SQL (0.0ms) select * from users limit 10
4152
+ SQL (0.0ms) EXPLAIN select * from users limit 10
4153
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
4154
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.7ms | GC: 0.3ms)
4155
+ Rendering text template
4156
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
4157
+ Sent data results.xlsx (0.1ms)
4158
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.3ms)
4159
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4160
+ Processing by RailsDb::TablesController#edit as JS
4161
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
4162
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4163
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
4164
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
4165
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 7.8ms | GC: 0.3ms)
4166
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 8.7ms | GC: 0.3ms)
4167
+ Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 0.4ms)
4168
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4169
+ Processing by RailsDb::TablesController#update as JS
4170
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
4171
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4172
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
4173
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4174
+ #<Class:0x000000012ddfde90> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 16:19:17.687835"], ["id", 2]]
4175
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4176
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
4177
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
4178
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.1ms | GC: 0.0ms)
4179
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.1ms)
4180
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
4181
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4182
+ Processing by RailsDb::TablesController#new as JS
4183
+ Parameters: {"table_id"=>"users"}
4184
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4185
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
4186
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 4.1ms | GC: 0.0ms)
4187
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 4.5ms | GC: 0.0ms)
4188
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.5ms (1 query, 0 cached) | GC: 0.0ms)
4189
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4190
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4191
+ Processing by RailsDb::TablesController#create as JS
4192
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
4193
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4194
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4195
+ #<Class:0x000000012f2f7800> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 16:19:17.698910"], ["updated_at", "2025-04-01 16:19:17.698910"]]
4196
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4197
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
4198
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
4199
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 12.7ms | GC: 4.6ms)
4200
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.5ms | GC: 0.3ms)
4201
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
4202
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
4203
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
4204
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
4205
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4206
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
4207
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
4208
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 28.4ms | GC: 5.1ms)
4209
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 29.0ms | GC: 5.1ms)
4210
+ Completed 200 OK in 33ms (Views: 28.6ms | ActiveRecord: 0.9ms (5 queries, 1 cached) | GC: 5.1ms)
4211
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4212
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4213
+ Processing by RailsDb::TablesController#edit as JS
4214
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
4215
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4216
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
4217
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
4218
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.3ms | GC: 0.0ms)
4219
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.8ms | GC: 0.0ms)
4220
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
4221
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4222
+ Processing by RailsDb::TablesController#update as JS
4223
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
4224
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4225
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
4226
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4227
+ #<Class:0x000000011d8417c8> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 16:19:17.741732"], ["id", 3]]
4228
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4229
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
4230
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
4231
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.2ms | GC: 0.2ms)
4232
+ Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.4ms (3 queries, 0 cached) | GC: 2.5ms)
4233
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
4234
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4235
+ Processing by RailsDb::DashboardController#index as HTML
4236
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4237
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
4238
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.0ms | GC: 0.0ms)
4239
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4240
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
4241
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4242
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | GC: 0.2ms)
4243
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.1ms | GC: 0.2ms)
4244
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
4245
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 13:19:17 -0300
4246
+ Processing by RailsDb::SqlController#index as HTML
4247
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4248
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
4249
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
4250
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
4251
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.4ms | GC: 0.1ms)
4252
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
4253
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.1ms)
4254
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
4255
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
4256
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.3ms | GC: 0.2ms)
4257
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.2ms)
4258
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4259
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4260
+ --------------------------
4261
+ SqlImportTest: test_import
4262
+ --------------------------
4263
+  (0.0ms) update users set age = 11 where id = 1
4264
+  (0.0ms) update users set age = 22 where id = 2
4265
+  (0.0ms) update users set age = 33 where id = 3
4266
+  (0.0ms) 
4267
+ DROP TABLE IF EXISTS t
4268
+  (0.0ms) 
4269
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
4270
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4271
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4272
+ ------------------------
4273
+ TableTest: test_truncate
4274
+ ------------------------
4275
+ User Delete All (0.0ms) DELETE FROM "users"
4276
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4277
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:17.751730"], ["updated_at", "2025-04-01 16:19:17.751730"]]
4278
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4279
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4280
+  (0.0ms) DELETE FROM users;
4281
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4282
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4283
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4284
+ ------------------------
4285
+ TableTest: test_as_table
4286
+ ------------------------
4287
+ User Delete All (0.0ms) DELETE FROM "users"
4288
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4289
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:17.752920"], ["updated_at", "2025-04-01 16:19:17.752920"]]
4290
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4291
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4292
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
4293
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4294
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4295
+ ----------------------
4296
+ TableTest: test_to_csv
4297
+ ----------------------
4298
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4299
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:17.755083"], ["updated_at", "2025-04-01 16:19:17.755083"]]
4300
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4301
+ SQL (0.0ms) SELECT * FROM users
4302
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4303
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4304
+ -----------------------
4305
+ TableTest: test_columns
4306
+ -----------------------
4307
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4308
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4309
+ -----------------------
4310
+ TableTest: test_ransack
4311
+ -----------------------
4312
+ User Delete All (0.0ms) DELETE FROM "users"
4313
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4314
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:19:17.756651"], ["updated_at", "2025-04-01 16:19:17.756651"]]
4315
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4316
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4317
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:19:17.756947"], ["updated_at", "2025-04-01 16:19:17.756947"]]
4318
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4319
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4320
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:19:17.757330"], ["updated_at", "2025-04-01 16:19:17.757330"]]
4321
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4322
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4323
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
4324
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4325
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4326
+ ----------------------
4327
+ TableTest: test_delete
4328
+ ----------------------
4329
+ User Delete All (0.0ms) DELETE FROM "users"
4330
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4331
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:17.758614"], ["updated_at", "2025-04-01 16:19:17.758614"]]
4332
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4333
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4334
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:19:17.758986"], ["updated_at", "2025-04-01 16:19:17.758986"]]
4335
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4336
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4337
+  (0.0ms) DELETE FROM users WHERE id = 1;
4338
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4339
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
4340
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
4341
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4342
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4343
+ ---------------------------
4344
+ TableTest: test_primary_key
4345
+ ---------------------------
4346
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4347
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4348
+ --------------------------------------------------------------
4349
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
4350
+ --------------------------------------------------------------
4351
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4352
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:17.761260"], ["updated_at", "2025-04-01 16:19:17.761260"]]
4353
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4354
+ SQL (0.0ms) select * from users
4355
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
4356
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4357
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4358
+ ----------------------------------------------------------
4359
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
4360
+ ----------------------------------------------------------
4361
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4362
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:17.762951"], ["updated_at", "2025-04-01 16:19:17.762951"]]
4363
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4364
+ SQL (0.0ms) SELECT * FROM users
4365
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.8ms | GC: 0.0ms)
4366
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4367
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4368
+ ------------------------------------------------------------------------
4369
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
4370
+ ------------------------------------------------------------------------
4371
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4372
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:17.764905"], ["updated_at", "2025-04-01 16:19:17.764905"]]
4373
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4374
+ SQL (0.0ms) select * from users
4375
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
4376
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4377
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4378
+ --------------------------------------------------------------------
4379
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
4380
+ --------------------------------------------------------------------
4381
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4382
+ User Create (0.1ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:19:17.765744"], ["updated_at", "2025-04-01 16:19:17.765744"]]
4383
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4384
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
4385
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.1ms | GC: 0.0ms)
4386
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4387
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4388
+ ------------------------------------------------------------------------------------------------------------------------------------
4389
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
4390
+ ------------------------------------------------------------------------------------------------------------------------------------
4391
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4392
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4393
+ ----------------------------------------------------------------------------------------------------------------------------------
4394
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
4395
+ ----------------------------------------------------------------------------------------------------------------------------------
4396
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4397
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4398
+ -------------------------------------------------------------------------------------------------------------------------
4399
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
4400
+ -------------------------------------------------------------------------------------------------------------------------
4401
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4402
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4403
+ -----------------------------------------------------------------------------------------------------------------------------------------
4404
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
4405
+ -----------------------------------------------------------------------------------------------------------------------------------------
4406
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4407
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4408
+ ----------------------------------------------------------------------------------------------------------------------------
4409
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
4410
+ ----------------------------------------------------------------------------------------------------------------------------
4411
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4412
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4413
+ -----------------------
4414
+ RailsDbTest: test_truth
4415
+ -----------------------
4416
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4417
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4418
+ ------------------------------------
4419
+ RailsDbTest: test_verify_access_proc
4420
+ ------------------------------------
4421
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4422
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4423
+ --------------------------
4424
+ DatabaseTest: test_adapter
4425
+ --------------------------
4426
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4427
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4428
+ ------------------------------------
4429
+ DatabaseTest: test_accessible_tables
4430
+ ------------------------------------
4431
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4432
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4433
+ -------------------------
4434
+ DatabaseTest: test_tables
4435
+ -------------------------
4436
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4437
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4438
+ -------------------------
4439
+ DatabaseTest: test_insert
4440
+ -------------------------
4441
+ SQL (0.0ms) delete from projects_users
4442
+ SQL (0.0ms) EXPLAIN delete from projects_users
4443
+ User Delete All (0.0ms) DELETE FROM "users"
4444
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
4445
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
4446
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
4447
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
4448
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4449
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4450
+ ------------------------
4451
+ DatabaseTest: test_query
4452
+ ------------------------
4453
+ User Delete All (0.0ms) DELETE FROM "users"
4454
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4455
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:17.772041"], ["updated_at", "2025-04-01 16:19:17.772041"]]
4456
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4457
+ SQL (0.0ms) select count(*) as users_count from users
4458
+ SQL (0.1ms) EXPLAIN select count(*) as users_count from users
4459
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4460
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
4461
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4462
+ TRANSACTION (0.1ms) BEGIN deferred TRANSACTION
4463
+ ----------------------------------------------
4464
+ DashboardControllerTest: test_should_get_index
4465
+ ----------------------------------------------
4466
+ User Delete All (0.2ms) DELETE FROM "users"
4467
+ Account Delete All (0.0ms) DELETE FROM "accounts"
4468
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
4469
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4470
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:28.027690"], ["updated_at", "2025-04-01 16:19:28.027690"]]
4471
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4472
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4473
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:19:28.028234"], ["updated_at", "2025-04-01 16:19:28.028234"]]
4474
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4475
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4476
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:19:28.032953"], ["updated_at", "2025-04-01 16:19:28.032953"], ["type", "Customer"]]
4477
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4478
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:19:28 -0300
4479
+ Processing by RailsDb::DashboardController#index as HTML
4480
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
4481
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
4482
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 5.1ms | GC: 0.2ms)
4483
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 6.4ms | GC: 0.2ms)
4484
+ Completed 500 Internal Server Error in 42ms (ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 20.3ms)
4485
+
4486
+ ActionView::Template::Error (The asset 'rails_db/application.js' was not found in the load path.)
4487
+ Caused by: Propshaft::MissingAssetError (The asset 'rails_db/application.js' was not found in the load path.)
4488
+
4489
+ Information for: ActionView::Template::Error (The asset 'rails_db/application.js' was not found in the load path.):
4490
+ 4: <title><%= [yield(:title), 'Rails DB'].reject(&:blank?).join(' - ') %></title>
4491
+ 5: <%= stylesheet_link_tag "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css" %>
4492
+ 6: <%= stylesheet_link_tag "rails_db/application" %>
4493
+ 7: <%= javascript_include_tag "rails_db/application" %>
4494
+ 8:
4495
+ 9: <% unless ENV["RAILS_ENV"] == "test" %>
4496
+ 10: <%= javascript_include_tag(
4497
+
4498
+ propshaft (1.1.0) lib/propshaft/helper.rb:4:in `compute_asset_path'
4499
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:204:in `asset_path'
4500
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:322:in `javascript_path'
4501
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:125:in `block in javascript_include_tag'
4502
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `map'
4503
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `javascript_include_tag'
4504
+ /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb:7
4505
+ actionview (8.0.2) lib/action_view/base.rb:278:in `public_send'
4506
+ actionview (8.0.2) lib/action_view/base.rb:278:in `_run'
4507
+ actionview (8.0.2) lib/action_view/template.rb:284:in `block in render'
4508
+ activesupport (8.0.2) lib/active_support/notifications.rb:212:in `instrument'
4509
+ actionview (8.0.2) lib/action_view/template.rb:583:in `instrument_render_template'
4510
+ actionview (8.0.2) lib/action_view/template.rb:272:in `render'
4511
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
4512
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
4513
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
4514
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
4515
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
4516
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:59:in `render_template'
4517
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:11:in `render'
4518
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:58:in `render_template_to_object'
4519
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:31:in `render_to_object'
4520
+ actionview (8.0.2) lib/action_view/rendering.rb:136:in `block in _render_template'
4521
+ actionview (8.0.2) lib/action_view/base.rb:305:in `in_rendering_context'
4522
+ actionview (8.0.2) lib/action_view/rendering.rb:135:in `_render_template'
4523
+ actionpack (8.0.2) lib/action_controller/metal/streaming.rb:179:in `_render_template'
4524
+ actionview (8.0.2) lib/action_view/rendering.rb:122:in `render_to_body'
4525
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:186:in `render_to_body'
4526
+ actionpack (8.0.2) lib/action_controller/metal/renderers.rb:140:in `render_to_body'
4527
+ actionpack (8.0.2) lib/abstract_controller/rendering.rb:28:in `render'
4528
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:167:in `render'
4529
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block (2 levels) in render'
4530
+ activesupport (8.0.2) lib/active_support/benchmark.rb:17:in `realtime'
4531
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in render'
4532
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:100:in `cleanup_view_runtime'
4533
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:46:in `cleanup_view_runtime'
4534
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:30:in `render'
4535
+ /Users/iltongarcia/Projects/rails/rails_db/app/controllers/rails_db/dashboard_controller.rb:8:in `index'
4536
+ actionpack (8.0.2) lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
4537
+ actionpack (8.0.2) lib/abstract_controller/base.rb:226:in `process_action'
4538
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:193:in `process_action'
4539
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:261:in `block in process_action'
4540
+ activesupport (8.0.2) lib/active_support/callbacks.rb:120:in `block in run_callbacks'
4541
+ actiontext (8.0.2) lib/action_text/rendering.rb:25:in `with_renderer'
4542
+ actiontext (8.0.2) lib/action_text/engine.rb:71:in `block (4 levels) in <class:Engine>'
4543
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `instance_exec'
4544
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `block in run_callbacks'
4545
+ activesupport (8.0.2) lib/active_support/callbacks.rb:140:in `run_callbacks'
4546
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:260:in `process_action'
4547
+ actionpack (8.0.2) lib/action_controller/metal/rescue.rb:27:in `process_action'
4548
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'
4549
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
4550
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
4551
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
4552
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:75:in `process_action'
4553
+ actionpack (8.0.2) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
4554
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:39:in `process_action'
4555
+ actionpack (8.0.2) lib/abstract_controller/base.rb:163:in `process'
4556
+ actionview (8.0.2) lib/action_view/rendering.rb:40:in `process'
4557
+ actionpack (8.0.2) lib/action_controller/metal.rb:252:in `dispatch'
4558
+ actionpack (8.0.2) lib/action_controller/metal.rb:335:in `dispatch'
4559
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
4560
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:50:in `serve'
4561
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
4562
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
4563
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
4564
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
4565
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
4566
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
4567
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
4568
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
4569
+ railties (8.0.2) lib/rails/railtie.rb:226:in `public_send'
4570
+ railties (8.0.2) lib/rails/railtie.rb:226:in `method_missing'
4571
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'
4572
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:62:in `serve'
4573
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
4574
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
4575
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
4576
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
4577
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
4578
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
4579
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
4580
+ rack (3.1.12) lib/rack/tempfile_reaper.rb:20:in `call'
4581
+ rack (3.1.12) lib/rack/etag.rb:29:in `call'
4582
+ rack (3.1.12) lib/rack/conditional_get.rb:31:in `call'
4583
+ rack (3.1.12) lib/rack/head.rb:15:in `call'
4584
+ actionpack (8.0.2) lib/action_dispatch/http/permissions_policy.rb:38:in `call'
4585
+ actionpack (8.0.2) lib/action_dispatch/http/content_security_policy.rb:38:in `call'
4586
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:274:in `context'
4587
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:268:in `call'
4588
+ actionpack (8.0.2) lib/action_dispatch/middleware/cookies.rb:706:in `call'
4589
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'
4590
+ activesupport (8.0.2) lib/active_support/callbacks.rb:100:in `run_callbacks'
4591
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:30:in `call'
4592
+ actionpack (8.0.2) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
4593
+ actionpack (8.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'
4594
+ actionpack (8.0.2) lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'
4595
+ railties (8.0.2) lib/rails/rack/logger.rb:41:in `call_app'
4596
+ railties (8.0.2) lib/rails/rack/logger.rb:29:in `call'
4597
+ actionpack (8.0.2) lib/action_dispatch/middleware/remote_ip.rb:96:in `call'
4598
+ actionpack (8.0.2) lib/action_dispatch/middleware/request_id.rb:34:in `call'
4599
+ rack (3.1.12) lib/rack/method_override.rb:28:in `call'
4600
+ rack (3.1.12) lib/rack/runtime.rb:24:in `call'
4601
+ actionpack (8.0.2) lib/action_dispatch/middleware/executor.rb:16:in `call'
4602
+ actionpack (8.0.2) lib/action_dispatch/middleware/static.rb:27:in `call'
4603
+ rack (3.1.12) lib/rack/sendfile.rb:114:in `call'
4604
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
4605
+ rack-test (2.2.0) lib/rack/test.rb:360:in `process_request'
4606
+ rack-test (2.2.0) lib/rack/test.rb:153:in `request'
4607
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:297:in `process'
4608
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:19:in `get'
4609
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:388:in `get'
4610
+ /Users/iltongarcia/Projects/rails/rails_db/test/dashboard_controller_test.rb:16:in `block in <class:DashboardControllerTest>'
4611
+ minitest (5.25.5) lib/minitest/test.rb:94:in `block (2 levels) in run'
4612
+ minitest (5.25.5) lib/minitest/test.rb:190:in `capture_exceptions'
4613
+ minitest (5.25.5) lib/minitest/test.rb:89:in `block in run'
4614
+ minitest (5.25.5) lib/minitest.rb:368:in `time_it'
4615
+ minitest (5.25.5) lib/minitest/test.rb:88:in `run'
4616
+ minitest (5.25.5) lib/minitest.rb:1208:in `run_one_method'
4617
+ minitest (5.25.5) lib/minitest.rb:447:in `run_one_method'
4618
+ minitest (5.25.5) lib/minitest.rb:434:in `block (2 levels) in run'
4619
+ minitest (5.25.5) lib/minitest.rb:430:in `each'
4620
+ minitest (5.25.5) lib/minitest.rb:430:in `block in run'
4621
+ minitest (5.25.5) lib/minitest.rb:472:in `on_signal'
4622
+ minitest (5.25.5) lib/minitest.rb:459:in `with_info_handler'
4623
+ minitest (5.25.5) lib/minitest.rb:429:in `run'
4624
+ railties (8.0.2) lib/rails/test_unit/line_filtering.rb:10:in `run'
4625
+ minitest (5.25.5) lib/minitest.rb:332:in `block in __run'
4626
+ minitest (5.25.5) lib/minitest.rb:332:in `map'
4627
+ minitest (5.25.5) lib/minitest.rb:332:in `__run'
4628
+ minitest (5.25.5) lib/minitest.rb:288:in `run'
4629
+ minitest (5.25.5) lib/minitest.rb:86:in `block in autorun'
4630
+
4631
+ Information for cause: Propshaft::MissingAssetError (The asset 'rails_db/application.js' was not found in the load path.):
4632
+
4633
+ propshaft (1.1.0) lib/propshaft/helper.rb:4:in `compute_asset_path'
4634
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:204:in `asset_path'
4635
+ actionview (8.0.2) lib/action_view/helpers/asset_url_helper.rb:322:in `javascript_path'
4636
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:125:in `block in javascript_include_tag'
4637
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `map'
4638
+ actionview (8.0.2) lib/action_view/helpers/asset_tag_helper.rb:124:in `javascript_include_tag'
4639
+ /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb:7
4640
+ actionview (8.0.2) lib/action_view/base.rb:278:in `public_send'
4641
+ actionview (8.0.2) lib/action_view/base.rb:278:in `_run'
4642
+ actionview (8.0.2) lib/action_view/template.rb:284:in `block in render'
4643
+ activesupport (8.0.2) lib/active_support/notifications.rb:212:in `instrument'
4644
+ actionview (8.0.2) lib/action_view/template.rb:583:in `instrument_render_template'
4645
+ actionview (8.0.2) lib/action_view/template.rb:272:in `render'
4646
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
4647
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
4648
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
4649
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
4650
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
4651
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:59:in `render_template'
4652
+ actionview (8.0.2) lib/action_view/renderer/template_renderer.rb:11:in `render'
4653
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:58:in `render_template_to_object'
4654
+ actionview (8.0.2) lib/action_view/renderer/renderer.rb:31:in `render_to_object'
4655
+ actionview (8.0.2) lib/action_view/rendering.rb:136:in `block in _render_template'
4656
+ actionview (8.0.2) lib/action_view/base.rb:305:in `in_rendering_context'
4657
+ actionview (8.0.2) lib/action_view/rendering.rb:135:in `_render_template'
4658
+ actionpack (8.0.2) lib/action_controller/metal/streaming.rb:179:in `_render_template'
4659
+ actionview (8.0.2) lib/action_view/rendering.rb:122:in `render_to_body'
4660
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:186:in `render_to_body'
4661
+ actionpack (8.0.2) lib/action_controller/metal/renderers.rb:140:in `render_to_body'
4662
+ actionpack (8.0.2) lib/abstract_controller/rendering.rb:28:in `render'
4663
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:167:in `render'
4664
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block (2 levels) in render'
4665
+ activesupport (8.0.2) lib/active_support/benchmark.rb:17:in `realtime'
4666
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in render'
4667
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:100:in `cleanup_view_runtime'
4668
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:46:in `cleanup_view_runtime'
4669
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:30:in `render'
4670
+ /Users/iltongarcia/Projects/rails/rails_db/app/controllers/rails_db/dashboard_controller.rb:8:in `index'
4671
+ actionpack (8.0.2) lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
4672
+ actionpack (8.0.2) lib/abstract_controller/base.rb:226:in `process_action'
4673
+ actionpack (8.0.2) lib/action_controller/metal/rendering.rb:193:in `process_action'
4674
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:261:in `block in process_action'
4675
+ activesupport (8.0.2) lib/active_support/callbacks.rb:120:in `block in run_callbacks'
4676
+ actiontext (8.0.2) lib/action_text/rendering.rb:25:in `with_renderer'
4677
+ actiontext (8.0.2) lib/action_text/engine.rb:71:in `block (4 levels) in <class:Engine>'
4678
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `instance_exec'
4679
+ activesupport (8.0.2) lib/active_support/callbacks.rb:129:in `block in run_callbacks'
4680
+ activesupport (8.0.2) lib/active_support/callbacks.rb:140:in `run_callbacks'
4681
+ actionpack (8.0.2) lib/abstract_controller/callbacks.rb:260:in `process_action'
4682
+ actionpack (8.0.2) lib/action_controller/metal/rescue.rb:27:in `process_action'
4683
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'
4684
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `block in instrument'
4685
+ activesupport (8.0.2) lib/active_support/notifications/instrumenter.rb:58:in `instrument'
4686
+ activesupport (8.0.2) lib/active_support/notifications.rb:210:in `instrument'
4687
+ actionpack (8.0.2) lib/action_controller/metal/instrumentation.rb:75:in `process_action'
4688
+ actionpack (8.0.2) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
4689
+ activerecord (8.0.2) lib/active_record/railties/controller_runtime.rb:39:in `process_action'
4690
+ actionpack (8.0.2) lib/abstract_controller/base.rb:163:in `process'
4691
+ actionview (8.0.2) lib/action_view/rendering.rb:40:in `process'
4692
+ actionpack (8.0.2) lib/action_controller/metal.rb:252:in `dispatch'
4693
+ actionpack (8.0.2) lib/action_controller/metal.rb:335:in `dispatch'
4694
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
4695
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:50:in `serve'
4696
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
4697
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
4698
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
4699
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
4700
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
4701
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
4702
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
4703
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
4704
+ railties (8.0.2) lib/rails/railtie.rb:226:in `public_send'
4705
+ railties (8.0.2) lib/rails/railtie.rb:226:in `method_missing'
4706
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'
4707
+ actionpack (8.0.2) lib/action_dispatch/routing/mapper.rb:62:in `serve'
4708
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:53:in `block in serve'
4709
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
4710
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `each'
4711
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:126:in `find_routes'
4712
+ actionpack (8.0.2) lib/action_dispatch/journey/router.rb:34:in `serve'
4713
+ actionpack (8.0.2) lib/action_dispatch/routing/route_set.rb:908:in `call'
4714
+ railties (8.0.2) lib/rails/engine/lazy_route_set.rb:68:in `call'
4715
+ rack (3.1.12) lib/rack/tempfile_reaper.rb:20:in `call'
4716
+ rack (3.1.12) lib/rack/etag.rb:29:in `call'
4717
+ rack (3.1.12) lib/rack/conditional_get.rb:31:in `call'
4718
+ rack (3.1.12) lib/rack/head.rb:15:in `call'
4719
+ actionpack (8.0.2) lib/action_dispatch/http/permissions_policy.rb:38:in `call'
4720
+ actionpack (8.0.2) lib/action_dispatch/http/content_security_policy.rb:38:in `call'
4721
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:274:in `context'
4722
+ rack-session (2.1.0) lib/rack/session/abstract/id.rb:268:in `call'
4723
+ actionpack (8.0.2) lib/action_dispatch/middleware/cookies.rb:706:in `call'
4724
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'
4725
+ activesupport (8.0.2) lib/active_support/callbacks.rb:100:in `run_callbacks'
4726
+ actionpack (8.0.2) lib/action_dispatch/middleware/callbacks.rb:30:in `call'
4727
+ actionpack (8.0.2) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
4728
+ actionpack (8.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'
4729
+ actionpack (8.0.2) lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'
4730
+ railties (8.0.2) lib/rails/rack/logger.rb:41:in `call_app'
4731
+ railties (8.0.2) lib/rails/rack/logger.rb:29:in `call'
4732
+ actionpack (8.0.2) lib/action_dispatch/middleware/remote_ip.rb:96:in `call'
4733
+ actionpack (8.0.2) lib/action_dispatch/middleware/request_id.rb:34:in `call'
4734
+ rack (3.1.12) lib/rack/method_override.rb:28:in `call'
4735
+ rack (3.1.12) lib/rack/runtime.rb:24:in `call'
4736
+ actionpack (8.0.2) lib/action_dispatch/middleware/executor.rb:16:in `call'
4737
+ actionpack (8.0.2) lib/action_dispatch/middleware/static.rb:27:in `call'
4738
+ rack (3.1.12) lib/rack/sendfile.rb:114:in `call'
4739
+ railties (8.0.2) lib/rails/engine.rb:535:in `call'
4740
+ rack-test (2.2.0) lib/rack/test.rb:360:in `process_request'
4741
+ rack-test (2.2.0) lib/rack/test.rb:153:in `request'
4742
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:297:in `process'
4743
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:19:in `get'
4744
+ actionpack (8.0.2) lib/action_dispatch/testing/integration.rb:388:in `get'
4745
+ /Users/iltongarcia/Projects/rails/rails_db/test/dashboard_controller_test.rb:16:in `block in <class:DashboardControllerTest>'
4746
+ minitest (5.25.5) lib/minitest/test.rb:94:in `block (2 levels) in run'
4747
+ minitest (5.25.5) lib/minitest/test.rb:190:in `capture_exceptions'
4748
+ minitest (5.25.5) lib/minitest/test.rb:89:in `block in run'
4749
+ minitest (5.25.5) lib/minitest.rb:368:in `time_it'
4750
+ minitest (5.25.5) lib/minitest/test.rb:88:in `run'
4751
+ minitest (5.25.5) lib/minitest.rb:1208:in `run_one_method'
4752
+ minitest (5.25.5) lib/minitest.rb:447:in `run_one_method'
4753
+ minitest (5.25.5) lib/minitest.rb:434:in `block (2 levels) in run'
4754
+ minitest (5.25.5) lib/minitest.rb:430:in `each'
4755
+ minitest (5.25.5) lib/minitest.rb:430:in `block in run'
4756
+ minitest (5.25.5) lib/minitest.rb:472:in `on_signal'
4757
+ minitest (5.25.5) lib/minitest.rb:459:in `with_info_handler'
4758
+ minitest (5.25.5) lib/minitest.rb:429:in `run'
4759
+ railties (8.0.2) lib/rails/test_unit/line_filtering.rb:10:in `run'
4760
+ minitest (5.25.5) lib/minitest.rb:332:in `block in __run'
4761
+ minitest (5.25.5) lib/minitest.rb:332:in `map'
4762
+ minitest (5.25.5) lib/minitest.rb:332:in `__run'
4763
+ minitest (5.25.5) lib/minitest.rb:288:in `run'
4764
+ minitest (5.25.5) lib/minitest.rb:86:in `block in autorun'
4765
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4766
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4767
+ ------------------------
4768
+ TableTest: test_as_table
4769
+ ------------------------
4770
+ User Delete All (0.0ms) DELETE FROM "users"
4771
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4772
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:28.311797"], ["updated_at", "2025-04-01 16:19:28.311797"]]
4773
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4774
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4775
+  Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
4776
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4777
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4778
+ ------------------------
4779
+ TableTest: test_truncate
4780
+ ------------------------
4781
+ User Delete All (0.0ms) DELETE FROM "users"
4782
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4783
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:28.315247"], ["updated_at", "2025-04-01 16:19:28.315247"]]
4784
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4785
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4786
+  (0.0ms) DELETE FROM users;
4787
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4788
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4789
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4790
+ ----------------------
4791
+ TableTest: test_delete
4792
+ ----------------------
4793
+ User Delete All (0.0ms) DELETE FROM "users"
4794
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4795
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:28.316502"], ["updated_at", "2025-04-01 16:19:28.316502"]]
4796
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4797
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4798
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:19:28.316994"], ["updated_at", "2025-04-01 16:19:28.316994"]]
4799
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4800
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4801
+  (0.0ms) DELETE FROM users WHERE id = 1;
4802
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
4803
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
4804
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
4805
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4806
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4807
+ ---------------------------
4808
+ TableTest: test_primary_key
4809
+ ---------------------------
4810
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4811
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4812
+ ----------------------
4813
+ TableTest: test_to_csv
4814
+ ----------------------
4815
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4816
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:28.319016"], ["updated_at", "2025-04-01 16:19:28.319016"]]
4817
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4818
+ SQL (0.0ms) SELECT * FROM users
4819
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4820
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4821
+ -----------------------
4822
+ TableTest: test_ransack
4823
+ -----------------------
4824
+ User Delete All (0.0ms) DELETE FROM "users"
4825
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4826
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:19:28.320336"], ["updated_at", "2025-04-01 16:19:28.320336"]]
4827
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4828
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4829
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:19:28.320756"], ["updated_at", "2025-04-01 16:19:28.320756"]]
4830
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4831
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4832
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:19:28.321161"], ["updated_at", "2025-04-01 16:19:28.321161"]]
4833
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4834
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
4835
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
4836
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4837
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4838
+ -----------------------
4839
+ TableTest: test_columns
4840
+ -----------------------
4841
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4842
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4843
+ -----------------------
4844
+ RailsDbTest: test_truth
4845
+ -----------------------
4846
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4847
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4848
+ ------------------------------------
4849
+ RailsDbTest: test_verify_access_proc
4850
+ ------------------------------------
4851
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4852
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4853
+ ------------------------------------------------------------------------
4854
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
4855
+ ------------------------------------------------------------------------
4856
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4857
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:28.326113"], ["updated_at", "2025-04-01 16:19:28.326113"]]
4858
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4859
+ SQL (0.0ms) select * from users
4860
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
4861
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4862
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4863
+ --------------------------------------------------------------------
4864
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
4865
+ --------------------------------------------------------------------
4866
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4867
+ User Create (0.1ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:19:28.328108"], ["updated_at", "2025-04-01 16:19:28.328108"]]
4868
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4869
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
4870
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | GC: 0.0ms)
4871
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4872
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4873
+ --------------------------------------------------------------
4874
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
4875
+ --------------------------------------------------------------
4876
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4877
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:28.329783"], ["updated_at", "2025-04-01 16:19:28.329783"]]
4878
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4879
+ SQL (0.0ms) select * from users
4880
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
4881
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4882
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4883
+ ----------------------------------------------------------
4884
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
4885
+ ----------------------------------------------------------
4886
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4887
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:28.330610"], ["updated_at", "2025-04-01 16:19:28.330610"]]
4888
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4889
+ SQL (0.0ms) SELECT * FROM users
4890
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.0ms)
4891
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4892
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4893
+ -----------------------------------------------------------------------------------------------------------------------------------------
4894
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
4895
+ -----------------------------------------------------------------------------------------------------------------------------------------
4896
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4897
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4898
+ -------------------------------------------------------------------------------------------------------------------------
4899
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
4900
+ -------------------------------------------------------------------------------------------------------------------------
4901
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4902
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4903
+ ----------------------------------------------------------------------------------------------------------------------------
4904
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
4905
+ ----------------------------------------------------------------------------------------------------------------------------
4906
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4907
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4908
+ ----------------------------------------------------------------------------------------------------------------------------------
4909
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
4910
+ ----------------------------------------------------------------------------------------------------------------------------------
4911
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4912
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4913
+ ------------------------------------------------------------------------------------------------------------------------------------
4914
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
4915
+ ------------------------------------------------------------------------------------------------------------------------------------
4916
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4917
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4918
+ --------------------------
4919
+ SqlImportTest: test_import
4920
+ --------------------------
4921
+  (0.0ms) update users set age = 11 where id = 1
4922
+  (0.0ms) update users set age = 22 where id = 2
4923
+  (0.0ms) update users set age = 33 where id = 3
4924
+  (0.0ms) 
4925
+ DROP TABLE IF EXISTS t
4926
+  (0.0ms) 
4927
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
4928
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4929
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4930
+ -------------------------
4931
+ DatabaseTest: test_insert
4932
+ -------------------------
4933
+ SQL (0.3ms) delete from projects_users
4934
+ SQL (0.0ms) EXPLAIN delete from projects_users
4935
+ User Delete All (0.0ms) DELETE FROM "users"
4936
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
4937
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
4938
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
4939
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
4940
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4941
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4942
+ -------------------------
4943
+ DatabaseTest: test_tables
4944
+ -------------------------
4945
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4946
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4947
+ ------------------------
4948
+ DatabaseTest: test_query
4949
+ ------------------------
4950
+ User Delete All (0.0ms) DELETE FROM "users"
4951
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4952
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:28.337819"], ["updated_at", "2025-04-01 16:19:28.337819"]]
4953
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4954
+ SQL (0.0ms) select count(*) as users_count from users
4955
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
4956
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4957
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4958
+ ------------------------------------
4959
+ DatabaseTest: test_accessible_tables
4960
+ ------------------------------------
4961
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4962
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4963
+ --------------------------
4964
+ DatabaseTest: test_adapter
4965
+ --------------------------
4966
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4967
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
4968
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4969
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4970
+ -----------------------------------------------------------------------------------------------------------------------------------------
4971
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
4972
+ -----------------------------------------------------------------------------------------------------------------------------------------
4973
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4974
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4975
+ -------------------------------------------------------------------------------------------------------------------------
4976
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
4977
+ -------------------------------------------------------------------------------------------------------------------------
4978
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4979
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4980
+ ----------------------------------------------------------------------------------------------------------------------------
4981
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
4982
+ ----------------------------------------------------------------------------------------------------------------------------
4983
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4984
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4985
+ ----------------------------------------------------------------------------------------------------------------------------------
4986
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
4987
+ ----------------------------------------------------------------------------------------------------------------------------------
4988
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4989
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4990
+ ------------------------------------------------------------------------------------------------------------------------------------
4991
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
4992
+ ------------------------------------------------------------------------------------------------------------------------------------
4993
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
4994
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4995
+ ----------------------
4996
+ TableTest: test_delete
4997
+ ----------------------
4998
+ User Delete All (0.1ms) DELETE FROM "users"
4999
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5000
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:59.344024"], ["updated_at", "2025-04-01 16:19:59.344024"]]
5001
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5002
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5003
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:19:59.344601"], ["updated_at", "2025-04-01 16:19:59.344601"]]
5004
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5005
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5006
+  (0.0ms) DELETE FROM users WHERE id = 1;
5007
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5008
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
5009
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
5010
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5011
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5012
+ ---------------------------
5013
+ TableTest: test_primary_key
5014
+ ---------------------------
5015
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5016
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5017
+ ------------------------
5018
+ TableTest: test_as_table
5019
+ ------------------------
5020
+ User Delete All (0.0ms) DELETE FROM "users"
5021
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5022
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:59.347503"], ["updated_at", "2025-04-01 16:19:59.347503"]]
5023
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5024
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5025
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
5026
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5027
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5028
+ ------------------------
5029
+ TableTest: test_truncate
5030
+ ------------------------
5031
+ User Delete All (0.0ms) DELETE FROM "users"
5032
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5033
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:59.349834"], ["updated_at", "2025-04-01 16:19:59.349834"]]
5034
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5035
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5036
+  (0.0ms) DELETE FROM users;
5037
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5038
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5039
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5040
+ ----------------------
5041
+ TableTest: test_to_csv
5042
+ ----------------------
5043
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5044
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:19:59.350777"], ["updated_at", "2025-04-01 16:19:59.350777"]]
5045
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5046
+ SQL (0.0ms) SELECT * FROM users
5047
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5048
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5049
+ -----------------------
5050
+ TableTest: test_ransack
5051
+ -----------------------
5052
+ User Delete All (0.0ms) DELETE FROM "users"
5053
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5054
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:19:59.352054"], ["updated_at", "2025-04-01 16:19:59.352054"]]
5055
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5056
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5057
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:19:59.355939"], ["updated_at", "2025-04-01 16:19:59.355939"]]
5058
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5059
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5060
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:19:59.356235"], ["updated_at", "2025-04-01 16:19:59.356235"]]
5061
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5062
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5063
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
5064
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5065
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5066
+ -----------------------
5067
+ TableTest: test_columns
5068
+ -----------------------
5069
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5070
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5071
+ ----------------------------------------------
5072
+ DashboardControllerTest: test_should_get_index
5073
+ ----------------------------------------------
5074
+ User Delete All (0.0ms) DELETE FROM "users"
5075
+ Account Delete All (0.0ms) DELETE FROM "accounts"
5076
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
5077
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5078
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:59.382958"], ["updated_at", "2025-04-01 16:19:59.382958"]]
5079
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5080
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5081
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:19:59.383563"], ["updated_at", "2025-04-01 16:19:59.383563"]]
5082
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5083
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5084
+ Customer Create (0.4ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:19:59.385421"], ["updated_at", "2025-04-01 16:19:59.385421"], ["type", "Customer"]]
5085
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5086
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5087
+ Processing by RailsDb::DashboardController#index as HTML
5088
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5089
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
5090
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 8.7ms | GC: 0.0ms)
5091
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.3ms | GC: 0.0ms)
5092
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
5093
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
5094
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
5095
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 15.0ms | GC: 0.0ms)
5096
+ Completed 200 OK in 43ms (Views: 38.4ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 13.2ms)
5097
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5098
+ Processing by RailsDb::TablesController#show as HTML
5099
+ Parameters: {"id"=>"users"}
5100
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5101
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
5102
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
5103
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 7.6ms | GC: 3.4ms)
5104
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 7.8ms | GC: 3.4ms)
5105
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5106
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5107
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5108
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5109
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 8.7ms | GC: 3.4ms)
5110
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 1.2ms (0 queries, 0 cached) | GC: 3.5ms)
5111
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5112
+ Processing by RailsDb::TablesController#data as HTML
5113
+ Parameters: {"table_id"=>"users"}
5114
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5115
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5116
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
5117
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5118
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.8ms | GC: 0.2ms)
5119
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.6ms | GC: 0.0ms)
5120
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
5121
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
5122
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
5123
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
5124
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5125
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5126
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
5127
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 22.4ms | GC: 0.3ms)
5128
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 22.8ms | GC: 0.3ms)
5129
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5130
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5131
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5132
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5133
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 23.6ms | GC: 0.3ms)
5134
+ Completed 200 OK in 25ms (Views: 23.1ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 0.3ms)
5135
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5136
+ Processing by RailsDb::SqlController#index as HTML
5137
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5138
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
5139
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5140
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | GC: 0.0ms)
5141
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 7.6ms | GC: 3.6ms)
5142
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.5ms | GC: 0.3ms)
5143
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5144
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5145
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5146
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 10.0ms | GC: 3.9ms)
5147
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.8ms (0 queries, 0 cached) | GC: 3.9ms)
5148
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5149
+ Processing by RailsDb::SqlController#import as HTML
5150
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5151
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
5152
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
5153
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 0.7ms | GC: 0.0ms)
5154
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5155
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5156
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5157
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5158
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.9ms | GC: 0.2ms)
5159
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
5160
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5161
+ Processing by RailsDb::DashboardController#data_table as HTML
5162
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5163
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
5164
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.8ms | GC: 0.0ms)
5165
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5166
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5167
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5168
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | GC: 0.0ms)
5169
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 2.1ms | GC: 0.1ms)
5170
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.1ms)
5171
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5172
+ Processing by RailsDb::TablesController#data as HTML
5173
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
5174
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5175
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5176
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
5177
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5178
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.5ms | GC: 0.3ms)
5179
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.5ms | GC: 0.2ms)
5180
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
5181
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
5182
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
5183
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.2ms)
5184
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5185
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5186
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
5187
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 27.7ms | GC: 3.8ms)
5188
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 27.7ms | GC: 3.8ms)
5189
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.3ms | GC: 0.0ms)
5190
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5191
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5192
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5193
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 28.7ms | GC: 3.8ms)
5194
+ Completed 200 OK in 31ms (Views: 28.0ms | ActiveRecord: 1.1ms (4 queries, 2 cached) | GC: 3.9ms)
5195
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5196
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5197
+ Processing by RailsDb::TablesController#destroy as HTML
5198
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
5199
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5200
+  (0.0ms) DELETE FROM users WHERE id = '1';
5201
+ Redirected to http://www.example.com/rails/db/tables/users/data
5202
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.1ms)
5203
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5204
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5205
+ Processing by RailsDb::TablesController#csv as HTML
5206
+ Parameters: {"table_id"=>"users"}
5207
+ SQL (0.0ms) SELECT * FROM users
5208
+ Rendering text template
5209
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
5210
+ Sent data users.csv (0.7ms)
5211
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.1ms)
5212
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5213
+ Processing by RailsDb::DashboardController#standalone as HTML
5214
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5215
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
5216
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.8ms | GC: 0.0ms)
5217
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5218
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5219
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5220
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5221
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.8ms | GC: 0.0ms)
5222
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
5223
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5224
+ Processing by RailsDb::SqlController#index as HTML
5225
+ Parameters: {"sql"=>"select * from users limit 10"}
5226
+ SQL (0.0ms) select * from users limit 10
5227
+ SQL (0.1ms) EXPLAIN select * from users limit 10
5228
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5229
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
5230
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5231
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
5232
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
5233
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 1.2ms | GC: 0.0ms)
5234
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 5.0ms | GC: 0.1ms)
5235
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5236
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | GC: 0.0ms)
5237
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5238
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.3ms | GC: 0.1ms)
5239
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 6.8ms | GC: 0.1ms)
5240
+ Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.9ms (2 queries, 0 cached) | GC: 0.1ms)
5241
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5242
+ Processing by RailsDb::SqlController#csv as CSV
5243
+ Parameters: {"sql"=>"select * from users limit 10"}
5244
+ SQL (0.0ms) select * from users limit 10
5245
+ SQL (0.0ms) EXPLAIN select * from users limit 10
5246
+ Rendering text template
5247
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
5248
+ Sent data results.csv (0.1ms)
5249
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.1ms)
5250
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5251
+ Processing by RailsDb::SqlController#xls as XLS
5252
+ Parameters: {"sql"=>"select * from users limit 10"}
5253
+ SQL (0.0ms) select * from users limit 10
5254
+ SQL (0.0ms) EXPLAIN select * from users limit 10
5255
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
5256
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.8ms | GC: 0.0ms)
5257
+ Rendering text template
5258
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
5259
+ Sent data results.xlsx (0.1ms)
5260
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.2ms (2 queries, 0 cached) | GC: 0.1ms)
5261
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5262
+ Processing by RailsDb::TablesController#edit as JS
5263
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
5264
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5265
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
5266
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
5267
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 16.8ms | GC: 0.0ms)
5268
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 17.6ms | GC: 0.0ms)
5269
+ Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 1.0ms (2 queries, 0 cached) | GC: 0.0ms)
5270
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5271
+ Processing by RailsDb::TablesController#update as JS
5272
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
5273
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5274
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
5275
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5276
+ #<Class:0x000000012ba9ed00> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 16:19:59.593833"], ["id", 2]]
5277
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5278
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
5279
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
5280
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.2ms | GC: 0.0ms)
5281
+ Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.4ms (3 queries, 0 cached) | GC: 2.7ms)
5282
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
5283
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5284
+ Processing by RailsDb::TablesController#new as JS
5285
+ Parameters: {"table_id"=>"users"}
5286
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5287
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
5288
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.6ms | GC: 0.2ms)
5289
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 4.2ms | GC: 0.2ms)
5290
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.5ms (1 query, 0 cached) | GC: 0.5ms)
5291
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5292
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5293
+ Processing by RailsDb::TablesController#create as JS
5294
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
5295
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5296
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5297
+ #<Class:0x000000013aef7be0> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 16:19:59.604959"], ["updated_at", "2025-04-01 16:19:59.604959"]]
5298
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5299
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
5300
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5301
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.8ms | GC: 0.2ms)
5302
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.1ms | GC: 0.0ms)
5303
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
5304
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 3.6ms | GC: 2.7ms)
5305
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
5306
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.2ms)
5307
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5308
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5309
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
5310
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 25.9ms | GC: 3.2ms)
5311
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 26.4ms | GC: 3.2ms)
5312
+ Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 1.2ms (5 queries, 1 cached) | GC: 3.3ms)
5313
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5314
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5315
+ Processing by RailsDb::TablesController#edit as JS
5316
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
5317
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5318
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
5319
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
5320
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.4ms | GC: 0.2ms)
5321
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.8ms | GC: 0.2ms)
5322
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.4ms)
5323
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5324
+ Processing by RailsDb::TablesController#update as JS
5325
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
5326
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5327
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
5328
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5329
+ #<Class:0x000000013acbb7c8> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 16:19:59.642372"], ["id", 3]]
5330
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5331
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
5332
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
5333
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 0.9ms | GC: 0.0ms)
5334
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.2ms)
5335
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
5336
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5337
+ Processing by RailsDb::DashboardController#index as HTML
5338
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5339
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
5340
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.0ms | GC: 0.0ms)
5341
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5342
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5343
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5344
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5345
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.0ms | GC: 0.1ms)
5346
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.1ms)
5347
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 13:19:59 -0300
5348
+ Processing by RailsDb::SqlController#index as HTML
5349
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5350
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
5351
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5352
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
5353
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.3ms | GC: 0.0ms)
5354
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5355
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5356
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5357
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5358
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.1ms | GC: 0.0ms)
5359
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.0ms)
5360
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5361
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5362
+ -----------------------
5363
+ RailsDbTest: test_truth
5364
+ -----------------------
5365
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5366
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5367
+ ------------------------------------
5368
+ RailsDbTest: test_verify_access_proc
5369
+ ------------------------------------
5370
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5371
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5372
+ -------------------------
5373
+ DatabaseTest: test_insert
5374
+ -------------------------
5375
+ SQL (0.0ms) delete from projects_users
5376
+ SQL (0.0ms) EXPLAIN delete from projects_users
5377
+ User Delete All (0.0ms) DELETE FROM "users"
5378
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5379
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
5380
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
5381
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5382
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5383
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5384
+ -------------------------
5385
+ DatabaseTest: test_tables
5386
+ -------------------------
5387
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5388
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5389
+ ------------------------
5390
+ DatabaseTest: test_query
5391
+ ------------------------
5392
+ User Delete All (0.0ms) DELETE FROM "users"
5393
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5394
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:59.652098"], ["updated_at", "2025-04-01 16:19:59.652098"]]
5395
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5396
+ SQL (0.0ms) select count(*) as users_count from users
5397
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
5398
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5399
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5400
+ ------------------------------------
5401
+ DatabaseTest: test_accessible_tables
5402
+ ------------------------------------
5403
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5404
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5405
+ --------------------------
5406
+ DatabaseTest: test_adapter
5407
+ --------------------------
5408
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5409
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5410
+ --------------------------------------------------------------------
5411
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
5412
+ --------------------------------------------------------------------
5413
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5414
+ User Create (0.1ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:19:59.654414"], ["updated_at", "2025-04-01 16:19:59.654414"]]
5415
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5416
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
5417
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | GC: 0.0ms)
5418
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5419
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5420
+ ------------------------------------------------------------------------
5421
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
5422
+ ------------------------------------------------------------------------
5423
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5424
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:59.656155"], ["updated_at", "2025-04-01 16:19:59.656155"]]
5425
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5426
+ SQL (0.0ms) select * from users
5427
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.2ms | GC: 0.0ms)
5428
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5429
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5430
+ --------------------------------------------------------------
5431
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
5432
+ --------------------------------------------------------------
5433
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5434
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:59.657799"], ["updated_at", "2025-04-01 16:19:59.657799"]]
5435
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5436
+ SQL (0.0ms) select * from users
5437
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
5438
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5439
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5440
+ ----------------------------------------------------------
5441
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
5442
+ ----------------------------------------------------------
5443
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5444
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:19:59.658681"], ["updated_at", "2025-04-01 16:19:59.658681"]]
5445
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5446
+ SQL (0.0ms) SELECT * FROM users
5447
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.0ms)
5448
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5449
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5450
+ --------------------------
5451
+ SqlImportTest: test_import
5452
+ --------------------------
5453
+  (0.0ms) update users set age = 11 where id = 1
5454
+  (0.0ms) update users set age = 22 where id = 2
5455
+  (0.0ms) update users set age = 33 where id = 3
5456
+  (0.0ms) 
5457
+ DROP TABLE IF EXISTS t
5458
+  (0.0ms) 
5459
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
5460
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5461
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
5462
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5463
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5464
+ -----------------------
5465
+ TableTest: test_columns
5466
+ -----------------------
5467
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5468
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5469
+ ------------------------
5470
+ TableTest: test_truncate
5471
+ ------------------------
5472
+ User Delete All (0.0ms) DELETE FROM "users"
5473
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5474
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:20:36.761225"], ["updated_at", "2025-04-01 16:20:36.761225"]]
5475
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5476
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5477
+  (0.0ms) DELETE FROM users;
5478
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5479
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5480
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5481
+ ------------------------
5482
+ TableTest: test_as_table
5483
+ ------------------------
5484
+ User Delete All (0.0ms) DELETE FROM "users"
5485
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5486
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:20:36.762645"], ["updated_at", "2025-04-01 16:20:36.762645"]]
5487
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5488
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5489
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
5490
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5491
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5492
+ ----------------------
5493
+ TableTest: test_to_csv
5494
+ ----------------------
5495
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5496
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:20:36.765101"], ["updated_at", "2025-04-01 16:20:36.765101"]]
5497
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5498
+ SQL (0.0ms) SELECT * FROM users
5499
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5500
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5501
+ -----------------------
5502
+ TableTest: test_ransack
5503
+ -----------------------
5504
+ User Delete All (0.0ms) DELETE FROM "users"
5505
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5506
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:20:36.770684"], ["updated_at", "2025-04-01 16:20:36.770684"]]
5507
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5508
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5509
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:20:36.771047"], ["updated_at", "2025-04-01 16:20:36.771047"]]
5510
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5511
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5512
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:20:36.771378"], ["updated_at", "2025-04-01 16:20:36.771378"]]
5513
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5514
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5515
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
5516
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5517
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5518
+ ---------------------------
5519
+ TableTest: test_primary_key
5520
+ ---------------------------
5521
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5522
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5523
+ ----------------------
5524
+ TableTest: test_delete
5525
+ ----------------------
5526
+ User Delete All (0.0ms) DELETE FROM "users"
5527
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5528
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:20:36.775609"], ["updated_at", "2025-04-01 16:20:36.775609"]]
5529
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5530
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5531
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:20:36.775995"], ["updated_at", "2025-04-01 16:20:36.775995"]]
5532
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5533
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5534
+  (0.0ms) DELETE FROM users WHERE id = 1;
5535
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5536
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
5537
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
5538
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5539
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5540
+ -------------------------------------------------------------------------------------------------------------------------
5541
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
5542
+ -------------------------------------------------------------------------------------------------------------------------
5543
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5544
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5545
+ ------------------------------------------------------------------------------------------------------------------------------------
5546
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
5547
+ ------------------------------------------------------------------------------------------------------------------------------------
5548
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5549
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5550
+ ----------------------------------------------------------------------------------------------------------------------------------
5551
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
5552
+ ----------------------------------------------------------------------------------------------------------------------------------
5553
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5554
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5555
+ ----------------------------------------------------------------------------------------------------------------------------
5556
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
5557
+ ----------------------------------------------------------------------------------------------------------------------------
5558
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5559
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5560
+ -----------------------------------------------------------------------------------------------------------------------------------------
5561
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
5562
+ -----------------------------------------------------------------------------------------------------------------------------------------
5563
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5564
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5565
+ ------------------------------------
5566
+ RailsDbTest: test_verify_access_proc
5567
+ ------------------------------------
5568
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5569
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5570
+ -----------------------
5571
+ RailsDbTest: test_truth
5572
+ -----------------------
5573
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5574
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5575
+ --------------------------
5576
+ SqlImportTest: test_import
5577
+ --------------------------
5578
+  (0.0ms) update users set age = 11 where id = 1
5579
+  (0.0ms) update users set age = 22 where id = 2
5580
+  (0.0ms) update users set age = 33 where id = 3
5581
+  (0.0ms) 
5582
+ DROP TABLE IF EXISTS t
5583
+  (0.0ms) 
5584
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
5585
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5586
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5587
+ --------------------------------------------------------------------
5588
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
5589
+ --------------------------------------------------------------------
5590
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5591
+ User Create (0.2ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 16:20:36.785856"], ["updated_at", "2025-04-01 16:20:36.785856"]]
5592
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5593
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
5594
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.5ms | GC: 0.0ms)
5595
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5596
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5597
+ ----------------------------------------------------------
5598
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
5599
+ ----------------------------------------------------------
5600
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5601
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:20:36.810037"], ["updated_at", "2025-04-01 16:20:36.810037"]]
5602
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5603
+ SQL (0.0ms) SELECT * FROM users
5604
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.0ms)
5605
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5606
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5607
+ --------------------------------------------------------------
5608
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
5609
+ --------------------------------------------------------------
5610
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5611
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:20:36.811875"], ["updated_at", "2025-04-01 16:20:36.811875"]]
5612
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5613
+ SQL (0.0ms) select * from users
5614
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
5615
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5616
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5617
+ ------------------------------------------------------------------------
5618
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
5619
+ ------------------------------------------------------------------------
5620
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5621
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:20:36.813299"], ["updated_at", "2025-04-01 16:20:36.813299"]]
5622
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5623
+ SQL (0.0ms) select * from users
5624
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
5625
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5626
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5627
+ ----------------------------------------------
5628
+ DashboardControllerTest: test_should_get_index
5629
+ ----------------------------------------------
5630
+ User Delete All (0.0ms) DELETE FROM "users"
5631
+ Account Delete All (0.0ms) DELETE FROM "accounts"
5632
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
5633
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5634
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:20:36.837909"], ["updated_at", "2025-04-01 16:20:36.837909"]]
5635
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5636
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5637
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:20:36.838233"], ["updated_at", "2025-04-01 16:20:36.838233"]]
5638
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5639
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5640
+ Customer Create (0.1ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2025-04-01 16:20:36.839677"], ["updated_at", "2025-04-01 16:20:36.839677"], ["type", "Customer"]]
5641
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5642
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5643
+ Processing by RailsDb::DashboardController#index as HTML
5644
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5645
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
5646
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 26.8ms | GC: 18.2ms)
5647
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | GC: 0.0ms)
5648
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
5649
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
5650
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
5651
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 33.6ms | GC: 18.2ms)
5652
+ Completed 200 OK in 37ms (Views: 35.0ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 18.3ms)
5653
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5654
+ Processing by RailsDb::TablesController#show as HTML
5655
+ Parameters: {"id"=>"users"}
5656
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5657
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
5658
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
5659
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.2ms | GC: 0.0ms)
5660
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 4.4ms | GC: 0.0ms)
5661
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5662
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5663
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5664
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5665
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.3ms | GC: 0.0ms)
5666
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 1.0ms (0 queries, 0 cached) | GC: 0.0ms)
5667
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5668
+ Processing by RailsDb::TablesController#data as HTML
5669
+ Parameters: {"table_id"=>"users"}
5670
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5671
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5672
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
5673
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5674
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.6ms | GC: 0.0ms)
5675
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.9ms | GC: 0.0ms)
5676
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
5677
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.1ms)
5678
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
5679
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
5680
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5681
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5682
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
5683
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 26.3ms | GC: 3.2ms)
5684
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 26.6ms | GC: 3.2ms)
5685
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5686
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5687
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5688
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5689
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 27.4ms | GC: 3.2ms)
5690
+ Completed 200 OK in 29ms (Views: 26.7ms | ActiveRecord: 0.8ms (4 queries, 2 cached) | GC: 3.2ms)
5691
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5692
+ Processing by RailsDb::SqlController#index as HTML
5693
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5694
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
5695
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5696
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | GC: 0.0ms)
5697
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.0ms | GC: 0.1ms)
5698
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5699
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5700
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5701
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5702
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.6ms | GC: 0.1ms)
5703
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.1ms)
5704
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5705
+ Processing by RailsDb::SqlController#import as HTML
5706
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5707
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
5708
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.2ms | GC: 0.1ms)
5709
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 0.5ms | GC: 0.1ms)
5710
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5711
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
5712
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5713
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5714
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.1ms)
5715
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.1ms)
5716
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5717
+ Processing by RailsDb::DashboardController#data_table as HTML
5718
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5719
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
5720
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.6ms | GC: 0.0ms)
5721
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5722
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5723
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5724
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5725
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
5726
+ Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
5727
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5728
+ Processing by RailsDb::TablesController#data as HTML
5729
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
5730
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5731
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5732
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
5733
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5734
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.6ms | GC: 0.0ms)
5735
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.0ms | GC: 2.3ms)
5736
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
5737
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
5738
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
5739
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.1ms)
5740
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5741
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5742
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
5743
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 22.0ms | GC: 2.7ms)
5744
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 22.0ms | GC: 2.7ms)
5745
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5746
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5747
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5748
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5749
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 22.8ms | GC: 2.7ms)
5750
+ Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 2.7ms)
5751
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5752
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5753
+ Processing by RailsDb::TablesController#destroy as HTML
5754
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
5755
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5756
+  (0.0ms) DELETE FROM users WHERE id = '1';
5757
+ Redirected to http://www.example.com/rails/db/tables/users/data
5758
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
5759
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5760
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5761
+ Processing by RailsDb::TablesController#csv as HTML
5762
+ Parameters: {"table_id"=>"users"}
5763
+ SQL (0.0ms) SELECT * FROM users
5764
+ Rendering text template
5765
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
5766
+ Sent data users.csv (0.5ms)
5767
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
5768
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5769
+ Processing by RailsDb::DashboardController#standalone as HTML
5770
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5771
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
5772
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.8ms | GC: 0.0ms)
5773
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5774
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5775
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5776
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5777
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
5778
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
5779
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5780
+ Processing by RailsDb::SqlController#index as HTML
5781
+ Parameters: {"sql"=>"select * from users limit 10"}
5782
+ SQL (0.0ms) select * from users limit 10
5783
+ SQL (0.0ms) EXPLAIN select * from users limit 10
5784
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5785
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
5786
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5787
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
5788
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
5789
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.8ms | GC: 0.0ms)
5790
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.4ms | GC: 0.0ms)
5791
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5792
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5793
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5794
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5795
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.2ms | GC: 0.0ms)
5796
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
5797
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5798
+ Processing by RailsDb::SqlController#csv as CSV
5799
+ Parameters: {"sql"=>"select * from users limit 10"}
5800
+ SQL (0.0ms) select * from users limit 10
5801
+ SQL (0.0ms) EXPLAIN select * from users limit 10
5802
+ Rendering text template
5803
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
5804
+ Sent data results.csv (0.1ms)
5805
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
5806
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5807
+ Processing by RailsDb::SqlController#xls as XLS
5808
+ Parameters: {"sql"=>"select * from users limit 10"}
5809
+ SQL (0.0ms) select * from users limit 10
5810
+ SQL (0.0ms) EXPLAIN select * from users limit 10
5811
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
5812
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.1ms | GC: 0.0ms)
5813
+ Rendering text template
5814
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
5815
+ Sent data results.xlsx (0.1ms)
5816
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
5817
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5818
+ Processing by RailsDb::TablesController#edit as JS
5819
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
5820
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5821
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
5822
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
5823
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 8.1ms | GC: 0.4ms)
5824
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 8.9ms | GC: 0.4ms)
5825
+ Completed 200 OK in 14ms (Views: 8.6ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 3.0ms)
5826
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5827
+ Processing by RailsDb::TablesController#update as JS
5828
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
5829
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5830
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
5831
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5832
+ #<Class:0x000000013aa90980> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 16:20:36.997136"], ["id", 2]]
5833
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5834
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
5835
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
5836
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.1ms | GC: 0.0ms)
5837
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.1ms)
5838
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
5839
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 13:20:36 -0300
5840
+ Processing by RailsDb::TablesController#new as JS
5841
+ Parameters: {"table_id"=>"users"}
5842
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5843
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
5844
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.3ms | GC: 0.0ms)
5845
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.7ms | GC: 0.0ms)
5846
+ Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.5ms (1 query, 0 cached) | GC: 0.3ms)
5847
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5848
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 13:20:37 -0300
5849
+ Processing by RailsDb::TablesController#create as JS
5850
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
5851
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5852
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5853
+ #<Class:0x000000012f0c2c60> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 16:20:37.006838"], ["updated_at", "2025-04-01 16:20:37.006838"]]
5854
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5855
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
5856
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5857
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.7ms | GC: 2.1ms)
5858
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.1ms | GC: 0.6ms)
5859
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
5860
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.1ms)
5861
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
5862
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
5863
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5864
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
5865
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
5866
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 20.6ms | GC: 3.0ms)
5867
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 21.2ms | GC: 3.0ms)
5868
+ Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.7ms (5 queries, 1 cached) | GC: 3.0ms)
5869
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
5870
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 13:20:37 -0300
5871
+ Processing by RailsDb::TablesController#edit as JS
5872
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
5873
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5874
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
5875
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
5876
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.1ms | GC: 0.0ms)
5877
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.6ms | GC: 0.0ms)
5878
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
5879
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 13:20:37 -0300
5880
+ Processing by RailsDb::TablesController#update as JS
5881
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
5882
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
5883
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
5884
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5885
+ #<Class:0x000000013a8362c0> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 16:20:37.037607"], ["id", 3]]
5886
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5887
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
5888
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
5889
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.0ms | GC: 0.0ms)
5890
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
5891
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
5892
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 13:20:37 -0300
5893
+ Processing by RailsDb::DashboardController#index as HTML
5894
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5895
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
5896
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.0ms | GC: 0.0ms)
5897
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5898
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.9ms | GC: 1.6ms)
5899
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5900
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5901
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 2.6ms | GC: 1.6ms)
5902
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 1.6ms)
5903
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 13:20:37 -0300
5904
+ Processing by RailsDb::SqlController#index as HTML
5905
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
5906
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
5907
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
5908
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
5909
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.8ms | GC: 0.4ms)
5910
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
5911
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
5912
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
5913
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
5914
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.6ms | GC: 0.4ms)
5915
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.7ms (0 queries, 0 cached) | GC: 0.4ms)
5916
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5917
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5918
+ -------------------------
5919
+ DatabaseTest: test_tables
5920
+ -------------------------
5921
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5922
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5923
+ --------------------------
5924
+ DatabaseTest: test_adapter
5925
+ --------------------------
5926
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5927
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5928
+ ------------------------------------
5929
+ DatabaseTest: test_accessible_tables
5930
+ ------------------------------------
5931
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5932
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5933
+ ------------------------
5934
+ DatabaseTest: test_query
5935
+ ------------------------
5936
+ User Delete All (0.0ms) DELETE FROM "users"
5937
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5938
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:20:37.049093"], ["updated_at", "2025-04-01 16:20:37.049093"]]
5939
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5940
+ SQL (0.0ms) select count(*) as users_count from users
5941
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
5942
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5943
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5944
+ -------------------------
5945
+ DatabaseTest: test_insert
5946
+ -------------------------
5947
+ SQL (0.0ms) delete from projects_users
5948
+ SQL (0.0ms) EXPLAIN delete from projects_users
5949
+ User Delete All (0.0ms) DELETE FROM "users"
5950
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5951
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
5952
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
5953
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5954
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION