rails8_db 0.0.14 → 0.0.15

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: 35dc6bd2209042247c9ee8e4640715d4ae81c1f20735b3c26b8b607f0441e803
4
- data.tar.gz: 0be23991d32463e28e270ac40d1c7b94932b9eeb32308a37a125d02c86956f20
3
+ metadata.gz: c687a3545cb0d079b6e451e4bd683121bc503090f1c26f553682abcac257e507
4
+ data.tar.gz: aee35bcea6d15dae659983662cc25de834c6225a36f90aff4eeb30e8c849db3b
5
5
  SHA512:
6
- metadata.gz: a7a206b6cc8fc69a8271b5714fc6ccd91ddd0ee1145a0f2658bdc5a3c61d51dfbf4e94b3bc139ffe5195de759a314613fa870bfd679fc803c060a9260ef10ceb
7
- data.tar.gz: 696745c09274d7d22018f184bf37ddfa6da2738c85fcf709d3adf78620c99d18a22f0e295cf1bc75f97051bf2d84b229a290f602207a3d35fd094b45647197a9
6
+ metadata.gz: 5067a6125771f2b9670cc76412955805bda470128373c374d33cae5711bee79ae57e83d132b832a032718f8e020f1c2358443067a5aedc6ef41d1bf38599fe69
7
+ data.tar.gz: 58f399b595b8fbd7d6b785ff2979d63425abf11947b7db118390f0270b459eddf66904724768e1b86e152676697e362ecbb18a184026e7f024ef0c15c4680d4e
@@ -4,6 +4,19 @@
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
+ <%= javascript_include_tag(
8
+ "codemirror/codemirror.js",
9
+ "codemirror/modes/sql.js",
10
+ "codemirror/addons/hint/show-hint.js",
11
+ "codemirror/addons/hint/sql-hint.js",
12
+ "rails_db/jquery.js",
13
+ "rails_db/jquery.cookie.js",
14
+ "rails_db/rails-ujs.js",
15
+ "rails_db/foundation.min.js",
16
+ "rails_db/sticky.js",
17
+ "rails_db/show_hide_columns.js",
18
+ "rails_db/search.js"
19
+ ) %>
7
20
  <%= javascript_include_tag "rails_db/application" %>
8
21
 
9
22
  <%= csrf_meta_tags %>
@@ -1,3 +1,3 @@
1
1
  module RailsDb
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -5952,3 +5952,497 @@ DatabaseTest: test_insert
5952
5952
  SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
5953
5953
  SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5954
5954
  TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5955
