rails8_db 0.0.8 → 0.0.10

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.
@@ -0,0 +1,1482 @@
1
+ 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"]]
2
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
4
+ ------------------------
5
+ TableTest: test_as_table
6
+ ------------------------
7
+ User Delete All (0.3ms) DELETE FROM "users"
8
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
9
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:17.450783"], ["updated_at", "2025-04-01 15:52:17.450783"]]
10
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
11
+  Count (0.3ms) SELECT COUNT(*) FROM "users"
12
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
13
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
14
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
15
+ ---------------------------
16
+ TableTest: test_primary_key
17
+ ---------------------------
18
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
19
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
20
+ ----------------------
21
+ TableTest: test_to_csv
22
+ ----------------------
23
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
24
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:17.454586"], ["updated_at", "2025-04-01 15:52:17.454586"]]
25
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
26
+ SQL (0.0ms) SELECT * FROM users
27
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
28
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
29
+ -----------------------
30
+ TableTest: test_ransack
31
+ -----------------------
32
+ User Delete All (0.0ms) DELETE FROM "users"
33
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
34
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 15:52:17.455918"], ["updated_at", "2025-04-01 15:52:17.455918"]]
35
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
36
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
37
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 15:52:17.456223"], ["updated_at", "2025-04-01 15:52:17.456223"]]
38
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
39
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
40
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 15:52:17.456512"], ["updated_at", "2025-04-01 15:52:17.456512"]]
41
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
42
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
43
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
44
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
45
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
46
+ ------------------------
47
+ TableTest: test_truncate
48
+ ------------------------
49
+ User Delete All (0.0ms) DELETE FROM "users"
50
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
51
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:17.464892"], ["updated_at", "2025-04-01 15:52:17.464892"]]
52
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
53
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
54
+  (0.0ms) DELETE FROM users;
55
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
56
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
57
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
58
+ -----------------------
59
+ TableTest: test_columns
60
+ -----------------------
61
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
62
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
63
+ ----------------------
64
+ TableTest: test_delete
65
+ ----------------------
66
+ User Delete All (0.0ms) DELETE FROM "users"
67
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
68
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:17.466737"], ["updated_at", "2025-04-01 15:52:17.466737"]]
69
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
70
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
71
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 15:52:17.467073"], ["updated_at", "2025-04-01 15:52:17.467073"]]
72
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
73
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
74
+  (0.0ms) DELETE FROM users WHERE id = 1;
75
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
76
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
77
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
78
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
79
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
80
+ ------------------------
81
+ DatabaseTest: test_query
82
+ ------------------------
83
+ User Delete All (0.0ms) DELETE FROM "users"
84
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
85
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:17.469468"], ["updated_at", "2025-04-01 15:52:17.469468"]]
86
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
87
+ SQL (0.0ms) select count(*) as users_count from users
88
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
89
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
90
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
91
+ ------------------------------------
92
+ DatabaseTest: test_accessible_tables
93
+ ------------------------------------
94
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
95
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
96
+ -------------------------
97
+ DatabaseTest: test_tables
98
+ -------------------------
99
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
100
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
101
+ --------------------------
102
+ DatabaseTest: test_adapter
103
+ --------------------------
104
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
105
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
106
+ -------------------------
107
+ DatabaseTest: test_insert
108
+ -------------------------
109
+ SQL (0.2ms) delete from projects_users
110
+ SQL (0.0ms) EXPLAIN delete from projects_users
111
+ User Delete All (0.0ms) DELETE FROM "users"
112
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
113
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
114
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
115
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
116
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
117
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
118
+ ------------------------------------
119
+ RailsDbTest: test_verify_access_proc
120
+ ------------------------------------
121
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
122
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
123
+ -----------------------
124
+ RailsDbTest: test_truth
125
+ -----------------------
126
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
127
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
128
+ --------------------------
129
+ SqlImportTest: test_import
130
+ --------------------------
131
+  (0.0ms) update users set age = 11 where id = 1
132
+  (0.0ms) update users set age = 22 where id = 2
133
+  (0.0ms) update users set age = 33 where id = 3
134
+  (0.0ms) 
135
+ DROP TABLE IF EXISTS t
136
+  (0.0ms) 
137
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
138
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
139
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
140
+ --------------------------------------------------------------------
141
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
142
+ --------------------------------------------------------------------
143
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
144
+ User Create (0.2ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2025-04-01 15:52:17.477230"], ["updated_at", "2025-04-01 15:52:17.477230"]]
145
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
146
+ SQL (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
147
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.0ms)
148
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
149
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
150
+ --------------------------------------------------------------
151
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
152
+ --------------------------------------------------------------
153
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
154
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:17.502361"], ["updated_at", "2025-04-01 15:52:17.502361"]]
155
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
156
+ SQL (0.0ms) select * from users
157
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
158
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
159
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
160
+ ----------------------------------------------------------
161
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
162
+ ----------------------------------------------------------
163
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
164
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:17.504890"], ["updated_at", "2025-04-01 15:52:17.504890"]]
165
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
166
+ SQL (0.0ms) SELECT * FROM users
167
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.9ms | GC: 0.0ms)
168
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
169
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
170
+ ------------------------------------------------------------------------
171
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
172
+ ------------------------------------------------------------------------
173
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
174
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:17.507087"], ["updated_at", "2025-04-01 15:52:17.507087"]]
175
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
176
+ SQL (0.0ms) select * from users
177
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
178
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
179
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
180
+ ----------------------------------------------
181
+ DashboardControllerTest: test_should_get_index
182
+ ----------------------------------------------
183
+ User Delete All (0.0ms) DELETE FROM "users"
184
+ Account Delete All (0.0ms) DELETE FROM "accounts"
185
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
186
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
187
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:17.533034"], ["updated_at", "2025-04-01 15:52:17.533034"]]
188
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
189
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
190
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 15:52:17.533361"], ["updated_at", "2025-04-01 15:52:17.533361"]]
191
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
192
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
193
+ 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 15:52:17.534838"], ["updated_at", "2025-04-01 15:52:17.534838"], ["type", "Customer"]]
194
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
195
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
196
+ Processing by RailsDb::DashboardController#index as HTML
197
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
198
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
199
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 28.3ms | GC: 19.1ms)
200
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.5ms | GC: 0.0ms)
201
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
202
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
203
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
204
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 34.8ms | GC: 19.1ms)
205
+ Completed 200 OK in 38ms (Views: 36.0ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 19.2ms)
206
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
207
+ Processing by RailsDb::TablesController#show as HTML
208
+ Parameters: {"id"=>"users"}
209
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
210
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
211
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
212
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.2ms | GC: 0.0ms)
213
+ 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)
214
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
215
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
216
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
217
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
218
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.2ms | GC: 0.0ms)
219
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 1.0ms (0 queries, 0 cached) | GC: 0.0ms)
220
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
221
+ Processing by RailsDb::TablesController#data as HTML
222
+ Parameters: {"table_id"=>"users"}
223
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
224
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
225
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
226
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
227
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.3ms | GC: 0.0ms)
228
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.8ms | GC: 0.0ms)
229
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
230
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.1ms)
231
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
232
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
233
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
234
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
235
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
236
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 27.1ms | GC: 3.7ms)
237
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 27.4ms | GC: 3.7ms)
238
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
239
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
240
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
241
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
242
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 28.2ms | GC: 3.7ms)
243
+ Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 0.8ms (4 queries, 2 cached) | GC: 3.7ms)
244
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
245
+ Processing by RailsDb::SqlController#index as HTML
246
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
247
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
248
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
249
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | GC: 0.0ms)
250
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 3.0ms | GC: 0.2ms)
251
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.3ms | GC: 0.1ms)
252
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
253
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
254
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
255
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.7ms | GC: 0.2ms)
256
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.2ms)
257
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
258
+ Processing by RailsDb::SqlController#import as HTML
259
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
260
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
261
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
262
+ 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)
263
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
264
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
265
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
266
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
267
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.3ms | GC: 0.0ms)
268
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
269
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
270
+ Processing by RailsDb::DashboardController#data_table as HTML
271
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
272
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
273
+ 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)
274
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
275
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
276
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
277
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
278
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
279
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
280
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
281
+ Processing by RailsDb::TablesController#data as HTML
282
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
283
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
284
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
285
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
286
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
287
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.7ms | GC: 2.1ms)
288
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.0ms | GC: 0.5ms)
289
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
290
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.1ms)
291
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
292
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
293
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
294
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
295
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
296
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.3ms | GC: 2.9ms)
297
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 21.3ms | GC: 2.9ms)
298
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.3ms | GC: 0.1ms)
299
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
300
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
301
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
302
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 22.2ms | GC: 3.0ms)
303
+ Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 3.0ms)
304
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
305
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
306
+ Processing by RailsDb::TablesController#destroy as HTML
307
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
308
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
309
+  (0.0ms) DELETE FROM users WHERE id = '1';
310
+ Redirected to http://www.example.com/rails/db/tables/users/data
311
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
312
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
313
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
314
+ Processing by RailsDb::TablesController#csv as HTML
315
+ Parameters: {"table_id"=>"users"}
316
+ SQL (0.0ms) SELECT * FROM users
317
+ Rendering text template
318
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
319
+ Sent data users.csv (0.6ms)
320
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
321
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
322
+ Processing by RailsDb::DashboardController#standalone as HTML
323
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
324
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
325
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.8ms | GC: 0.0ms)
326
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
327
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
328
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
329
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
330
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
331
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
332
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
333
+ Processing by RailsDb::SqlController#index as HTML
334
+ Parameters: {"sql"=>"select * from users limit 10"}
335
+ SQL (0.0ms) select * from users limit 10
336
+ SQL (0.0ms) EXPLAIN select * from users limit 10
337
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
338
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
339
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
340
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
341
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
342
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.6ms | GC: 0.0ms)
343
+ 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)
344
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
345
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
346
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
347
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
348
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.9ms | GC: 0.0ms)
349
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
350
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
351
+ Processing by RailsDb::SqlController#csv as CSV
352
+ Parameters: {"sql"=>"select * from users limit 10"}
353
+ SQL (0.0ms) select * from users limit 10
354
+ SQL (0.0ms) EXPLAIN select * from users limit 10
355
+ Rendering text template
356
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
357
+ Sent data results.csv (0.1ms)
358
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.2ms)
359
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
360
+ Processing by RailsDb::SqlController#xls as XLS
361
+ Parameters: {"sql"=>"select * from users limit 10"}
362
+ SQL (0.0ms) select * from users limit 10
363
+ SQL (0.0ms) EXPLAIN select * from users limit 10
364
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
365
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 21.1ms | GC: 0.3ms)
366
+ Rendering text template
367
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
368
+ Sent data results.xlsx (0.1ms)
369
+ Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.3ms)
370
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
371
+ Processing by RailsDb::TablesController#edit as JS
372
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
373
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
374
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
375
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
376
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 8.3ms | GC: 0.2ms)
377
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 9.2ms | GC: 0.3ms)
378
+ Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 0.4ms)
379
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
380
+ Processing by RailsDb::TablesController#update as JS
381
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
382
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
383
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
384
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
385
+ #<Class:0x0000000125512130> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 15:52:17.710323"], ["id", 2]]
386
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
387
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
388
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
389
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.0ms | GC: 0.0ms)
390
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.1ms)
391
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
392
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
393
+ Processing by RailsDb::TablesController#new as JS
394
+ Parameters: {"table_id"=>"users"}
395
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
396
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
397
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.2ms | GC: 0.0ms)
398
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.5ms | GC: 0.0ms)
399
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms (1 query, 0 cached) | GC: 0.0ms)
400
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
401
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
402
+ Processing by RailsDb::TablesController#create as JS
403
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
404
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
405
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
406
+ #<Class:0x00000001256f94d0> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 15:52:17.719371"], ["updated_at", "2025-04-01 15:52:17.719371"]]
407
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
408
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
409
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
410
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 6.9ms | GC: 2.2ms)
411
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.1ms | GC: 0.6ms)
412
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
413
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
414
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
415
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
416
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
417
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
418
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
419
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.2ms | GC: 3.2ms)
420
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 21.7ms | GC: 3.2ms)
421
+ Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.7ms (5 queries, 1 cached) | GC: 3.2ms)
422
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
423
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
424
+ Processing by RailsDb::TablesController#edit as JS
425
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
426
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
427
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
428
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
429
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.1ms | GC: 0.0ms)
430
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.5ms | GC: 0.0ms)
431
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
432
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
433
+ Processing by RailsDb::TablesController#update as JS
434
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
435
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
436
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
437
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
438
+ #<Class:0x000000012563c1c8> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 15:52:17.750843"], ["id", 3]]
439
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
440
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
441
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
442
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 0.9ms | GC: 0.0ms)
443
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
444
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
445
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
446
+ Processing by RailsDb::DashboardController#index as HTML
447
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
448
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
449
+ 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)
450
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
451
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
452
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | GC: 0.0ms)
453
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.3ms | GC: 0.0ms)
454
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.4ms | GC: 0.0ms)
455
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
456
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 12:52:17 -0300
457
+ Processing by RailsDb::SqlController#index as HTML
458
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
459
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
460
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
461
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 2.0ms | GC: 1.8ms)
462
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 5.8ms | GC: 2.1ms)
463
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
464
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
465
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | GC: 0.0ms)
466
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
467
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 8.6ms | GC: 2.1ms)
468
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 2.1ms)
469
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
470
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
471
+ ----------------------------------------------------------------------------------------------------------------------------
472
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
473
+ ----------------------------------------------------------------------------------------------------------------------------
474
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
475
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
476
+ ----------------------------------------------------------------------------------------------------------------------------------
477
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
478
+ ----------------------------------------------------------------------------------------------------------------------------------
479
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
480
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
481
+ -------------------------------------------------------------------------------------------------------------------------
482
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
483
+ -------------------------------------------------------------------------------------------------------------------------
484
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
485
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
486
+ ------------------------------------------------------------------------------------------------------------------------------------
487
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
488
+ ------------------------------------------------------------------------------------------------------------------------------------
489
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
490
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
491
+ -----------------------------------------------------------------------------------------------------------------------------------------
492
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
493
+ -----------------------------------------------------------------------------------------------------------------------------------------
494
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
495
+ 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"]]
496
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
497
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
498
+ -----------------------
499
+ RailsDbTest: test_truth
500
+ -----------------------
501
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
502
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
503
+ ------------------------------------
504
+ RailsDbTest: test_verify_access_proc
505
+ ------------------------------------
506
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
507
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
508
+ ------------------------------------------------------------------------------------------------------------------------------------
509
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
510
+ ------------------------------------------------------------------------------------------------------------------------------------
511
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
512
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
513
+ -------------------------------------------------------------------------------------------------------------------------
514
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
515
+ -------------------------------------------------------------------------------------------------------------------------
516
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
517
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
518
+ -----------------------------------------------------------------------------------------------------------------------------------------
519
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
520
+ -----------------------------------------------------------------------------------------------------------------------------------------
521
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
522
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
523
+ ----------------------------------------------------------------------------------------------------------------------------------
524
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
525
+ ----------------------------------------------------------------------------------------------------------------------------------
526
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
527
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
528
+ ----------------------------------------------------------------------------------------------------------------------------
529
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
530
+ ----------------------------------------------------------------------------------------------------------------------------
531
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
532
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
533
+ --------------------------
534
+ DatabaseTest: test_adapter
535
+ --------------------------
536
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
537
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
538
+ -------------------------
539
+ DatabaseTest: test_tables
540
+ -------------------------
541
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
542
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
543
+ -------------------------
544
+ DatabaseTest: test_insert
545
+ -------------------------
546
+ SQL (0.1ms) delete from projects_users
547
+ SQL (0.0ms) EXPLAIN delete from projects_users
548
+ User Delete All (0.0ms) DELETE FROM "users"
549
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
550
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
551
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
552
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
553
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
554
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
555
+ ------------------------------------
556
+ DatabaseTest: test_accessible_tables
557
+ ------------------------------------
558
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
559
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
560
+ ------------------------
561
+ DatabaseTest: test_query
562
+ ------------------------
563
+ User Delete All (0.0ms) DELETE FROM "users"
564
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
565
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:28.956767"], ["updated_at", "2025-04-01 15:52:28.956767"]]
566
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
567
+ SQL (0.0ms) select count(*) as users_count from users
568
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
569
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
570
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
571
+ -----------------------
572
+ TableTest: test_columns
573
+ -----------------------
574
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
575
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
576
+ ----------------------
577
+ TableTest: test_delete
578
+ ----------------------
579
+ User Delete All (0.0ms) DELETE FROM "users"
580
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
581
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:28.959112"], ["updated_at", "2025-04-01 15:52:28.959112"]]
582
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
583
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
584
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 15:52:28.959536"], ["updated_at", "2025-04-01 15:52:28.959536"]]
585
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
586
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
587
+  (0.0ms) DELETE FROM users WHERE id = 1;
588
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
589
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
590
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
591
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
592
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
593
+ ------------------------
594
+ TableTest: test_truncate
595
+ ------------------------
596
+ User Delete All (0.0ms) DELETE FROM "users"
597
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
598
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:28.962449"], ["updated_at", "2025-04-01 15:52:28.962449"]]
599
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
600
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
601
+  (0.0ms) DELETE FROM users;
602
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
603
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
604
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
605
+ ------------------------
606
+ TableTest: test_as_table
607
+ ------------------------
608
+ User Delete All (0.0ms) DELETE FROM "users"
609
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
610
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:28.963931"], ["updated_at", "2025-04-01 15:52:28.963931"]]
611
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
612
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
613
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
614
+ TRANSACTION (0.1ms) ROLLBACK TRANSACTION
615
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
616
+ ----------------------
617
+ TableTest: test_to_csv
618
+ ----------------------
619
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
620
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:52:28.971554"], ["updated_at", "2025-04-01 15:52:28.971554"]]
621
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
622
+ SQL (0.0ms) SELECT * FROM users
623
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
624
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
625
+ -----------------------
626
+ TableTest: test_ransack
627
+ -----------------------
628
+ User Delete All (0.0ms) DELETE FROM "users"
629
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
630
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 15:52:28.973733"], ["updated_at", "2025-04-01 15:52:28.973733"]]
631
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
632
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
633
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 15:52:28.974094"], ["updated_at", "2025-04-01 15:52:28.974094"]]
634
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
635
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
636
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 15:52:28.974413"], ["updated_at", "2025-04-01 15:52:28.974413"]]
637
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
638
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
639
+  Pluck (0.2ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
640
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
641
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
642
+ ---------------------------
643
+ TableTest: test_primary_key
644
+ ---------------------------
645
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
646
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
647
+ ----------------------------------------------------------
648
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
649
+ ----------------------------------------------------------
650
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
651
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:28.978752"], ["updated_at", "2025-04-01 15:52:28.978752"]]
652
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
653
+ SQL (0.0ms) SELECT * FROM users
654
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.5ms | GC: 0.3ms)
655
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
656
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
657
+ ------------------------------------------------------------------------
658
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
659
+ ------------------------------------------------------------------------
660
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
661
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:29.004285"], ["updated_at", "2025-04-01 15:52:29.004285"]]
662
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
663
+ SQL (0.0ms) select * from users
664
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.3ms | GC: 0.0ms)
665
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
666
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
667
+ --------------------------------------------------------------
668
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
669
+ --------------------------------------------------------------
670
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
671
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:29.006072"], ["updated_at", "2025-04-01 15:52:29.006072"]]
672
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
673
+ SQL (0.0ms) select * from users
674
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
675
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
676
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
677
+ --------------------------------------------------------------------
678
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
679
+ --------------------------------------------------------------------
680
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
681
+ 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 15:52:29.007079"], ["updated_at", "2025-04-01 15:52:29.007079"]]
682
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
683
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
684
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.1ms | GC: 0.0ms)
685
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
686
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
687
+ --------------------------
688
+ SqlImportTest: test_import
689
+ --------------------------
690
+  (0.0ms) update users set age = 11 where id = 1
691
+  (0.0ms) update users set age = 22 where id = 2
692
+  (0.0ms) update users set age = 33 where id = 3
693
+  (0.0ms) 
694
+ DROP TABLE IF EXISTS t
695
+  (0.1ms) 
696
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
697
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
698
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
699
+ ----------------------------------------------
700
+ DashboardControllerTest: test_should_get_index
701
+ ----------------------------------------------
702
+ User Delete All (0.1ms) DELETE FROM "users"
703
+ Account Delete All (0.0ms) DELETE FROM "accounts"
704
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
705
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
706
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:52:29.032487"], ["updated_at", "2025-04-01 15:52:29.032487"]]
707
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
708
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
709
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 15:52:29.032803"], ["updated_at", "2025-04-01 15:52:29.032803"]]
710
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
711
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
712
+ 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 15:52:29.034275"], ["updated_at", "2025-04-01 15:52:29.034275"], ["type", "Customer"]]
713
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
714
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
715
+ Processing by RailsDb::DashboardController#index as HTML
716
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
717
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
718
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 26.2ms | GC: 17.4ms)
719
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | GC: 0.0ms)
720
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
721
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
722
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.8ms | GC: 0.0ms)
723
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 33.9ms | GC: 17.4ms)
724
+ Completed 200 OK in 37ms (Views: 35.0ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 17.4ms)
725
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
726
+ Processing by RailsDb::TablesController#show as HTML
727
+ Parameters: {"id"=>"users"}
728
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
729
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
730
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
731
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.1ms | GC: 0.0ms)
732
+ 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)
733
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
734
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
735
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
736
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
737
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.1ms | GC: 0.0ms)
738
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 1.0ms (0 queries, 0 cached) | GC: 0.0ms)
739
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
740
+ Processing by RailsDb::TablesController#data as HTML
741
+ Parameters: {"table_id"=>"users"}
742
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
743
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
744
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
745
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
746
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.3ms | GC: 0.0ms)
747
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 8.5ms | GC: 3.6ms)
748
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
749
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.1ms)
750
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.1ms)
751
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
752
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
753
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
754
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
755
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 27.3ms | GC: 4.1ms)
756
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 27.6ms | GC: 4.1ms)
757
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
758
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
759
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
760
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
761
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 28.4ms | GC: 4.1ms)
762
+ Completed 200 OK in 30ms (Views: 27.9ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 4.1ms)
763
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
764
+ Processing by RailsDb::SqlController#index as HTML
765
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
766
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
767
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
768
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.3ms | GC: 0.1ms)
769
+ 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)
770
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
771
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
772
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
773
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
774
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.8ms | GC: 0.1ms)
775
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.1ms)
776
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
777
+ Processing by RailsDb::SqlController#import as HTML
778
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
779
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
780
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
781
+ 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)
782
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
783
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
784
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
785
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
786
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.3ms | GC: 0.0ms)
787
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
788
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
789
+ Processing by RailsDb::DashboardController#data_table as HTML
790
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
791
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
792
+ 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)
793
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
794
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
795
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
796
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
797
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
798
+ Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
799
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
800
+ Processing by RailsDb::TablesController#data as HTML
801
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
802
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
803
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
804
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
805
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
806
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.2ms | GC: 2.6ms)
807
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.6ms | GC: 0.1ms)
808
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
809
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
810
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
811
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
812
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
813
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
814
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
815
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 21.2ms | GC: 3.0ms)
816
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 21.2ms | GC: 3.0ms)
817
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
818
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
819
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
820
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
821
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 22.0ms | GC: 3.0ms)
822
+ Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 0.6ms (4 queries, 2 cached) | GC: 3.0ms)
823
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
824
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
825
+ Processing by RailsDb::TablesController#destroy as HTML
826
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
827
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
828
+  (0.0ms) DELETE FROM users WHERE id = '1';
829
+ Redirected to http://www.example.com/rails/db/tables/users/data
830
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
831
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
832
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
833
+ Processing by RailsDb::TablesController#csv as HTML
834
+ Parameters: {"table_id"=>"users"}
835
+ SQL (0.0ms) SELECT * FROM users
836
+ Rendering text template
837
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
838
+ Sent data users.csv (0.4ms)
839
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
840
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
841
+ Processing by RailsDb::DashboardController#standalone as HTML
842
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
843
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
844
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 0.8ms | GC: 0.0ms)
845
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
846
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
847
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
848
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
849
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.6ms | GC: 0.0ms)
850
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
851
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
852
+ Processing by RailsDb::SqlController#index as HTML
853
+ Parameters: {"sql"=>"select * from users limit 10"}
854
+ SQL (0.0ms) select * from users limit 10
855
+ SQL (0.0ms) EXPLAIN select * from users limit 10
856
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
857
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
858
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
859
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
860
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
861
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.6ms | GC: 0.0ms)
862
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 4.8ms | GC: 1.6ms)
863
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
864
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
865
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
866
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
867
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.6ms | GC: 1.6ms)
868
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 1.6ms)
869
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
870
+ Processing by RailsDb::SqlController#csv as CSV
871
+ Parameters: {"sql"=>"select * from users limit 10"}
872
+ SQL (0.0ms) select * from users limit 10
873
+ SQL (0.0ms) EXPLAIN select * from users limit 10
874
+ Rendering text template
875
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
876
+ Sent data results.csv (0.1ms)
877
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
878
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
879
+ Processing by RailsDb::SqlController#xls as XLS
880
+ Parameters: {"sql"=>"select * from users limit 10"}
881
+ SQL (0.0ms) select * from users limit 10
882
+ SQL (0.0ms) EXPLAIN select * from users limit 10
883
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
884
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.3ms | GC: 0.1ms)
885
+ Rendering text template
886
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
887
+ Sent data results.xlsx (0.1ms)
888
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.2ms)
889
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
890
+ Processing by RailsDb::TablesController#edit as JS
891
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
892
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
893
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
894
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
895
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 6.6ms | GC: 0.2ms)
896
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 7.6ms | GC: 0.3ms)
897
+ Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.4ms)
898
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
899
+ Processing by RailsDb::TablesController#update as JS
900
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
901
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
902
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
903
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
904
+ #<Class:0x000000015c1cb7d8> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 15:52:29.188253"], ["id", 2]]
905
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
906
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
907
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
908
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.0ms | GC: 0.0ms)
909
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
910
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
911
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
912
+ Processing by RailsDb::TablesController#new as JS
913
+ Parameters: {"table_id"=>"users"}
914
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
915
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
916
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.2ms | GC: 0.0ms)
917
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.5ms | GC: 0.0ms)
918
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.5ms (1 query, 0 cached) | GC: 0.0ms)
919
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
920
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
921
+ Processing by RailsDb::TablesController#create as JS
922
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
923
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
924
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
925
+ #<Class:0x000000015cc70508> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 15:52:29.197027"], ["updated_at", "2025-04-01 15:52:29.197027"]]
926
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
927
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
928
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
929
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.1ms | GC: 2.5ms)
930
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.8ms | GC: 0.4ms)
931
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
932
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
933
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
934
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
935
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
936
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
937
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
938
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 20.5ms | GC: 3.1ms)
939
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 21.0ms | GC: 3.1ms)
940
+ Completed 200 OK in 23ms (Views: 20.5ms | ActiveRecord: 0.7ms (5 queries, 1 cached) | GC: 3.1ms)
941
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
942
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
943
+ Processing by RailsDb::TablesController#edit as JS
944
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
945
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
946
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
947
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
948
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.0ms | GC: 0.0ms)
949
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.5ms | GC: 0.0ms)
950
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
951
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
952
+ Processing by RailsDb::TablesController#update as JS
953
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
954
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
955
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
956
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
957
+ #<Class:0x0000000123af6698> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 15:52:29.229415"], ["id", 3]]
958
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
959
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
960
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.0ms | GC: 0.2ms)
961
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.2ms | GC: 0.2ms)
962
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 2.1ms)
963
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
964
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
965
+ Processing by RailsDb::DashboardController#index as HTML
966
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
967
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
968
+ 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)
969
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
970
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
971
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.3ms | GC: 0.2ms)
972
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | GC: 0.2ms)
973
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.2ms | GC: 0.2ms)
974
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.2ms)
975
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 12:52:29 -0300
976
+ Processing by RailsDb::SqlController#index as HTML
977
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
978
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
979
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
980
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
981
+ 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)
982
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
983
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.1ms)
984
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
985
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
986
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.4ms | GC: 0.2ms)
987
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.2ms)
988
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
989
+ 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"]]
990
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
991
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
992
+ ----------------------------------------------
993
+ DashboardControllerTest: test_should_get_index
994
+ ----------------------------------------------
995
+ User Delete All (0.2ms) DELETE FROM "users"
996
+ Account Delete All (0.0ms) DELETE FROM "accounts"
997
+ Customer Delete All (0.0ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
998
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
999
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:59:32.184526"], ["updated_at", "2025-04-01 15:59:32.184526"]]
1000
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1001
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1002
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2025-04-01 15:59:32.185078"], ["updated_at", "2025-04-01 15:59:32.185078"]]
1003
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1004
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1005
+ 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 15:59:32.189744"], ["updated_at", "2025-04-01 15:59:32.189744"], ["type", "Customer"]]
1006
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1007
+ Started GET "/rails/db" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1008
+ Processing by RailsDb::DashboardController#index as HTML
1009
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1010
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
1011
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 9.0ms | GC: 0.2ms)
1012
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | GC: 0.0ms)
1013
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.5ms | GC: 0.0ms)
1014
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | GC: 0.0ms)
1015
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
1016
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 15.6ms | GC: 0.2ms)
1017
+ Completed 200 OK in 54ms (Views: 52.0ms | ActiveRecord: 0.1ms (0 queries, 0 cached) | GC: 21.5ms)
1018
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1019
+ Processing by RailsDb::TablesController#show as HTML
1020
+ Parameters: {"id"=>"users"}
1021
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1022
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
1023
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | GC: 0.0ms)
1024
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 4.2ms | GC: 0.0ms)
1025
+ 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)
1026
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1027
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
1028
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1029
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1030
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.3ms | GC: 0.0ms)
1031
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.9ms (0 queries, 0 cached) | GC: 0.0ms)
1032
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1033
+ Processing by RailsDb::TablesController#data as HTML
1034
+ Parameters: {"table_id"=>"users"}
1035
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1036
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1037
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
1038
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
1039
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 10.0ms | GC: 3.7ms)
1040
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.6ms | GC: 0.1ms)
1041
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
1042
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.0ms)
1043
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
1044
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
1045
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
1046
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
1047
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.1ms | GC: 0.0ms)
1048
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 26.2ms | GC: 4.1ms)
1049
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 26.5ms | GC: 4.1ms)
1050
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1051
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
1052
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1053
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1054
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 27.3ms | GC: 4.1ms)
1055
+ Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.7ms (4 queries, 2 cached) | GC: 4.1ms)
1056
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1057
+ Processing by RailsDb::SqlController#index as HTML
1058
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1059
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
1060
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
1061
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.1ms | GC: 0.0ms)
1062
+ 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.0ms)
1063
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1064
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
1065
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1066
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1067
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.7ms | GC: 0.0ms)
1068
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.0ms)
1069
+ Started GET "/rails/db/import" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1070
+ Processing by RailsDb::SqlController#import as HTML
1071
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1072
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
1073
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.1ms | GC: 0.0ms)
1074
+ 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)
1075
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1076
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
1077
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1078
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1079
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.3ms | GC: 0.0ms)
1080
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
1081
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1082
+ Processing by RailsDb::DashboardController#data_table as HTML
1083
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1084
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
1085
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 0.5ms | GC: 0.0ms)
1086
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.5ms | GC: 2.3ms)
1087
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
1088
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1089
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1090
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.8ms | GC: 2.3ms)
1091
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 2.3ms)
1092
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1093
+ Processing by RailsDb::TablesController#data as HTML
1094
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
1095
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1096
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1097
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
1098
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
1099
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.1ms | GC: 0.4ms)
1100
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 4.9ms | GC: 0.2ms)
1101
+  Load (0.0ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
1102
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
1103
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
1104
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.6ms | GC: 0.0ms)
1105
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
1106
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
1107
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
1108
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 19.5ms | GC: 0.8ms)
1109
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 19.6ms | GC: 0.8ms)
1110
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1111
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
1112
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1113
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1114
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 20.4ms | GC: 0.8ms)
1115
+ Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.6ms (4 queries, 2 cached) | GC: 1.0ms)
1116
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1117
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1118
+ Processing by RailsDb::TablesController#destroy as HTML
1119
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
1120
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1121
+  (0.0ms) DELETE FROM users WHERE id = '1';
1122
+ Redirected to http://www.example.com/rails/db/tables/users/data
1123
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms (2 queries, 0 cached) | GC: 0.0ms)
1124
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1125
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1126
+ Processing by RailsDb::TablesController#csv as HTML
1127
+ Parameters: {"table_id"=>"users"}
1128
+ SQL (0.0ms) SELECT * FROM users
1129
+ Rendering text template
1130
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
1131
+ Sent data users.csv (0.5ms)
1132
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
1133
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1134
+ Processing by RailsDb::DashboardController#standalone as HTML
1135
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1136
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
1137
+ 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)
1138
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1139
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
1140
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1141
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1142
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.7ms | GC: 0.0ms)
1143
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
1144
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1145
+ Processing by RailsDb::SqlController#index as HTML
1146
+ Parameters: {"sql"=>"select * from users limit 10"}
1147
+ SQL (0.0ms) select * from users limit 10
1148
+ SQL (0.0ms) EXPLAIN select * from users limit 10
1149
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1150
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
1151
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
1152
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
1153
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.1ms | GC: 0.0ms)
1154
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 0.7ms | GC: 0.0ms)
1155
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 5.4ms | GC: 2.1ms)
1156
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1157
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
1158
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1159
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1160
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 6.2ms | GC: 2.1ms)
1161
+ Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.6ms (2 queries, 0 cached) | GC: 2.1ms)
1162
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1163
+ Processing by RailsDb::SqlController#csv as CSV
1164
+ Parameters: {"sql"=>"select * from users limit 10"}
1165
+ SQL (0.0ms) select * from users limit 10
1166
+ SQL (0.0ms) EXPLAIN select * from users limit 10
1167
+ Rendering text template
1168
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
1169
+ Sent data results.csv (0.1ms)
1170
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.0ms)
1171
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1172
+ Processing by RailsDb::SqlController#xls as XLS
1173
+ Parameters: {"sql"=>"select * from users limit 10"}
1174
+ SQL (0.0ms) select * from users limit 10
1175
+ SQL (0.0ms) EXPLAIN select * from users limit 10
1176
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx
1177
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 3.5ms | GC: 0.1ms)
1178
+ Rendering text template
1179
+ Rendered text template (Duration: 0.0ms | GC: 0.0ms)
1180
+ Sent data results.xlsx (0.1ms)
1181
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms (2 queries, 0 cached) | GC: 0.1ms)
1182
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1183
+ Processing by RailsDb::TablesController#edit as JS
1184
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
1185
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1186
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1187
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
1188
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 7.2ms | GC: 0.2ms)
1189
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 7.9ms | GC: 0.2ms)
1190
+ Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.3ms)
1191
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1192
+ Processing by RailsDb::TablesController#update as JS
1193
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
1194
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1195
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1196
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1197
+ #<Class:0x000000013561a658> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2025-04-01 15:59:32.366857"], ["id", 2]]
1198
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1199
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
1200
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.7ms | GC: 0.0ms)
1201
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.0ms | GC: 0.0ms)
1202
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms (3 queries, 0 cached) | GC: 0.0ms)
1203
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1204
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1205
+ Processing by RailsDb::TablesController#new as JS
1206
+ Parameters: {"table_id"=>"users"}
1207
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1208
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb
1209
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 3.2ms | GC: 0.0ms)
1210
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 3.5ms | GC: 0.0ms)
1211
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms (1 query, 0 cached) | GC: 0.0ms)
1212
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1213
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1214
+ Processing by RailsDb::TablesController#create as JS
1215
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
1216
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1217
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1218
+ #<Class:0x00000001355fcb30> Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2025-04-01 15:59:32.375712"], ["updated_at", "2025-04-01 15:59:32.375712"]]
1219
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1220
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb
1221
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
1222
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 7.0ms | GC: 2.4ms)
1223
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 5.4ms | GC: 0.6ms)
1224
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
1225
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.1ms | GC: 0.0ms)
1226
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.9ms | GC: 0.1ms)
1227
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
1228
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1229
+ CACHE Count (0.0ms) SELECT COUNT(*) FROM "users"
1230
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | GC: 0.0ms)
1231
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 24.6ms | GC: 3.5ms)
1232
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 25.2ms | GC: 3.5ms)
1233
+ Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 1.1ms (5 queries, 1 cached) | GC: 3.5ms)
1234
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1235
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1236
+ Processing by RailsDb::TablesController#edit as JS
1237
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
1238
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1239
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1240
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb
1241
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 4.4ms | GC: 0.0ms)
1242
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 4.9ms | GC: 0.0ms)
1243
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.5ms (2 queries, 0 cached) | GC: 0.0ms)
1244
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1245
+ Processing by RailsDb::TablesController#update as JS
1246
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
1247
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1248
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1249
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1250
+ #<Class:0x00000001355fe250> Update (0.1ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2025-04-01 15:59:32.412562"], ["id", 3]]
1251
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1252
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb
1253
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 0.8ms | GC: 0.0ms)
1254
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 1.0ms | GC: 0.0ms)
1255
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms (3 queries, 0 cached) | GC: 0.0ms)
1256
+ Customer Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
1257
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1258
+ Processing by RailsDb::DashboardController#index as HTML
1259
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1260
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
1261
+ 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)
1262
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1263
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.3ms | GC: 0.0ms)
1264
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1265
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.2ms | GC: 0.0ms)
1266
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 1.1ms | GC: 0.0ms)
1267
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
1268
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2025-04-01 12:59:32 -0300
1269
+ Processing by RailsDb::SqlController#index as HTML
1270
+ Rendering layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb
1271
+ Rendering /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
1272
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | GC: 0.0ms)
1273
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.0ms | GC: 0.0ms)
1274
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 2.7ms | GC: 0.2ms)
1275
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 0.2ms | GC: 0.0ms)
1276
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.2ms | GC: 0.0ms)
1277
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.0ms | GC: 0.0ms)
1278
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.4ms | GC: 0.2ms)
1279
+ Rendered layout /Users/iltongarcia/Projects/rails/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 3.8ms | GC: 0.4ms)
1280
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.5ms (0 queries, 0 cached) | GC: 0.4ms)
1281
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1282
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1283
+ --------------------------------------------------------------------
1284
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
1285
+ --------------------------------------------------------------------
1286
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1287
+ 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 15:59:32.424037"], ["updated_at", "2025-04-01 15:59:32.424037"]]
1288
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1289
+ SQL (0.0ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
1290
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.2ms)
1291
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1292
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1293
+ ------------------------------------------------------------------------
1294
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
1295
+ ------------------------------------------------------------------------
1296
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1297
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:59:32.426363"], ["updated_at", "2025-04-01 15:59:32.426363"]]
1298
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1299
+ SQL (0.0ms) select * from users
1300
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.5ms | GC: 0.0ms)
1301
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1302
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1303
+ --------------------------------------------------------------
1304
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
1305
+ --------------------------------------------------------------
1306
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1307
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:59:32.428982"], ["updated_at", "2025-04-01 15:59:32.428982"]]
1308
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1309
+ SQL (0.0ms) select * from users
1310
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | GC: 0.0ms)
1311
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1312
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1313
+ ----------------------------------------------------------
1314
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
1315
+ ----------------------------------------------------------
1316
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1317
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:59:32.430057"], ["updated_at", "2025-04-01 15:59:32.430057"]]
1318
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1319
+ SQL (0.0ms) SELECT * FROM users
1320
+ Rendered /Users/iltongarcia/Projects/rails/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.6ms | GC: 0.0ms)
1321
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1322
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1323
+ -------------------------
1324
+ DatabaseTest: test_tables
1325
+ -------------------------
1326
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1327
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1328
+ -------------------------
1329
+ DatabaseTest: test_insert
1330
+ -------------------------
1331
+ SQL (0.2ms) delete from projects_users
1332
+ SQL (0.0ms) EXPLAIN delete from projects_users
1333
+ User Delete All (0.0ms) DELETE FROM "users"
1334
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
1335
+ SQL (0.0ms) insert into projects_users(project_id, user_id) values(1,2)
1336
+ SQL (0.0ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
1337
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
1338
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1339
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1340
+ ------------------------
1341
+ DatabaseTest: test_query
1342
+ ------------------------
1343
+ User Delete All (0.0ms) DELETE FROM "users"
1344
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1345
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2025-04-01 15:59:32.433621"], ["updated_at", "2025-04-01 15:59:32.433621"]]
1346
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1347
+ SQL (0.0ms) select count(*) as users_count from users
1348
+ SQL (0.0ms) EXPLAIN select count(*) as users_count from users
1349
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1350
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1351
+ ------------------------------------
1352
+ DatabaseTest: test_accessible_tables
1353
+ ------------------------------------
1354
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1355
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1356
+ --------------------------
1357
+ DatabaseTest: test_adapter
1358
+ --------------------------
1359
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1360
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1361
+ ---------------------------
1362
+ TableTest: test_primary_key
1363
+ ---------------------------
1364
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1365
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1366
+ ----------------------
1367
+ TableTest: test_delete
1368
+ ----------------------
1369
+ User Delete All (0.0ms) DELETE FROM "users"
1370
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1371
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:59:32.436658"], ["updated_at", "2025-04-01 15:59:32.436658"]]
1372
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1373
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1374
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2025-04-01 15:59:32.436968"], ["updated_at", "2025-04-01 15:59:32.436968"]]
1375
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1376
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1377
+  (0.0ms) DELETE FROM users WHERE id = 1;
1378
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1379
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
1380
+ User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
1381
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1382
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1383
+ ------------------------
1384
+ TableTest: test_truncate
1385
+ ------------------------
1386
+ User Delete All (0.0ms) DELETE FROM "users"
1387
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1388
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:59:32.438158"], ["updated_at", "2025-04-01 15:59:32.438158"]]
1389
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1390
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1391
+  (0.0ms) DELETE FROM users;
1392
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
1393
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1394
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1395
+ ------------------------
1396
+ TableTest: test_as_table
1397
+ ------------------------
1398
+ User Delete All (0.0ms) DELETE FROM "users"
1399
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1400
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:59:32.438968"], ["updated_at", "2025-04-01 15:59:32.438968"]]
1401
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1402
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1403
+  Load (0.0ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
1404
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1405
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1406
+ ----------------------
1407
+ TableTest: test_to_csv
1408
+ ----------------------
1409
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1410
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2025-04-01 15:59:32.441638"], ["updated_at", "2025-04-01 15:59:32.441638"]]
1411
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1412
+ SQL (0.0ms) SELECT * FROM users
1413
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1414
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1415
+ -----------------------
1416
+ TableTest: test_ransack
1417
+ -----------------------
1418
+ User Delete All (0.0ms) DELETE FROM "users"
1419
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1420
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2025-04-01 15:59:32.443031"], ["updated_at", "2025-04-01 15:59:32.443031"]]
1421
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
1422
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1423
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2025-04-01 15:59:32.443464"], ["updated_at", "2025-04-01 15:59:32.443464"]]
1424
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1425
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
1426
+ User Create (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2025-04-01 15:59:32.443859"], ["updated_at", "2025-04-01 15:59:32.443859"]]
1427
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1428
+  Count (0.0ms) SELECT COUNT(*) FROM "users"
1429
+  Pluck (0.0ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
1430
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1431
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1432
+ -----------------------
1433
+ TableTest: test_columns
1434
+ -----------------------
1435
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1436
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1437
+ -------------------------------------------------------------------------------------------------------------------------
1438
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
1439
+ -------------------------------------------------------------------------------------------------------------------------
1440
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1441
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1442
+ -----------------------------------------------------------------------------------------------------------------------------------------
1443
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
1444
+ -----------------------------------------------------------------------------------------------------------------------------------------
1445
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1446
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1447
+ ----------------------------------------------------------------------------------------------------------------------------
1448
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
1449
+ ----------------------------------------------------------------------------------------------------------------------------
1450
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1451
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1452
+ ----------------------------------------------------------------------------------------------------------------------------------
1453
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
1454
+ ----------------------------------------------------------------------------------------------------------------------------------
1455
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1456
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1457
+ ------------------------------------------------------------------------------------------------------------------------------------
1458
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
1459
+ ------------------------------------------------------------------------------------------------------------------------------------
1460
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1461
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1462
+ --------------------------
1463
+ SqlImportTest: test_import
1464
+ --------------------------
1465
+  (0.0ms) update users set age = 11 where id = 1
1466
+  (0.0ms) update users set age = 22 where id = 2
1467
+  (0.0ms) update users set age = 33 where id = 3
1468
+  (0.0ms) 
1469
+ DROP TABLE IF EXISTS t
1470
+  (0.0ms) 
1471
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
1472
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1473
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1474
+ -----------------------
1475
+ RailsDbTest: test_truth
1476
+ -----------------------
1477
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION
1478
+ TRANSACTION (0.0ms) BEGIN deferred TRANSACTION
1479
+ ------------------------------------
1480
+ RailsDbTest: test_verify_access_proc
1481
+ ------------------------------------
1482
+ TRANSACTION (0.0ms) ROLLBACK TRANSACTION