rails8_db 0.0.5 → 0.0.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ace73d5bc2fbe324d0a01e20f7b17f0e1b2b013eceb1c4d1b7cb0d2f75951c08
4
- data.tar.gz: 1cb8959eb6c52f56c7e70736a1c84199c5bce3eb91e97162c29c3f639568dfd6
3
+ metadata.gz: 9a30781769bfb5e68dd691e10a8dbd4dd1470388fd9b8b567788bbc7ababb3a2
4
+ data.tar.gz: 24fe57f5de487357081107e509498a784d30e62f6f0fd41396db7cb12c3f7104
5
5
  SHA512:
6
- metadata.gz: 92b050f5fbf4ecc857e14b09046e59fec332776bc7b45a4de85013093d31d6cef3a6fe72c97b3137c0bff2f73a63071f1644a9dbbe3a67d425763894b60547b6
7
- data.tar.gz: 31e77d3b4d3bed47360cadcdddf33ae71e23eaec274e36679ba995fee5f417ace0ecf9a9cfd93af52fa0463e4db748812b18337c6d4be2f952ecf4986860af4b
6
+ metadata.gz: a58fb620065a8cd753cebbf60cc9b0b62497d5cfbdad9dcb40db735ecfeadf5f1ff159fd84e8ac94e02a182248bfd254043ba89ebdbd172241963236be86cf2a
7
+ data.tar.gz: aceb805590f1297f43ffdb493c65dfd3b8ef6fc805f2920aaa4fb56d8b1ffd5e37a8abeba1fd206b5f894dedf652280caf797ce7d15210e529b9cc592f3e8943
@@ -4,7 +4,9 @@
4
4
  <title><%= [yield(:title), 'Rails DB'].reject(&:blank?).join(' - ') %></title>
5
5
  <%= stylesheet_link_tag "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css" %>
6
6
  <%= stylesheet_link_tag "rails_db/application" %>
7
-
7
+ <% unless ENV["RAILS_ENV"] == "test" %>
8
+ <%= javascript_include_tag "rails_db/application" %>
9
+ <% end %>
8
10
 
9
11
  <%= csrf_meta_tags %>
10
12
 
data/lib/debuggers.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  class Debuggers
2
2
  class << self
3
3
  def print(msg)
4
- silent = false
4
+ silent = true
5
5
  puts msg unless silent
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module RailsDb
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -45712,3 +45712,497 @@ RailsDbTest: test_verify_access_proc
45712
45712
  RailsDbTest: test_truth
45713
45713
  -----------------------
45714
45714
  TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45715