+ 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"]]
5956
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5957
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5958
+ ------------------------------------
5959
+ RailsDbTest: test_verify_access_proc
5960
+ ------------------------------------
5961
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5962
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5963
+ -----------------------
5964
+ RailsDbTest: test_truth
5965
+ -----------------------
5966
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5967
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5968
+ ------------------------
5969
+ DatabaseTest: test_query
5970
+ ------------------------
5971
+ User Delete All (0.0ms) DELETE FROM "users"
5972
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5973
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:25:00.463048"], ["updated_at", "2025-04-01 16:25:00.463048"]]
5974
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5975
+ SQL (0.0ms) select count(*) as users_count from users
5976
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
5977
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5978
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5979
+ ------------------------------------
5980
+ DatabaseTest: test_accessible_tables
5981
+ ------------------------------------
5982
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5983
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5984
+ --------------------------
5985
+ DatabaseTest: test_adapter
5986
+ --------------------------
5987
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
5988
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
5989
+ -------------------------
5990
+ DatabaseTest: test_insert
5991
+ -------------------------
5992
+ SQL (0.0ms) delete from projects_users
5993
+ SQL (0.0ms) EXPLAIN delete from projects_users
5994
+ User Delete All (0.0ms) DELETE FROM "users"
5995
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5996
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
5997
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
5998
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
5999
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6000
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6001
+ -------------------------
6002
+ DatabaseTest: test_tables
6003
+ -------------------------
6004
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6005
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6006
+ --------------------------------------------------------------------
6007
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
6008
+ --------------------------------------------------------------------
6009
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6010
+ 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:25:00.469209"], ["updated_at", "2025-04-01 16:25:00.469209"]]
6011
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6012
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
6013
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.5ms | GC: 0.0ms)
6014
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6015
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6016
+ ----------------------------------------------------------
6017
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
6018
+ ----------------------------------------------------------
6019
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6020
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:25:00.491935"], ["updated_at", "2025-04-01 16:25:00.491935"]]
6021
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6022
+ SQL (0.0ms) SELECT * FROM users
6023
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.8ms | GC: 0.0ms)
6024
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6025
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6026
+ ------------------------------------------------------------------------
6027
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
6028
+ ------------------------------------------------------------------------
6029
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6030
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:25:00.497658"], ["updated_at", "2025-04-01 16:25:00.497658"]]
6031
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6032
+ SQL (0.0ms) select * from users
6033
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
6034
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6035
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6036
+ --------------------------------------------------------------
6037
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
6038
+ --------------------------------------------------------------
6039
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6040
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:25:00.499294"], ["updated_at", "2025-04-01 16:25:00.499294"]]
6041
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6042
+ SQL (0.1ms) select * from users
6043
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
6044
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6045
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6046
+ --------------------------
6047
+ SqlImportTest: test_import
6048
+ --------------------------
6049
+  (0.0ms) update users set age = 11 where id = 1
6050
+  (0.0ms) update users set age = 22 where id = 2
6051
+  (0.0ms) update users set age = 33 where id = 3
6052
+  (0.0ms) 
6053
+ DROP TABLE IF EXISTS t
6054
+  (0.0ms) 
6055
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
6056
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6057
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6058
+ ------------------------
6059
+ TableTest: test_as_table
6060
+ ------------------------
6061
+ User Delete All (0.0ms) DELETE FROM "users"
6062
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6063
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:25:00.502508"], ["updated_at", "2025-04-01 16:25:00.502508"]]
6064
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6065
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6066
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
6067
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6068
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6069
+ ------------------------
6070
+ TableTest: test_truncate
6071
+ ------------------------
6072
+ User Delete All (0.0ms) DELETE FROM "users"
6073
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6074
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:25:00.505589"], ["updated_at", "2025-04-01 16:25:00.505589"]]
6075
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6076
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6077
+  (0.0ms) DELETE FROM users;
6078
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6079
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6080
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6081
+ ----------------------
6082
+ TableTest: test_to_csv
6083
+ ----------------------
6084
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6085
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:25:00.506636"], ["updated_at", "2025-04-01 16:25:00.506636"]]
6086
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6087
+ SQL (0.0ms) SELECT * FROM users
6088
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6089
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6090
+ ---------------------------
6091
+ TableTest: test_primary_key
6092
+ ---------------------------
6093
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6094
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6095
+ ----------------------
6096
+ TableTest: test_delete
6097
+ ----------------------
6098
+ User Delete All (0.0ms) DELETE FROM "users"
6099
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6100
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 16:25:00.508614"], ["updated_at", "2025-04-01 16:25:00.508614"]]
6101
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
6102
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6103
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 16:25:00.509081"], ["updated_at", "2025-04-01 16:25:00.509081"]]
6104
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6105
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6106
+  (0.0ms) DELETE FROM users WHERE id = 1;
6107
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6108
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
6109
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
6110
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6111
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6112
+ -----------------------
6113
+ TableTest: test_columns
6114
+ -----------------------
6115
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6116
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6117
+ -----------------------
6118
+ TableTest: test_ransack
6119
+ -----------------------
6120
+ User Delete All (0.0ms) DELETE FROM "users"
6121
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6122
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 16:25:00.512827"], ["updated_at", "2025-04-01 16:25:00.512827"]]
6123
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6124
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6125
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 16:25:00.513227"], ["updated_at", "2025-04-01 16:25:00.513227"]]
6126
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6127
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6128
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 16:25:00.513524"], ["updated_at", "2025-04-01 16:25:00.513524"]]
6129
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6130
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6131
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
6132
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6133
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6134
+ ----------------------------------------------------------------------------------------------------------------------------
6135
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
6136
+ ----------------------------------------------------------------------------------------------------------------------------
6137
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6138
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6139
+ ----------------------------------------------------------------------------------------------------------------------------------
6140
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
6141
+ ----------------------------------------------------------------------------------------------------------------------------------
6142
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6143
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6144
+ ------------------------------------------------------------------------------------------------------------------------------------
6145
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
6146
+ ------------------------------------------------------------------------------------------------------------------------------------
6147
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6148
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6149
+ -----------------------------------------------------------------------------------------------------------------------------------------
6150
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
6151
+ -----------------------------------------------------------------------------------------------------------------------------------------
6152
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6153
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6154
+ -------------------------------------------------------------------------------------------------------------------------
6155
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
6156
+ -------------------------------------------------------------------------------------------------------------------------
6157
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
6158
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
6159
+ ----------------------------------------------
6160
+ DashboardControllerTest: test_should_get_index
6161
+ ----------------------------------------------
6162
+ User Delete All (0.1ms) DELETE FROM "users"
6163
+ Account Delete All (0.0ms) DELETE FROM "accounts"
6164
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
6165
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6166
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 16:25:00.546722"], ["updated_at", "2025-04-01 16:25:00.546722"]]
6167
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6168
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6169
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 16:25:00.547252"], ["updated_at", "2025-04-01 16:25:00.547252"]]
6170
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6171
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6172
+ 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:25:00.548779"], ["updated_at", "2025-04-01 16:25:00.548779"], ["type", "Customer"]]
6173
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6174
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6175
+ Processing by RailsDb::DashboardController#index as HTML
6176
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6177
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
6178
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 26.7ms | GC: 18.0ms)
6179
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.5ms | GC: 0.0ms)
6180
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
6181
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
6182
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
6183
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 36.6ms | GC: 18.0ms)
6184
+ Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 18.1ms)
6185
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6186
+ Processing by RailsDb::TablesController#show as HTML
6187
+ Parameters: {"id"=>"users"}
6188
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6189
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
6190
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
6191
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.2ms | GC: 0.0ms)
6192
+ 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)
6193
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6194
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
6195
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6196
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6197
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.3ms | GC: 0.0ms)
6198
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 1.0ms (0 queries, 0 cached) | GC: 0.0ms)
6199
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6200
+ Processing by RailsDb::TablesController#data as HTML
6201
+ Parameters: {"table_id"=>"users"}
6202
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6203
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6204
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
6205
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
6206
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.5ms | GC: 0.0ms)
6207
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.7ms | GC: 2.9ms)
6208
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
6209
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.1ms)
6210
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.1ms)
6211
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
6212
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
6213
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
6214
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
6215
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 25.7ms | GC: 3.5ms)
6216
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 26.0ms | GC: 3.5ms)
6217
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6218
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6219
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6220
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6221
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 26.9ms | GC: 3.5ms)
6222
+ Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 3.5ms)
6223
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6224
+ Processing by RailsDb::SqlController#index as HTML
6225
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6226
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
6227
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
6228
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | GC: 0.0ms)
6229
+ 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)
6230
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6231
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6232
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6233
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6234
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.7ms | GC: 0.1ms)
6235
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.1ms)
6236
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6237
+ Processing by RailsDb::SqlController#import as HTML
6238
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6239
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
6240
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
6241
+ 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)
6242
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6243
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6244
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6245
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6246
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
6247
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
6248
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6249
+ Processing by RailsDb::DashboardController#data_table as HTML
6250
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6251
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
6252
+ 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)
6253
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6254
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6255
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6256
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6257
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.5ms | GC: 0.0ms)
6258
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
6259
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6260
+ Processing by RailsDb::TablesController#data as HTML
6261
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
6262
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6263
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6264
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
6265
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
6266
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.1ms | GC: 2.5ms)
6267
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.6ms | GC: 0.2ms)
6268
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
6269
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
6270
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
6271
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
6272
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
6273
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
6274
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
6275
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.3ms | GC: 3.0ms)
6276
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 21.3ms | GC: 3.0ms)
6277
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6278
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6279
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6280
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6281
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 22.1ms | GC: 3.0ms)
6282
+ Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.6ms (4 queries, 2 cached) | GC: 3.0ms)
6283
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6284
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6285
+ Processing by RailsDb::TablesController#destroy as HTML
6286
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
6287
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6288
+  (0.0ms) DELETE FROM users WHERE id = '1';
6289
+ Redirected to http://www.example.com/rails/db/tables/users/data
6290
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
6291
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6292
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6293
+ Processing by RailsDb::TablesController#csv as HTML
6294
+ Parameters: {"table_id"=>"users"}
6295
+ SQL (0.0ms) SELECT * FROM users
6296
+ Rendering text template
6297
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
6298
+ Sent data users.csv (0.4ms)
6299
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
6300
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6301
+ Processing by RailsDb::DashboardController#standalone as HTML
6302
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6303
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
6304
+ 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)
6305
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6306
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6307
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6308
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6309
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
6310
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
6311
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6312
+ Processing by RailsDb::SqlController#index as HTML
6313
+ Parameters: {"sql"=>"select * from users limit 10"}
6314
+ SQL (0.0ms) select * from users limit 10
6315
+ SQL (0.0ms) EXPLAIN select * from users limit 10
6316
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6317
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
6318
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
6319
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
6320
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
6321
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.6ms | GC: 0.0ms)
6322
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 4.9ms | GC: 1.6ms)
6323
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6324
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.4ms | GC: 0.2ms)
6325
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6326
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6327
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 6.1ms | GC: 1.8ms)
6328
+ Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 1.8ms)
6329
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6330
+ Processing by RailsDb::SqlController#csv as CSV
6331
+ Parameters: {"sql"=>"select * from users limit 10"}
6332
+ SQL (0.0ms) select * from users limit 10
6333
+ SQL (0.0ms) EXPLAIN select * from users limit 10
6334
+ Rendering text template
6335
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
6336
+ Sent data results.csv (0.1ms)
6337
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
6338
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6339
+ Processing by RailsDb::SqlController#xls as XLS
6340
+ Parameters: {"sql"=>"select * from users limit 10"}
6341
+ SQL (0.0ms) select * from users limit 10
6342
+ SQL (0.0ms) EXPLAIN select * from users limit 10
6343
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
6344
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.7ms | GC: 0.2ms)
6345
+ Rendering text template
6346
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
6347
+ Sent data results.xlsx (0.1ms)
6348
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.2ms)
6349
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6350
+ Processing by RailsDb::TablesController#edit as JS
6351
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
6352
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6353
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
6354
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
6355
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 7.0ms | GC: 0.3ms)
6356
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 8.0ms | GC: 0.4ms)
6357
+ Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.4ms)
6358
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6359
+ Processing by RailsDb::TablesController#update as JS
6360
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
6361
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6362
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
6363
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6364
+ #<Class:0x00000001631555b8> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 16:25:00.710560"], ["id", 2]]
6365
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6366
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
6367
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.1ms | GC: 0.0ms)
6368
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.4ms | GC: 0.0ms)
6369
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms (3 queries, 0 cached) | GC: 0.1ms)
6370
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
6371
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6372
+ Processing by RailsDb::TablesController#new as JS
6373
+ Parameters: {"table_id"=>"users"}
6374
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6375
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
6376
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 4.3ms | GC: 0.0ms)
6377
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 4.9ms | GC: 0.0ms)
6378
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.6ms (1 query, 0 cached) | GC: 0.0ms)
6379
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6380
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6381
+ Processing by RailsDb::TablesController#create as JS
6382
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
6383
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6384
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6385
+ #<Class:0x0000000162f9d2c0> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 16:25:00.723893"], ["updated_at", "2025-04-01 16:25:00.723893"]]
6386
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6387
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
6388
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
6389
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 10.2ms | GC: 4.6ms)
6390
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.9ms | GC: 0.4ms)
6391
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
6392
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
6393
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
6394
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
6395
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6396
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
6397
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
6398
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 24.8ms | GC: 5.2ms)
6399
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 25.4ms | GC: 5.2ms)
6400
+ Completed 200 OK in 29ms (Views: 25.0ms | ActiveRecord: 0.8ms (5 queries, 1 cached) | GC: 5.2ms)
6401
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
6402
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6403
+ Processing by RailsDb::TablesController#edit as JS
6404
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
6405
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6406
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
6407
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
6408
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.2ms | GC: 0.0ms)
6409
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.6ms | GC: 0.0ms)
6410
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
6411
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6412
+ Processing by RailsDb::TablesController#update as JS
6413
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
6414
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
6415
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
6416
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6417
+ #<Class:0x000000012fc141b8> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 16:25:00.760528"], ["id", 3]]
6418
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6419
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
6420
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
6421
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.9ms | GC: 1.9ms)
6422
+ Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.4ms (3 queries, 0 cached) | GC: 1.9ms)
6423
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
6424
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6425
+ Processing by RailsDb::DashboardController#index as HTML
6426
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6427
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
6428
+ 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)
6429
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6430
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6431
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6432
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6433
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.0ms | GC: 0.0ms)
6434
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
6435
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 13:25:00 -0300
6436
+ Processing by RailsDb::SqlController#index as HTML
6437
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
6438
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
6439
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
6440
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
6441
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.5ms | GC: 0.2ms)
6442
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
6443
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
6444
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
6445
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
6446
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.4ms | GC: 0.2ms)
6447
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.7ms (0 queries, 0 cached) | GC: 0.3ms)
6448
+ 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.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Silveira