+ 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"]]
45716
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
45717
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45718
+ ----------------------------------------------------------------------------------------------------------------------------
45719
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
45720
+ ----------------------------------------------------------------------------------------------------------------------------
45721
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45722
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45723
+ -----------------------------------------------------------------------------------------------------------------------------------------
45724
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
45725
+ -----------------------------------------------------------------------------------------------------------------------------------------
45726
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45727
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45728
+ ----------------------------------------------------------------------------------------------------------------------------------
45729
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
45730
+ ----------------------------------------------------------------------------------------------------------------------------------
45731
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45732
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45733
+ ------------------------------------------------------------------------------------------------------------------------------------
45734
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
45735
+ ------------------------------------------------------------------------------------------------------------------------------------
45736
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45737
+ TRANSACTION (0.1ms) BEGIN deferred TRANSACTION
45738
+ -------------------------------------------------------------------------------------------------------------------------
45739
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
45740
+ -------------------------------------------------------------------------------------------------------------------------
45741
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45742
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45743
+ --------------------------
45744
+ SqlImportTest: test_import
45745
+ --------------------------
45746
+  (0.3ms) update users set age = 11 where id = 1
45747
+  (0.0ms) update users set age = 22 where id = 2
45748
+  (0.0ms) update users set age = 33 where id = 3
45749
+  (0.0ms) 
45750
+ DROP TABLE IF EXISTS t
45751
+  (0.1ms) 
45752
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
45753
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45754
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45755
+ ------------------------------------------------------------------------
45756
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
45757
+ ------------------------------------------------------------------------
45758
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45759
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 02:14:18.891667"], ["updated_at", "2025-04-01 02:14:18.891667"]]
45760
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45761
+ SQL (0.0ms) select * from users
45762
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
45763
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45764
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45765
+ ----------------------------------------------------------
45766
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
45767
+ ----------------------------------------------------------
45768
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45769
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 02:14:18.914333"], ["updated_at", "2025-04-01 02:14:18.914333"]]
45770
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45771
+ SQL (0.0ms) SELECT * FROM users
45772
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.0ms | GC: 0.0ms)
45773
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45774
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45775
+ --------------------------------------------------------------
45776
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
45777
+ --------------------------------------------------------------
45778
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45779
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 02:14:18.917073"], ["updated_at", "2025-04-01 02:14:18.917073"]]
45780
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45781
+ SQL (0.0ms) select * from users
45782
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
45783
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45784
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45785
+ --------------------------------------------------------------------
45786
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
45787
+ --------------------------------------------------------------------
45788
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45789
+ 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 02:14:18.921431"], ["updated_at", "2025-04-01 02:14:18.921431"]]
45790
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45791
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
45792
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.1ms | GC: 0.0ms)
45793
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45794
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
45795
+ ----------------------------------------------
45796
+ DashboardControllerTest: test_should_get_index
45797
+ ----------------------------------------------
45798
+ User Delete All (0.1ms) DELETE FROM "users"
45799
+ Account Delete All (0.0ms) DELETE FROM "accounts"
45800
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
45801
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45802
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 02:14:18.947683"], ["updated_at", "2025-04-01 02:14:18.947683"]]
45803
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45804
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45805
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 02:14:18.948104"], ["updated_at", "2025-04-01 02:14:18.948104"]]
45806
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45807
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
45808
+ 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 02:14:18.949562"], ["updated_at", "2025-04-01 02:14:18.949562"], ["type", "Customer"]]
45809
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
45810
+ Started GET "/rails/db" for 127.0.0.1 at 2025-03-31 23:14:18 -0300
45811
+ Processing by RailsDb::DashboardController#index as HTML
45812
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45813
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
45814
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 19.9ms | GC: 14.6ms)
45815
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.6ms | GC: 0.0ms)
45816
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | GC: 0.0ms)
45817
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
45818
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
45819
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 26.3ms | GC: 14.6ms)
45820
+ Completed 200 OK in 32ms (Views: 29.0ms | ActiveRecord: 0.2ms (0 queries, 0 cached) | GC: 17.3ms)
45821
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-03-31 23:14:18 -0300
45822
+ Processing by RailsDb::TablesController#show as HTML
45823
+ Parameters: {"id"=>"users"}
45824
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45825
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
45826
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
45827
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.1ms | GC: 0.0ms)
45828
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 4.3ms | GC: 0.0ms)
45829
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45830
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45831
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45832
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.3ms | GC: 0.0ms)
45833
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.2ms | GC: 0.0ms)
45834
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 1.0ms (0 queries, 0 cached) | GC: 0.0ms)
45835
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45836
+ Processing by RailsDb::TablesController#data as HTML
45837
+ Parameters: {"table_id"=>"users"}
45838
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
45839
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45840
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
45841
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
45842
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.5ms | GC: 0.0ms)
45843
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.5ms | GC: 0.0ms)
45844
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
45845
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | GC: 0.2ms)
45846
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
45847
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
45848
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
45849
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
45850
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
45851
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 25.6ms | GC: 3.5ms)
45852
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 25.9ms | GC: 3.5ms)
45853
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45854
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45855
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45856
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45857
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 26.7ms | GC: 3.5ms)
45858
+ Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 3.5ms)
45859
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45860
+ Processing by RailsDb::SqlController#index as HTML
45861
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45862
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
45863
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
45864
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | GC: 0.0ms)
45865
+ 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)
45866
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45867
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45868
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45869
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45870
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.6ms | GC: 0.1ms)
45871
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.1ms)
45872
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45873
+ Processing by RailsDb::SqlController#import as HTML
45874
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45875
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
45876
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
45877
+ 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.0ms)
45878
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.4ms | GC: 0.2ms)
45879
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
45880
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45881
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45882
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.2ms)
45883
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
45884
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45885
+ Processing by RailsDb::DashboardController#data_table as HTML
45886
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45887
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
45888
+ 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)
45889
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45890
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45891
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45892
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45893
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
45894
+ Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
45895
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45896
+ Processing by RailsDb::TablesController#data as HTML
45897
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
45898
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
45899
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45900
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
45901
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
45902
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.5ms | GC: 0.0ms)
45903
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.9ms | GC: 2.4ms)
45904
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
45905
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
45906
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
45907
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
45908
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
45909
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
45910
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
45911
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.1ms | GC: 2.9ms)
45912
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 21.2ms | GC: 2.9ms)
45913
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45914
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45915
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45916
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45917
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 21.9ms | GC: 2.9ms)
45918
+ Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.6ms (4 queries, 2 cached) | GC: 2.9ms)
45919
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
45920
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45921
+ Processing by RailsDb::TablesController#destroy as HTML
45922
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
45923
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
45924
+  (0.0ms) DELETE FROM users WHERE id = '1';
45925
+ Redirected to http://www.example.com/rails/db/tables/users/data
45926
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
45927
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
45928
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45929
+ Processing by RailsDb::TablesController#csv as HTML
45930
+ Parameters: {"table_id"=>"users"}
45931
+ SQL (0.0ms) SELECT * FROM users
45932
+ Rendering text template
45933
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
45934
+ Sent data users.csv (0.5ms)
45935
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.1ms)
45936
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45937
+ Processing by RailsDb::DashboardController#standalone as HTML
45938
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45939
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
45940
+ 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)
45941
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45942
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45943
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45944
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45945
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
45946
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
45947
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45948
+ Processing by RailsDb::SqlController#index as HTML
45949
+ Parameters: {"sql"=>"select * from users limit 10"}
45950
+ SQL (0.0ms) select * from users limit 10
45951
+ SQL (0.0ms) EXPLAIN select * from users limit 10
45952
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
45953
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
45954
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
45955
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
45956
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
45957
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.6ms | GC: 0.0ms)
45958
+ 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)
45959
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
45960
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
45961
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
45962
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
45963
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.9ms | GC: 0.0ms)
45964
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
45965
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45966
+ Processing by RailsDb::SqlController#csv as CSV
45967
+ Parameters: {"sql"=>"select * from users limit 10"}
45968
+ SQL (0.0ms) select * from users limit 10
45969
+ SQL (0.0ms) EXPLAIN select * from users limit 10
45970
+ Rendering text template
45971
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
45972
+ Sent data results.csv (0.1ms)
45973
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
45974
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45975
+ Processing by RailsDb::SqlController#xls as XLS
45976
+ Parameters: {"sql"=>"select * from users limit 10"}
45977
+ SQL (0.0ms) select * from users limit 10
45978
+ SQL (0.0ms) EXPLAIN select * from users limit 10
45979
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
45980
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 10.1ms | GC: 0.0ms)
45981
+ Rendering text template
45982
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
45983
+ Sent data results.xlsx (0.1ms)
45984
+ Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
45985
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45986
+ Processing by RailsDb::TablesController#edit as JS
45987
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
45988
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
45989
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
45990
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
45991
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 7.6ms | GC: 0.4ms)
45992
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 8.4ms | GC: 0.4ms)
45993
+ Completed 200 OK in 13ms (Views: 8.2ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 2.9ms)
45994
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
45995
+ Processing by RailsDb::TablesController#update as JS
45996
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
45997
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
45998
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
45999
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46000
+ #<Class:0x00000001235d4070> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 02:14:19.108014"], ["id", 2]]
46001
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46002
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
46003
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.2ms | GC: 0.1ms)
46004
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.6ms | GC: 0.1ms)
46005
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms (3 queries, 0 cached) | GC: 0.2ms)
46006
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
46007
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
46008
+ Processing by RailsDb::TablesController#new as JS
46009
+ Parameters: {"table_id"=>"users"}
46010
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46011
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
46012
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.5ms | GC: 0.2ms)
46013
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.9ms | GC: 0.2ms)
46014
+ Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.5ms (1 query, 0 cached) | GC: 0.3ms)
46015
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
46016
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
46017
+ Processing by RailsDb::TablesController#create as JS
46018
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
46019
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46020
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46021
+ #<Class:0x00000001237d9578> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 02:14:19.118654"], ["updated_at", "2025-04-01 02:14:19.118654"]]
46022
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46023
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
46024
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
46025
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.5ms | GC: 0.0ms)
46026
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.6ms | GC: 2.9ms)
46027
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
46028
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
46029
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
46030
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
46031
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46032
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
46033
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
46034
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.1ms | GC: 3.6ms)
46035
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 21.7ms | GC: 3.6ms)
46036
+ Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 0.7ms (5 queries, 1 cached) | GC: 3.6ms)
46037
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
46038
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
46039
+ Processing by RailsDb::TablesController#edit as JS
46040
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
46041
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46042
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
46043
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
46044
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.2ms | GC: 0.1ms)
46045
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.6ms | GC: 0.1ms)
46046
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.2ms)
46047
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
46048
+ Processing by RailsDb::TablesController#update as JS
46049
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
46050
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46051
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
46052
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46053
+ #<Class:0x00000001237182b0> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 02:14:19.149844"], ["id", 3]]
46054
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46055
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
46056
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
46057
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 0.9ms | GC: 0.0ms)
46058
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
46059
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
46060
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
46061
+ Processing by RailsDb::DashboardController#index as HTML
46062
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
46063
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
46064
+ 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)
46065
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
46066
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
46067
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
46068
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
46069
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.0ms | GC: 0.0ms)
46070
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
46071
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-03-31 23:14:19 -0300
46072
+ Processing by RailsDb::SqlController#index as HTML
46073
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
46074
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
46075
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
46076
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
46077
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.8ms | GC: 1.5ms)
46078
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
46079
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
46080
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
46081
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
46082
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.6ms | GC: 1.5ms)
46083
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 1.5ms)
46084
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46085
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46086
+ ------------------------
46087
+ DatabaseTest: test_query
46088
+ ------------------------
46089
+ User Delete All (0.0ms) DELETE FROM "users"
46090
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46091
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 02:14:19.159337"], ["updated_at", "2025-04-01 02:14:19.159337"]]
46092
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46093
+ SQL (0.0ms) select count(*) as users_count from users
46094
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
46095
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46096
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46097
+ -------------------------
46098
+ DatabaseTest: test_insert
46099
+ -------------------------
46100
+ SQL (0.2ms) delete from projects_users
46101
+ SQL (0.0ms) EXPLAIN delete from projects_users
46102
+ User Delete All (0.0ms) DELETE FROM "users"
46103
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
46104
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
46105
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
46106
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
46107
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46108
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46109
+ ------------------------------------
46110
+ DatabaseTest: test_accessible_tables
46111
+ ------------------------------------
46112
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46113
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46114
+ --------------------------
46115
+ DatabaseTest: test_adapter
46116
+ --------------------------
46117
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46118
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46119
+ -------------------------
46120
+ DatabaseTest: test_tables
46121
+ -------------------------
46122
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46123
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46124
+ -----------------------
46125
+ RailsDbTest: test_truth
46126
+ -----------------------
46127
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46128
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46129
+ ------------------------------------
46130
+ RailsDbTest: test_verify_access_proc
46131
+ ------------------------------------
46132
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46133
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46134
+ -----------------------
46135
+ TableTest: test_columns
46136
+ -----------------------
46137
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46138
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46139
+ ------------------------
46140
+ TableTest: test_as_table
46141
+ ------------------------
46142
+ User Delete All (0.0ms) DELETE FROM "users"
46143
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46144
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 02:14:19.164997"], ["updated_at", "2025-04-01 02:14:19.164997"]]
46145
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46146
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46147
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
46148
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46149
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46150
+ ---------------------------
46151
+ TableTest: test_primary_key
46152
+ ---------------------------
46153
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46154
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46155
+ ----------------------
46156
+ TableTest: test_delete
46157
+ ----------------------
46158
+ User Delete All (0.0ms) DELETE FROM "users"
46159
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46160
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 02:14:19.168254"], ["updated_at", "2025-04-01 02:14:19.168254"]]
46161
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46162
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46163
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 02:14:19.168651"], ["updated_at", "2025-04-01 02:14:19.168651"]]
46164
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46165
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
46166
+  (0.0ms) DELETE FROM users WHERE id = 1;
46167
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
46168
+ User Count (0.3ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
46169
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
46170
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46171
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46172
+ ------------------------
46173
+ TableTest: test_truncate
46174
+ ------------------------
46175
+ User Delete All (0.0ms) DELETE FROM "users"
46176
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46177
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 02:14:19.170156"], ["updated_at", "2025-04-01 02:14:19.170156"]]
46178
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46179
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
46180
+  (0.0ms) DELETE FROM users;
46181
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
46182
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46183
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46184
+ ----------------------
46185
+ TableTest: test_to_csv
46186
+ ----------------------
46187
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46188
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 02:14:19.171001"], ["updated_at", "2025-04-01 02:14:19.171001"]]
46189
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46190
+ SQL (0.0ms) SELECT * FROM users
46191
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
46192
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46193
+ -----------------------
46194
+ TableTest: test_ransack
46195
+ -----------------------
46196
+ User Delete All (0.0ms) DELETE FROM "users"
46197
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46198
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 02:14:19.172032"], ["updated_at", "2025-04-01 02:14:19.172032"]]
46199
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46200
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46201
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 02:14:19.172368"], ["updated_at", "2025-04-01 02:14:19.172368"]]
46202
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46203
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
46204
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 02:14:19.172617"], ["updated_at", "2025-04-01 02:14:19.172617"]]
46205
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
46206
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
46207
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
46208
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails8_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Silveira