rails_db 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -16950,3 +16950,1594 @@ RailsDbHelpersTest: test_default_rails_db_data_table_works
16950
16950
  SQL (0.1ms) SELECT * FROM users
16951
16951
  Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.2ms | Allocations: 1042)
16952
16952
  TRANSACTION (0.0ms) rollback transaction
16953
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
16954
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16955
+ 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, "environment"]]
16956
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16957
+ 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, "environment"]]
16958
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16959
+ 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, "environment"]]
16960
+  (0.5ms) DROP TABLE IF EXISTS "accounts"
16961
+  (0.6ms) CREATE TABLE "accounts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "users_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16962
+  (0.0ms) DROP TABLE IF EXISTS "comments"
16963
+  (0.2ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16964
+  (0.0ms) DROP TABLE IF EXISTS "contacts"
16965
+  (0.2ms) CREATE TABLE "contacts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16966
+  (0.2ms) CREATE INDEX "index_contacts_on_name_and_email" ON "contacts" ("name", "email")
16967
+  (0.1ms) DROP TABLE IF EXISTS "legacy_accounts"
16968
+  (0.2ms) CREATE TABLE "legacy_accounts" ("uuid" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
16969
+  (0.0ms) DROP TABLE IF EXISTS "payments"
16970
+  (0.2ms) CREATE TABLE "payments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal, "project_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16971
+  (0.1ms) CREATE INDEX "index_payments_on_project_id" ON "payments" ("project_id")
16972
+  (0.0ms) DROP TABLE IF EXISTS "projects"
16973
+  (0.2ms) CREATE TABLE "projects" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description_214636" varchar, "description_881927" varchar, "description_377910" varchar, "description_787561" varchar, "description_397939" varchar, "description_427609" varchar, "description_70125" varchar, "description_68088" varchar, "description_211155" varchar, "description_915979" varchar, "description_198834" varchar, "description_669085" varchar, "description_771" varchar, "description_519606" varchar, "description_500107" varchar, "description_277668" varchar, "description_706655" varchar, "description_617984" varchar, "description_312370" varchar, "description_239866" varchar, "amount_777579" integer, "amount_886090" integer, "amount_11955" integer, "amount_494653" integer, "amount_666834" integer, "amount_297923" integer, "amount_458470" integer, "amount_339355" integer, "amount_539001" integer, "amount_209067" integer, "amount_74088" integer, "amount_736364" integer, "amount_685429" integer, "amount_506310" integer, "amount_440103" integer, "amount_418280" integer, "amount_60289" integer, "amount_433505" integer, "amount_160749" integer, "amount_723751" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
16974
+  (0.1ms) CREATE INDEX "index_projects_on_deleted_at" ON "projects" ("deleted_at")
16975
+  (0.0ms) DROP TABLE IF EXISTS "projects_users"
16976
+  (0.2ms) CREATE TABLE "projects_users" ("project_id" integer, "user_id" integer)
16977
+  (0.1ms) CREATE INDEX "index_projects_users_on_project_id" ON "projects_users" ("project_id")
16978
+  (0.1ms) CREATE INDEX "index_projects_users_on_user_id" ON "projects_users" ("user_id")
16979
+  (0.0ms) DROP TABLE IF EXISTS "users"
16980
+  (0.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "salary" decimal, "bio" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "account_id" integer, "dob" date, "active" boolean DEFAULT 1, "type" varchar, "country" varchar)
16981
+  (0.1ms) CREATE INDEX "index_users_on_account_id" ON "users" ("account_id")
16982
+  (0.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
16983
+  (0.1ms) CREATE INDEX "index_users_on_salary" ON "users" ("salary")
16984
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
16985
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16986
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (20210626083314)
16987
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES
16988
+ (20180528134358),
16989
+ (20170126124628),
16990
+ (20151121125538),
16991
+ (20151028191429),
16992
+ (20151027223149),
16993
+ (20151027192250),
16994
+ (20151015145740),
16995
+ (20151014184243),
16996
+ (20151014183823),
16997
+ (20151014152932),
16998
+ (20151014074655),
16999
+ (20151014074454),
17000
+ (20151013204027),
17001
+ (20151013203757),
17002
+ (20151013203739);
17003
+  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
17004
+ 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, "environment"]]
17005
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-07 20:31:53.586765', '2024-06-07 20:31:53.586769') RETURNING "key"
17006
+ 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, "environment"]]
17007
+ 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"]]
17008
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', 'eb07e8bd50a1efed4dd9e6703b0cb4e782fa7a33', '2024-06-07 20:31:53.587741', '2024-06-07 20:31:53.587743') RETURNING "key"
17009
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
17010
+ TRANSACTION (1.7ms) begin transaction
17011
+ ------------------------------------
17012
+ DatabaseTest: test_accessible_tables
17013
+ ------------------------------------
17014
+ TRANSACTION (0.0ms) rollback transaction
17015
+ TRANSACTION (0.0ms) begin transaction
17016
+ -------------------------
17017
+ DatabaseTest: test_tables
17018
+ -------------------------
17019
+ TRANSACTION (0.0ms) rollback transaction
17020
+ TRANSACTION (0.0ms) begin transaction
17021
+ --------------------------
17022
+ DatabaseTest: test_adapter
17023
+ --------------------------
17024
+ TRANSACTION (0.0ms) rollback transaction
17025
+ TRANSACTION (0.0ms) begin transaction
17026
+ -------------------------
17027
+ DatabaseTest: test_insert
17028
+ -------------------------
17029
+ SQL (0.1ms) delete from projects_users
17030
+ SQL (0.0ms) EXPLAIN delete from projects_users
17031
+ User Delete All (0.0ms) DELETE FROM "users"
17032
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
17033
+ SQL (0.1ms) insert into projects_users(project_id, user_id) values(1,2)
17034
+ SQL (0.1ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
17035
+ SQL (0.0ms) SELECT COUNT(*) FROM projects_users
17036
+ TRANSACTION (0.0ms) rollback transaction
17037
+ TRANSACTION (0.0ms) begin transaction
17038
+ ------------------------
17039
+ DatabaseTest: test_query
17040
+ ------------------------
17041
+ User Delete All (0.0ms) DELETE FROM "users"
17042
+ TRANSACTION (0.2ms) SAVEPOINT active_record_1
17043
+ User Create (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:31:53.813700"], ["updated_at", "2024-06-07 20:31:53.813700"]]
17044
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17045
+ SQL (0.1ms) select count(*) as users_count from users
17046
+ SQL (0.1ms) EXPLAIN select count(*) as users_count from users
17047
+ TRANSACTION (0.1ms) rollback transaction
17048
+ TRANSACTION (0.0ms) begin transaction
17049
+ ----------------------------------------------------------------------------------------------------------------------------------
17050
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
17051
+ ----------------------------------------------------------------------------------------------------------------------------------
17052
+ TRANSACTION (0.1ms) rollback transaction
17053
+ TRANSACTION (0.0ms) begin transaction
17054
+ -----------------------------------------------------------------------------------------------------------------------------------------
17055
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
17056
+ -----------------------------------------------------------------------------------------------------------------------------------------
17057
+ TRANSACTION (0.0ms) rollback transaction
17058
+ TRANSACTION (0.0ms) begin transaction
17059
+ ----------------------------------------------------------------------------------------------------------------------------
17060
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
17061
+ ----------------------------------------------------------------------------------------------------------------------------
17062
+ TRANSACTION (0.1ms) rollback transaction
17063
+ TRANSACTION (0.0ms) begin transaction
17064
+ -------------------------------------------------------------------------------------------------------------------------
17065
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
17066
+ -------------------------------------------------------------------------------------------------------------------------
17067
+ TRANSACTION (0.0ms) rollback transaction
17068
+ TRANSACTION (0.0ms) begin transaction
17069
+ ------------------------------------------------------------------------------------------------------------------------------------
17070
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
17071
+ ------------------------------------------------------------------------------------------------------------------------------------
17072
+ TRANSACTION (0.0ms) rollback transaction
17073
+ TRANSACTION (0.0ms) begin transaction
17074
+ ----------------------------------------------
17075
+ DashboardControllerTest: test_should_get_index
17076
+ ----------------------------------------------
17077
+ User Delete All (0.1ms) DELETE FROM "users"
17078
+ Account Delete All (0.0ms) DELETE FROM "accounts"
17079
+ Customer Delete All (0.1ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
17080
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
17081
+ User Create (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:31:53.866221"], ["updated_at", "2024-06-07 20:31:53.866221"]]
17082
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
17083
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17084
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2024-06-07 20:31:53.868125"], ["updated_at", "2024-06-07 20:31:53.868125"]]
17085
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17086
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17087
+ Customer Create (0.5ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2024-06-07 20:31:53.875884"], ["updated_at", "2024-06-07 20:31:53.875884"], ["type", "Customer"]]
17088
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17089
+ Started GET "/rails/db" for 127.0.0.1 at 2024-06-07 23:31:53 +0300
17090
+ Processing by RailsDb::DashboardController#index as HTML
17091
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17092
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
17093
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 51.6ms | Allocations: 30666)
17094
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 5.8ms | Allocations: 2266)
17095
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 2.3ms | Allocations: 944)
17096
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.7ms | Allocations: 409)
17097
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 4.0ms | Allocations: 1491)
17098
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 72.3ms | Allocations: 38232)
17099
+ Completed 200 OK in 1642ms (Views: 77.6ms | ActiveRecord: 0.2ms | Allocations: 1016949)
17100
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17101
+ Processing by RailsDb::TablesController#show as HTML
17102
+ Parameters: {"id"=>"users"}
17103
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17104
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
17105
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.3ms | Allocations: 133)
17106
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 11.7ms | Allocations: 7617)
17107
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 12.7ms | Allocations: 7836)
17108
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | Allocations: 1172)
17109
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 647)
17110
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17111
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 607)
17112
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 17.3ms | Allocations: 12231)
17113
+ Completed 200 OK in 20ms (Views: 14.7ms | ActiveRecord: 4.0ms | Allocations: 12922)
17114
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17115
+ Processing by RailsDb::TablesController#data as HTML
17116
+ Parameters: {"table_id"=>"users"}
17117
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17118
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17119
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
17120
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | Allocations: 18)
17121
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 22.5ms | Allocations: 15799)
17122
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 16.1ms | Allocations: 12907)
17123
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
17124
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 3.3ms | Allocations: 1528)
17125
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.6ms | Allocations: 1203)
17126
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.8ms | Allocations: 1207)
17127
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.3ms | Allocations: 95)
17128
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 85.1ms | Allocations: 59405)
17129
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 85.8ms | Allocations: 59623)
17130
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.9ms | Allocations: 1173)
17131
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.2ms | Allocations: 653)
17132
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
17133
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.8ms | Allocations: 607)
17134
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 91.8ms | Allocations: 63908)
17135
+ Completed 200 OK in 99ms (Views: 88.9ms | ActiveRecord: 3.4ms | Allocations: 66462)
17136
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17137
+ Processing by RailsDb::SqlController#index as HTML
17138
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17139
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
17140
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
17141
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.9ms | Allocations: 431)
17142
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 10.1ms | Allocations: 5355)
17143
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.5ms | Allocations: 1210)
17144
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 651)
17145
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
17146
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
17147
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 17.4ms | Allocations: 10391)
17148
+ Completed 200 OK in 19ms (Views: 15.8ms | ActiveRecord: 2.4ms | Allocations: 10955)
17149
+ Started GET "/rails/db/import" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17150
+ Processing by RailsDb::SqlController#import as HTML
17151
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17152
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
17153
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.3ms | Allocations: 104)
17154
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 1.7ms | Allocations: 652)
17155
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.5ms | Allocations: 1209)
17156
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 646)
17157
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17158
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 2.1ms | Allocations: 608)
17159
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 24.1ms | Allocations: 5107)
17160
+ Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.1ms | Allocations: 5377)
17161
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17162
+ Processing by RailsDb::DashboardController#data_table as HTML
17163
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17164
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
17165
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 1.1ms | Allocations: 1052)
17166
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.2ms | Allocations: 1210)
17167
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 646)
17168
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17169
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 608)
17170
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.6ms | Allocations: 5519)
17171
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.1ms | Allocations: 5716)
17172
+ Started GET "/" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17173
+ Processing by HomeController#index as HTML
17174
+ Rendering layout layouts/application.html.erb
17175
+ Rendering home/index.html.erb within layouts/application
17176
+ SQL (0.3ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
17177
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.2ms | Allocations: 638)
17178
+ SQL (0.1ms) select id, name, age from users order by age desc limit 10
17179
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.6ms | Allocations: 482)
17180
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17181
+ Customer Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
17182
+ Account Count (0.1ms) SELECT COUNT(*) FROM "accounts"
17183
+ Rendered home/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 2934)
17184
+ Rendered layout layouts/application.html.erb (Duration: 9.4ms | Allocations: 4785)
17185
+ Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.8ms | Allocations: 5935)
17186
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17187
+ Processing by RailsDb::TablesController#data as HTML
17188
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
17189
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17190
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17191
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
17192
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
17193
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 15.0ms | Allocations: 12900)
17194
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 15.0ms | Allocations: 12809)
17195
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
17196
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.6ms | Allocations: 1235)
17197
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.4ms | Allocations: 1209)
17198
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.5ms | Allocations: 1213)
17199
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 9)
17200
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 63.3ms | Allocations: 54052)
17201
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 63.4ms | Allocations: 54108)
17202
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.6ms | Allocations: 1173)
17203
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 652)
17204
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17205
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 607)
17206
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 67.6ms | Allocations: 58390)
17207
+ Completed 200 OK in 71ms (Views: 65.8ms | ActiveRecord: 2.4ms | Allocations: 60273)
17208
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17209
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17210
+ Processing by RailsDb::TablesController#destroy as HTML
17211
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
17212
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17213
+  (0.0ms) DELETE FROM users WHERE id = '1';
17214
+ Redirected to http://www.example.com/rails/db/tables/users/data
17215
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms | Allocations: 2133)
17216
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17217
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17218
+ Processing by RailsDb::TablesController#csv as HTML
17219
+ Parameters: {"table_id"=>"users"}
17220
+ SQL (0.1ms) SELECT * FROM users
17221
+ Rendering text template
17222
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
17223
+ Sent data users.csv (3.9ms)
17224
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms | Allocations: 1257)
17225
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17226
+ Processing by RailsDb::DashboardController#standalone as HTML
17227
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17228
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
17229
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 1.4ms | Allocations: 1111)
17230
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.8ms | Allocations: 1232)
17231
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.2ms | Allocations: 672)
17232
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17233
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
17234
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 7.3ms | Allocations: 5712)
17235
+ Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.2ms | Allocations: 5942)
17236
+ Started GET "/rails/db/tables/users/xlsx.xls" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17237
+ Processing by RailsDb::TablesController#xlsx as XLS
17238
+ Parameters: {"table_id"=>"users"}
17239
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx
17240
+ SQL (0.1ms) SELECT * FROM users
17241
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx (Duration: 10.8ms | Allocations: 6454)
17242
+ Rendering text template
17243
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
17244
+ Sent data users.xlsx (0.3ms)
17245
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.4ms | Allocations: 7003)
17246
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17247
+ Processing by RailsDb::SqlController#index as HTML
17248
+ Parameters: {"sql"=>"select * from users limit 10"}
17249
+ SQL (0.1ms) select * from users limit 10
17250
+ SQL (0.1ms) EXPLAIN select * from users limit 10
17251
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17252
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
17253
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 17)
17254
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.3ms | Allocations: 326)
17255
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.4ms | Allocations: 351)
17256
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 2.1ms | Allocations: 1224)
17257
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 8.2ms | Allocations: 5832)
17258
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.5ms | Allocations: 1201)
17259
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 646)
17260
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17261
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 608)
17262
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 12.9ms | Allocations: 10275)
17263
+ Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 1.9ms | Allocations: 10759)
17264
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17265
+ Processing by RailsDb::SqlController#csv as CSV
17266
+ Parameters: {"sql"=>"select * from users limit 10"}
17267
+ SQL (0.1ms) select * from users limit 10
17268
+ SQL (0.1ms) EXPLAIN select * from users limit 10
17269
+ Rendering text template
17270
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
17271
+ Sent data results.csv (0.4ms)
17272
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 667)
17273
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17274
+ Processing by RailsDb::SqlController#xls as XLS
17275
+ Parameters: {"sql"=>"select * from users limit 10"}
17276
+ SQL (0.6ms) select * from users limit 10
17277
+ SQL (0.3ms) EXPLAIN select * from users limit 10
17278
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx
17279
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 5.9ms | Allocations: 3753)
17280
+ Rendering text template
17281
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
17282
+ Sent data results.xlsx (0.3ms)
17283
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.9ms | Allocations: 4478)
17284
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17285
+ Processing by RailsDb::TablesController#edit as JS
17286
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
17287
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17288
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
17289
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb
17290
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 58.0ms | Allocations: 55358)
17291
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 60.8ms | Allocations: 59291)
17292
+ Completed 200 OK in 68ms (Views: 59.8ms | ActiveRecord: 2.5ms | Allocations: 65284)
17293
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17294
+ Processing by RailsDb::TablesController#update as JS
17295
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
17296
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17297
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
17298
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17299
+ #<Class:0x0000000113df4760> Update (0.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2024-06-07 20:31:55.985699"], ["id", 2]]
17300
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17301
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb
17302
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.7ms | Allocations: 1290)
17303
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.6ms | Allocations: 1888)
17304
+ Completed 200 OK in 11ms (Views: 2.4ms | ActiveRecord: 1.1ms | Allocations: 8314)
17305
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
17306
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2024-06-07 23:31:55 +0300
17307
+ Processing by RailsDb::TablesController#new as JS
17308
+ Parameters: {"table_id"=>"users"}
17309
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17310
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/new.js.erb
17311
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 9.0ms | Allocations: 7790)
17312
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 10.5ms | Allocations: 9033)
17313
+ Completed 200 OK in 16ms (Views: 9.3ms | ActiveRecord: 1.8ms | Allocations: 14389)
17314
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17315
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2024-06-07 23:31:56 +0300
17316
+ Processing by RailsDb::TablesController#create as JS
17317
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
17318
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17319
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17320
+ #<Class:0x0000000114014248> Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2024-06-07 20:31:56.016818"], ["updated_at", "2024-06-07 20:31:56.016818"]]
17321
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17322
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/create.js.erb
17323
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
17324
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 15.0ms | Allocations: 12901)
17325
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 14.3ms | Allocations: 12809)
17326
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
17327
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.6ms | Allocations: 1212)
17328
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.6ms | Allocations: 1213)
17329
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.5ms | Allocations: 1209)
17330
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 9)
17331
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 71.1ms | Allocations: 50112)
17332
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 73.2ms | Allocations: 53562)
17333
+ Completed 200 OK in 82ms (Views: 71.3ms | ActiveRecord: 2.9ms | Allocations: 60216)
17334
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17335
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2024-06-07 23:31:56 +0300
17336
+ Processing by RailsDb::TablesController#edit as JS
17337
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
17338
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17339
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
17340
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb
17341
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 11.6ms | Allocations: 11875)
17342
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 13.6ms | Allocations: 15590)
17343
+ Completed 200 OK in 19ms (Views: 12.2ms | ActiveRecord: 1.9ms | Allocations: 21143)
17344
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2024-06-07 23:31:56 +0300
17345
+ Processing by RailsDb::TablesController#update as JS
17346
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
17347
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17348
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
17349
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17350
+ #<Class:0x0000000112e7e7b8> Update (0.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2024-06-07 20:31:56.122812"], ["id", 3]]
17351
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17352
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb
17353
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.8ms | Allocations: 1290)
17354
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.3ms | Allocations: 1753)
17355
+ Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 1.0ms | Allocations: 7930)
17356
+ Customer Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
17357
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2024-06-07 23:31:56 +0300
17358
+ Processing by RailsDb::DashboardController#index as HTML
17359
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17360
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
17361
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.5ms | Allocations: 511)
17362
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.3ms | Allocations: 1230)
17363
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 653)
17364
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17365
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 613)
17366
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 4.6ms | Allocations: 5076)
17367
+ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.1ms | Allocations: 5276)
17368
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2024-06-07 23:31:56 +0300
17369
+ Processing by RailsDb::SqlController#index as HTML
17370
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17371
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
17372
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 17)
17373
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.3ms | Allocations: 322)
17374
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 5.1ms | Allocations: 4480)
17375
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.2ms | Allocations: 1209)
17376
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 646)
17377
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17378
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 613)
17379
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 9.1ms | Allocations: 8936)
17380
+ Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 1.8ms | Allocations: 9146)
17381
+ TRANSACTION (0.1ms) rollback transaction
17382
+ TRANSACTION (0.0ms) begin transaction
17383
+ -----------------------
17384
+ TableTest: test_columns
17385
+ -----------------------
17386
+ TRANSACTION (0.0ms) rollback transaction
17387
+ TRANSACTION (0.0ms) begin transaction
17388
+ ---------------------------
17389
+ TableTest: test_primary_key
17390
+ ---------------------------
17391
+ TRANSACTION (0.0ms) rollback transaction
17392
+ TRANSACTION (0.0ms) begin transaction
17393
+ ------------------------
17394
+ TableTest: test_truncate
17395
+ ------------------------
17396
+ User Delete All (0.1ms) DELETE FROM "users"
17397
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17398
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:31:56.149677"], ["updated_at", "2024-06-07 20:31:56.149677"]]
17399
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17400
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17401
+  (0.0ms) DELETE FROM users;
17402
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17403
+ TRANSACTION (0.0ms) rollback transaction
17404
+ TRANSACTION (0.0ms) begin transaction
17405
+ -----------------------
17406
+ TableTest: test_ransack
17407
+ -----------------------
17408
+ User Delete All (0.0ms) DELETE FROM "users"
17409
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17410
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2024-06-07 20:31:56.152423"], ["updated_at", "2024-06-07 20:31:56.152423"]]
17411
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17412
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17413
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2024-06-07 20:31:56.153266"], ["updated_at", "2024-06-07 20:31:56.153266"]]
17414
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17415
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17416
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2024-06-07 20:31:56.154091"], ["updated_at", "2024-06-07 20:31:56.154091"]]
17417
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17418
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17419
+  Pluck (0.1ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
17420
+ TRANSACTION (0.0ms) rollback transaction
17421
+ TRANSACTION (0.0ms) begin transaction
17422
+ ------------------------
17423
+ TableTest: test_as_table
17424
+ ------------------------
17425
+ User Delete All (0.0ms) DELETE FROM "users"
17426
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17427
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:31:56.157399"], ["updated_at", "2024-06-07 20:31:56.157399"]]
17428
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17429
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17430
+  Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
17431
+ TRANSACTION (0.1ms) rollback transaction
17432
+ TRANSACTION (0.0ms) begin transaction
17433
+ ----------------------
17434
+ TableTest: test_delete
17435
+ ----------------------
17436
+ User Delete All (0.0ms) DELETE FROM "users"
17437
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17438
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:31:56.163590"], ["updated_at", "2024-06-07 20:31:56.163590"]]
17439
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17440
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17441
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2024-06-07 20:31:56.164387"], ["updated_at", "2024-06-07 20:31:56.164387"]]
17442
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17443
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17444
+  (0.0ms) DELETE FROM users WHERE id = 1;
17445
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17446
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
17447
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
17448
+ TRANSACTION (0.1ms) rollback transaction
17449
+ TRANSACTION (0.0ms) begin transaction
17450
+ ----------------------
17451
+ TableTest: test_to_csv
17452
+ ----------------------
17453
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17454
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:31:56.167722"], ["updated_at", "2024-06-07 20:31:56.167722"]]
17455
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17456
+ SQL (0.1ms) SELECT * FROM users
17457
+ TRANSACTION (0.0ms) rollback transaction
17458
+ TRANSACTION (0.0ms) begin transaction
17459
+ --------------------------
17460
+ SqlImportTest: test_import
17461
+ --------------------------
17462
+  (0.1ms) update users set age = 11 where id = 1
17463
+  (0.0ms) update users set age = 22 where id = 2
17464
+  (0.0ms) update users set age = 33 where id = 3
17465
+  (0.0ms) 
17466
+ DROP TABLE IF EXISTS t
17467
+  (0.2ms) 
17468
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
17469
+ TRANSACTION (0.1ms) rollback transaction
17470
+ TRANSACTION (0.0ms) begin transaction
17471
+ -----------------------
17472
+ RailsDbTest: test_truth
17473
+ -----------------------
17474
+ TRANSACTION (0.0ms) rollback transaction
17475
+ TRANSACTION (0.0ms) begin transaction
17476
+ ------------------------------------
17477
+ RailsDbTest: test_verify_access_proc
17478
+ ------------------------------------
17479
+ TRANSACTION (0.0ms) rollback transaction
17480
+ TRANSACTION (0.0ms) begin transaction
17481
+ --------------------------------------------------------------
17482
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
17483
+ --------------------------------------------------------------
17484
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17485
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:31:56.176756"], ["updated_at", "2024-06-07 20:31:56.176756"]]
17486
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17487
+ SQL (0.1ms) select * from users
17488
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 70)
17489
+ TRANSACTION (0.0ms) rollback transaction
17490
+ TRANSACTION (0.0ms) begin transaction
17491
+ --------------------------------------------------------------------
17492
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
17493
+ --------------------------------------------------------------------
17494
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17495
+ User Create (0.3ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2024-06-07 20:31:56.180019"], ["updated_at", "2024-06-07 20:31:56.180019"]]
17496
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17497
+ SQL (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
17498
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 142)
17499
+ TRANSACTION (0.1ms) rollback transaction
17500
+ TRANSACTION (0.0ms) begin transaction
17501
+ ----------------------------------------------------------
17502
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
17503
+ ----------------------------------------------------------
17504
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17505
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:31:56.183017"], ["updated_at", "2024-06-07 20:31:56.183017"]]
17506
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17507
+ SQL (0.1ms) SELECT * FROM users
17508
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.4ms | Allocations: 1042)
17509
+ TRANSACTION (0.0ms) rollback transaction
17510
+ TRANSACTION (0.0ms) begin transaction
17511
+ ------------------------------------------------------------------------
17512
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
17513
+ ------------------------------------------------------------------------
17514
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17515
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:31:56.186554"], ["updated_at", "2024-06-07 20:31:56.186554"]]
17516
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17517
+ SQL (0.1ms) select * from users
17518
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 89)
17519
+ TRANSACTION (0.0ms) rollback transaction
17520
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
17521
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
17522
+ TRANSACTION (0.1ms) begin transaction
17523
+ ------------------------------------
17524
+ RailsDbTest: test_verify_access_proc
17525
+ ------------------------------------
17526
+ TRANSACTION (0.0ms) rollback transaction
17527
+ TRANSACTION (0.0ms) begin transaction
17528
+ -----------------------
17529
+ RailsDbTest: test_truth
17530
+ -----------------------
17531
+ TRANSACTION (0.0ms) rollback transaction
17532
+ TRANSACTION (0.0ms) begin transaction
17533
+ --------------------------------------------------------------
17534
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
17535
+ --------------------------------------------------------------
17536
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
17537
+ User Create (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:32:16.276251"], ["updated_at", "2024-06-07 20:32:16.276251"]]
17538
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17539
+ SQL (0.1ms) select * from users
17540
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 1.0ms | Allocations: 644)
17541
+ TRANSACTION (0.1ms) rollback transaction
17542
+ TRANSACTION (0.0ms) begin transaction
17543
+ ----------------------------------------------------------
17544
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
17545
+ ----------------------------------------------------------
17546
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17547
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.784987"], ["updated_at", "2024-06-07 20:32:17.784987"]]
17548
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17549
+ SQL (0.1ms) SELECT * FROM users
17550
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 2.5ms | Allocations: 1560)
17551
+ TRANSACTION (0.0ms) rollback transaction
17552
+ TRANSACTION (0.0ms) begin transaction
17553
+ --------------------------------------------------------------------
17554
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
17555
+ --------------------------------------------------------------------
17556
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17557
+ User Create (0.3ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2024-06-07 20:32:17.791321"], ["updated_at", "2024-06-07 20:32:17.791321"]]
17558
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17559
+ SQL (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
17560
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 133)
17561
+ TRANSACTION (0.0ms) rollback transaction
17562
+ TRANSACTION (0.0ms) begin transaction
17563
+ ------------------------------------------------------------------------
17564
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
17565
+ ------------------------------------------------------------------------
17566
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17567
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.793971"], ["updated_at", "2024-06-07 20:32:17.793971"]]
17568
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17569
+ SQL (0.1ms) select * from users
17570
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 89)
17571
+ TRANSACTION (0.0ms) rollback transaction
17572
+ TRANSACTION (0.0ms) begin transaction
17573
+ --------------------------
17574
+ DatabaseTest: test_adapter
17575
+ --------------------------
17576
+ TRANSACTION (0.0ms) rollback transaction
17577
+ TRANSACTION (0.0ms) begin transaction
17578
+ ------------------------------------
17579
+ DatabaseTest: test_accessible_tables
17580
+ ------------------------------------
17581
+ TRANSACTION (0.0ms) rollback transaction
17582
+ TRANSACTION (0.0ms) begin transaction
17583
+ -------------------------
17584
+ DatabaseTest: test_insert
17585
+ -------------------------
17586
+ SQL (0.4ms) delete from projects_users
17587
+ SQL (0.1ms) EXPLAIN delete from projects_users
17588
+ User Delete All (0.1ms) DELETE FROM "users"
17589
+ SQL (0.1ms) SELECT COUNT(*) FROM projects_users
17590
+ SQL (0.1ms) insert into projects_users(project_id, user_id) values(1,2)
17591
+ SQL (0.1ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
17592
+ SQL (0.1ms) SELECT COUNT(*) FROM projects_users
17593
+ TRANSACTION (0.1ms) rollback transaction
17594
+ TRANSACTION (0.0ms) begin transaction
17595
+ ------------------------
17596
+ DatabaseTest: test_query
17597
+ ------------------------
17598
+ User Delete All (0.1ms) DELETE FROM "users"
17599
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17600
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.812634"], ["updated_at", "2024-06-07 20:32:17.812634"]]
17601
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17602
+ SQL (0.1ms) select count(*) as users_count from users
17603
+ SQL (0.1ms) EXPLAIN select count(*) as users_count from users
17604
+ TRANSACTION (0.0ms) rollback transaction
17605
+ TRANSACTION (0.0ms) begin transaction
17606
+ -------------------------
17607
+ DatabaseTest: test_tables
17608
+ -------------------------
17609
+ TRANSACTION (0.0ms) rollback transaction
17610
+ TRANSACTION (0.0ms) begin transaction
17611
+ -----------------------
17612
+ TableTest: test_columns
17613
+ -----------------------
17614
+ TRANSACTION (0.0ms) rollback transaction
17615
+ TRANSACTION (0.0ms) begin transaction
17616
+ ----------------------
17617
+ TableTest: test_to_csv
17618
+ ----------------------
17619
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17620
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:32:17.818061"], ["updated_at", "2024-06-07 20:32:17.818061"]]
17621
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17622
+ SQL (0.1ms) SELECT * FROM users
17623
+ TRANSACTION (0.0ms) rollback transaction
17624
+ TRANSACTION (0.0ms) begin transaction
17625
+ ---------------------------
17626
+ TableTest: test_primary_key
17627
+ ---------------------------
17628
+ TRANSACTION (0.0ms) rollback transaction
17629
+ TRANSACTION (0.0ms) begin transaction
17630
+ ------------------------
17631
+ TableTest: test_truncate
17632
+ ------------------------
17633
+ User Delete All (0.0ms) DELETE FROM "users"
17634
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17635
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:32:17.822230"], ["updated_at", "2024-06-07 20:32:17.822230"]]
17636
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17637
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17638
+  (0.0ms) DELETE FROM users;
17639
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17640
+ TRANSACTION (0.0ms) rollback transaction
17641
+ TRANSACTION (0.0ms) begin transaction
17642
+ ------------------------
17643
+ TableTest: test_as_table
17644
+ ------------------------
17645
+ User Delete All (0.0ms) DELETE FROM "users"
17646
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17647
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:32:17.824805"], ["updated_at", "2024-06-07 20:32:17.824805"]]
17648
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17649
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17650
+  Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
17651
+ TRANSACTION (0.0ms) rollback transaction
17652
+ TRANSACTION (0.0ms) begin transaction
17653
+ -----------------------
17654
+ TableTest: test_ransack
17655
+ -----------------------
17656
+ User Delete All (0.1ms) DELETE FROM "users"
17657
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17658
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2024-06-07 20:32:17.832907"], ["updated_at", "2024-06-07 20:32:17.832907"]]
17659
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17660
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17661
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2024-06-07 20:32:17.833883"], ["updated_at", "2024-06-07 20:32:17.833883"]]
17662
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
17663
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17664
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2024-06-07 20:32:17.834698"], ["updated_at", "2024-06-07 20:32:17.834698"]]
17665
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17666
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17667
+  Pluck (0.1ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
17668
+ TRANSACTION (0.0ms) rollback transaction
17669
+ TRANSACTION (0.2ms) begin transaction
17670
+ ----------------------
17671
+ TableTest: test_delete
17672
+ ----------------------
17673
+ User Delete All (0.0ms) DELETE FROM "users"
17674
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17675
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:32:17.841342"], ["updated_at", "2024-06-07 20:32:17.841342"]]
17676
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17677
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17678
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2024-06-07 20:32:17.842550"], ["updated_at", "2024-06-07 20:32:17.842550"]]
17679
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17680
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17681
+  (0.1ms) DELETE FROM users WHERE id = 1;
17682
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17683
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
17684
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
17685
+ TRANSACTION (0.1ms) rollback transaction
17686
+ TRANSACTION (0.0ms) begin transaction
17687
+ --------------------------
17688
+ SqlImportTest: test_import
17689
+ --------------------------
17690
+  (0.1ms) update users set age = 11 where id = 1
17691
+  (0.0ms) update users set age = 22 where id = 2
17692
+  (0.0ms) update users set age = 33 where id = 3
17693
+  (0.0ms) 
17694
+ DROP TABLE IF EXISTS t
17695
+  (0.2ms) 
17696
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
17697
+ TRANSACTION (0.1ms) rollback transaction
17698
+ TRANSACTION (0.0ms) begin transaction
17699
+ ----------------------------------------------------------------------------------------------------------------------------------
17700
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
17701
+ ----------------------------------------------------------------------------------------------------------------------------------
17702
+ TRANSACTION (0.0ms) rollback transaction
17703
+ TRANSACTION (0.0ms) begin transaction
17704
+ ----------------------------------------------------------------------------------------------------------------------------
17705
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
17706
+ ----------------------------------------------------------------------------------------------------------------------------
17707
+ TRANSACTION (0.0ms) rollback transaction
17708
+ TRANSACTION (0.0ms) begin transaction
17709
+ ------------------------------------------------------------------------------------------------------------------------------------
17710
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
17711
+ ------------------------------------------------------------------------------------------------------------------------------------
17712
+ TRANSACTION (0.0ms) rollback transaction
17713
+ TRANSACTION (0.0ms) begin transaction
17714
+ -----------------------------------------------------------------------------------------------------------------------------------------
17715
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
17716
+ -----------------------------------------------------------------------------------------------------------------------------------------
17717
+ TRANSACTION (0.0ms) rollback transaction
17718
+ TRANSACTION (0.0ms) begin transaction
17719
+ -------------------------------------------------------------------------------------------------------------------------
17720
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
17721
+ -------------------------------------------------------------------------------------------------------------------------
17722
+ TRANSACTION (0.0ms) rollback transaction
17723
+ TRANSACTION (0.0ms) begin transaction
17724
+ ----------------------------------------------
17725
+ DashboardControllerTest: test_should_get_index
17726
+ ----------------------------------------------
17727
+ User Delete All (0.5ms) DELETE FROM "users"
17728
+ Account Delete All (0.1ms) DELETE FROM "accounts"
17729
+ Customer Delete All (0.1ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
17730
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
17731
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.898105"], ["updated_at", "2024-06-07 20:32:17.898105"]]
17732
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
17733
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17734
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2024-06-07 20:32:17.899754"], ["updated_at", "2024-06-07 20:32:17.899754"]]
17735
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17736
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17737
+ Customer Create (0.2ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2024-06-07 20:32:17.905148"], ["updated_at", "2024-06-07 20:32:17.905148"], ["type", "Customer"]]
17738
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17739
+ Started GET "/rails/db" for 127.0.0.1 at 2024-06-07 23:32:17 +0300
17740
+ Processing by RailsDb::DashboardController#index as HTML
17741
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17742
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
17743
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 54.2ms | Allocations: 30541)
17744
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 4.4ms | Allocations: 2257)
17745
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.5ms | Allocations: 944)
17746
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.6ms | Allocations: 409)
17747
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 2.5ms | Allocations: 1491)
17748
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 70.6ms | Allocations: 38053)
17749
+ Completed 200 OK in 78ms (Views: 73.2ms | ActiveRecord: 0.2ms | Allocations: 40252)
17750
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2024-06-07 23:32:17 +0300
17751
+ Processing by RailsDb::TablesController#show as HTML
17752
+ Parameters: {"id"=>"users"}
17753
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17754
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
17755
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.3ms | Allocations: 133)
17756
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 11.4ms | Allocations: 7594)
17757
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 12.2ms | Allocations: 7813)
17758
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | Allocations: 1172)
17759
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 647)
17760
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
17761
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.8ms | Allocations: 607)
17762
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 17.6ms | Allocations: 12208)
17763
+ Completed 200 OK in 20ms (Views: 14.3ms | ActiveRecord: 4.2ms | Allocations: 12895)
17764
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17765
+ Processing by RailsDb::TablesController#data as HTML
17766
+ Parameters: {"table_id"=>"users"}
17767
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17768
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17769
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
17770
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
17771
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 25.0ms | Allocations: 15797)
17772
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 18.8ms | Allocations: 12907)
17773
+  Load (0.4ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
17774
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 6.8ms | Allocations: 1527)
17775
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 4.6ms | Allocations: 1203)
17776
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 6.1ms | Allocations: 1207)
17777
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.3ms | Allocations: 95)
17778
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 157.7ms | Allocations: 59297)
17779
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 158.8ms | Allocations: 59515)
17780
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.9ms | Allocations: 1173)
17781
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.2ms | Allocations: 653)
17782
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17783
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.2ms | Allocations: 607)
17784
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 165.3ms | Allocations: 63799)
17785
+ Completed 200 OK in 170ms (Views: 158.1ms | ActiveRecord: 8.0ms | Allocations: 65777)
17786
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17787
+ Processing by RailsDb::SqlController#index as HTML
17788
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17789
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
17790
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.1ms | Allocations: 18)
17791
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.8ms | Allocations: 492)
17792
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 10.6ms | Allocations: 5414)
17793
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | Allocations: 1217)
17794
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 651)
17795
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17796
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 608)
17797
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 17.8ms | Allocations: 10467)
17798
+ Completed 200 OK in 20ms (Views: 16.6ms | ActiveRecord: 2.3ms | Allocations: 11032)
17799
+ Started GET "/rails/db/import" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17800
+ Processing by RailsDb::SqlController#import as HTML
17801
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17802
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
17803
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.3ms | Allocations: 104)
17804
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 1.7ms | Allocations: 652)
17805
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.8ms | Allocations: 1201)
17806
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.6ms | Allocations: 646)
17807
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
17808
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.0ms | Allocations: 608)
17809
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 8.2ms | Allocations: 5099)
17810
+ Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.2ms | Allocations: 5369)
17811
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17812
+ Processing by RailsDb::DashboardController#data_table as HTML
17813
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17814
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
17815
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 1.2ms | Allocations: 1050)
17816
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | Allocations: 1210)
17817
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 646)
17818
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17819
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 608)
17820
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.8ms | Allocations: 5508)
17821
+ Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.1ms | Allocations: 5705)
17822
+ Started GET "/" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17823
+ Processing by HomeController#index as HTML
17824
+ Rendering layout layouts/application.html.erb
17825
+ Rendering home/index.html.erb within layouts/application
17826
+ SQL (0.1ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
17827
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.4ms | Allocations: 141)
17828
+ SQL (0.1ms) select id, name, age from users order by age desc limit 10
17829
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 39)
17830
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17831
+ Customer Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
17832
+ Account Count (0.1ms) SELECT COUNT(*) FROM "accounts"
17833
+ Rendered home/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 1769)
17834
+ Rendered layout layouts/application.html.erb (Duration: 7.7ms | Allocations: 3620)
17835
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.7ms | Allocations: 4771)
17836
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17837
+ Processing by RailsDb::TablesController#data as HTML
17838
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
17839
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17840
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17841
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
17842
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
17843
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 16.0ms | Allocations: 12900)
17844
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 16.3ms | Allocations: 12809)
17845
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
17846
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.4ms | Allocations: 1235)
17847
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.2ms | Allocations: 1209)
17848
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.8ms | Allocations: 1213)
17849
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 9)
17850
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 77.3ms | Allocations: 54052)
17851
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 77.5ms | Allocations: 54108)
17852
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.3ms | Allocations: 1173)
17853
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 652)
17854
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
17855
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.8ms | Allocations: 607)
17856
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 82.0ms | Allocations: 58390)
17857
+ Completed 200 OK in 86ms (Views: 79.3ms | ActiveRecord: 3.2ms | Allocations: 60273)
17858
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17859
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17860
+ Processing by RailsDb::TablesController#destroy as HTML
17861
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
17862
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17863
+  (0.1ms) DELETE FROM users WHERE id = '1';
17864
+ Redirected to http://www.example.com/rails/db/tables/users/data
17865
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms | Allocations: 2123)
17866
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17867
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17868
+ Processing by RailsDb::TablesController#csv as HTML
17869
+ Parameters: {"table_id"=>"users"}
17870
+ SQL (0.1ms) SELECT * FROM users
17871
+ Rendering text template
17872
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
17873
+ Sent data users.csv (3.4ms)
17874
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms | Allocations: 1211)
17875
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17876
+ Processing by RailsDb::DashboardController#standalone as HTML
17877
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17878
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
17879
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 1.2ms | Allocations: 1111)
17880
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.9ms | Allocations: 1232)
17881
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.2ms | Allocations: 672)
17882
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17883
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
17884
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 7.1ms | Allocations: 5712)
17885
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.1ms | Allocations: 5942)
17886
+ Started GET "/rails/db/tables/users/xlsx.xls" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17887
+ Processing by RailsDb::TablesController#xlsx as XLS
17888
+ Parameters: {"table_id"=>"users"}
17889
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx
17890
+ SQL (0.1ms) SELECT * FROM users
17891
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx (Duration: 11.4ms | Allocations: 6454)
17892
+ Rendering text template
17893
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
17894
+ Sent data users.xlsx (0.4ms)
17895
+ Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.3ms | Allocations: 7003)
17896
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17897
+ Processing by RailsDb::SqlController#index as HTML
17898
+ Parameters: {"sql"=>"select * from users limit 10"}
17899
+ SQL (0.1ms) select * from users limit 10
17900
+ SQL (0.1ms) EXPLAIN select * from users limit 10
17901
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
17902
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
17903
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 17)
17904
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.4ms | Allocations: 387)
17905
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.4ms | Allocations: 351)
17906
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 2.1ms | Allocations: 1224)
17907
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 8.9ms | Allocations: 5893)
17908
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.5ms | Allocations: 1201)
17909
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 646)
17910
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
17911
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
17912
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 13.6ms | Allocations: 10336)
17913
+ Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 2.2ms | Allocations: 10820)
17914
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17915
+ Processing by RailsDb::SqlController#csv as CSV
17916
+ Parameters: {"sql"=>"select * from users limit 10"}
17917
+ SQL (0.2ms) select * from users limit 10
17918
+ SQL (0.1ms) EXPLAIN select * from users limit 10
17919
+ Rendering text template
17920
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
17921
+ Sent data results.csv (0.5ms)
17922
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms | Allocations: 667)
17923
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17924
+ Processing by RailsDb::SqlController#xls as XLS
17925
+ Parameters: {"sql"=>"select * from users limit 10"}
17926
+ SQL (0.1ms) select * from users limit 10
17927
+ SQL (0.1ms) EXPLAIN select * from users limit 10
17928
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx
17929
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 6.9ms | Allocations: 3753)
17930
+ Rendering text template
17931
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
17932
+ Sent data results.xlsx (0.3ms)
17933
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.2ms | Allocations: 4478)
17934
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17935
+ Processing by RailsDb::TablesController#edit as JS
17936
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
17937
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17938
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
17939
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb
17940
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 58.5ms | Allocations: 55357)
17941
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 62.2ms | Allocations: 59290)
17942
+ Completed 200 OK in 70ms (Views: 60.6ms | ActiveRecord: 2.8ms | Allocations: 65270)
17943
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17944
+ Processing by RailsDb::TablesController#update as JS
17945
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
17946
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17947
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
17948
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17949
+ #<Class:0x0000000112d7e4d0> Update (0.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2024-06-07 20:32:18.531354"], ["id", 2]]
17950
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
17951
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb
17952
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.8ms | Allocations: 1290)
17953
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.7ms | Allocations: 1888)
17954
+ Completed 200 OK in 12ms (Views: 2.4ms | ActiveRecord: 1.3ms | Allocations: 8309)
17955
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
17956
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17957
+ Processing by RailsDb::TablesController#new as JS
17958
+ Parameters: {"table_id"=>"users"}
17959
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17960
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/new.js.erb
17961
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 12.9ms | Allocations: 7790)
17962
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 15.1ms | Allocations: 9033)
17963
+ Completed 200 OK in 21ms (Views: 13.3ms | ActiveRecord: 2.5ms | Allocations: 14389)
17964
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
17965
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17966
+ Processing by RailsDb::TablesController#create as JS
17967
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
17968
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17969
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
17970
+ #<Class:0x0000000112f8cf38> Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2024-06-07 20:32:18.567827"], ["updated_at", "2024-06-07 20:32:18.567827"]]
17971
+ TRANSACTION (0.2ms) RELEASE SAVEPOINT active_record_1
17972
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/create.js.erb
17973
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
17974
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 15.1ms | Allocations: 12899)
17975
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 16.1ms | Allocations: 12807)
17976
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
17977
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.7ms | Allocations: 1212)
17978
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.7ms | Allocations: 1213)
17979
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.5ms | Allocations: 1209)
17980
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 9)
17981
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 65.7ms | Allocations: 50105)
17982
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 67.8ms | Allocations: 53555)
17983
+ Completed 200 OK in 77ms (Views: 65.7ms | ActiveRecord: 3.3ms | Allocations: 60208)
17984
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
17985
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17986
+ Processing by RailsDb::TablesController#edit as JS
17987
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
17988
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17989
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
17990
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb
17991
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 24.2ms | Allocations: 11875)
17992
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 26.5ms | Allocations: 15590)
17993
+ Completed 200 OK in 32ms (Views: 24.6ms | ActiveRecord: 2.4ms | Allocations: 21119)
17994
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
17995
+ Processing by RailsDb::TablesController#update as JS
17996
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
17997
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
17998
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
17999
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
18000
+ #<Class:0x0000000111a7ded0> Update (0.3ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2024-06-07 20:32:18.684424"], ["id", 3]]
18001
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18002
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb
18003
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.9ms | Allocations: 1290)
18004
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.7ms | Allocations: 1753)
18005
+ Completed 200 OK in 12ms (Views: 2.2ms | ActiveRecord: 1.5ms | Allocations: 7955)
18006
+ Customer Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
18007
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
18008
+ Processing by RailsDb::DashboardController#index as HTML
18009
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18010
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
18011
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.5ms | Allocations: 511)
18012
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.9ms | Allocations: 1230)
18013
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 653)
18014
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18015
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 613)
18016
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 5.7ms | Allocations: 5076)
18017
+ Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.1ms | Allocations: 5276)
18018
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2024-06-07 23:32:18 +0300
18019
+ Processing by RailsDb::SqlController#index as HTML
18020
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18021
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
18022
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 17)
18023
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.4ms | Allocations: 383)
18024
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 6.8ms | Allocations: 4541)
18025
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | Allocations: 1209)
18026
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 646)
18027
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18028
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 613)
18029
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 12.0ms | Allocations: 8997)
18030
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 2.1ms | Allocations: 9207)
18031
+ TRANSACTION (0.1ms) rollback transaction
18032
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "schema_sha1"]]
18033
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
18034
+ TRANSACTION (0.1ms) begin transaction
18035
+ --------------------------------------------------------------
18036
+ RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
18037
+ --------------------------------------------------------------
18038
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
18039
+ User Create (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:33:09.593083"], ["updated_at", "2024-06-07 20:33:09.593083"]]
18040
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18041
+ SQL (0.1ms) select * from users
18042
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 1.0ms | Allocations: 644)
18043
+ TRANSACTION (0.1ms) rollback transaction
18044
+ TRANSACTION (0.0ms) begin transaction
18045
+ ------------------------------------------------------------------------
18046
+ RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
18047
+ ------------------------------------------------------------------------
18048
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
18049
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.121840"], ["updated_at", "2024-06-07 20:33:11.121840"]]
18050
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18051
+ SQL (0.1ms) select * from users
18052
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 89)
18053
+ TRANSACTION (0.0ms) rollback transaction
18054
+ TRANSACTION (0.0ms) begin transaction
18055
+ ----------------------------------------------------------
18056
+ RailsDbHelpersTest: test_default_rails_db_data_table_works
18057
+ ----------------------------------------------------------
18058
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
18059
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.125186"], ["updated_at", "2024-06-07 20:33:11.125186"]]
18060
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18061
+ SQL (0.1ms) SELECT * FROM users
18062
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 2.3ms | Allocations: 1551)
18063
+ TRANSACTION (0.0ms) rollback transaction
18064
+ TRANSACTION (0.0ms) begin transaction
18065
+ --------------------------------------------------------------------
18066
+ RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
18067
+ --------------------------------------------------------------------
18068
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18069
+ User Create (0.3ms) INSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id" [["name", "Igor"], ["age", 9999], ["created_at", "2024-06-07 20:33:11.130650"], ["updated_at", "2024-06-07 20:33:11.130650"]]
18070
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18071
+ SQL (0.1ms) SELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0
18072
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 133)
18073
+ TRANSACTION (0.0ms) rollback transaction
18074
+ TRANSACTION (0.0ms) begin transaction
18075
+ ----------------------------------------------
18076
+ DashboardControllerTest: test_should_get_index
18077
+ ----------------------------------------------
18078
+ User Delete All (0.1ms) DELETE FROM "users"
18079
+ Account Delete All (0.0ms) DELETE FROM "accounts"
18080
+ Customer Delete All (0.1ms) DELETE FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
18081
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18082
+ User Create (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.179455"], ["updated_at", "2024-06-07 20:33:11.179455"]]
18083
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18084
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18085
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Edit"], ["created_at", "2024-06-07 20:33:11.180489"], ["updated_at", "2024-06-07 20:33:11.180489"]]
18086
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18087
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18088
+ Customer Create (0.3ms) INSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id" [["name", "Customer 1"], ["bio", "this is bio text"], ["created_at", "2024-06-07 20:33:11.185978"], ["updated_at", "2024-06-07 20:33:11.185978"], ["type", "Customer"]]
18089
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18090
+ Started GET "/rails/db" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18091
+ Processing by RailsDb::DashboardController#index as HTML
18092
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18093
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
18094
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 55.5ms | Allocations: 30606)
18095
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 4.1ms | Allocations: 2258)
18096
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.6ms | Allocations: 944)
18097
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.5ms | Allocations: 409)
18098
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 2.3ms | Allocations: 1491)
18099
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 71.5ms | Allocations: 38130)
18100
+ Completed 200 OK in 78ms (Views: 74.4ms | ActiveRecord: 0.1ms | Allocations: 40332)
18101
+ Started GET "/rails/db/tables/users" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18102
+ Processing by RailsDb::TablesController#show as HTML
18103
+ Parameters: {"id"=>"users"}
18104
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18105
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application
18106
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.3ms | Allocations: 133)
18107
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_show.html.erb (Duration: 12.7ms | Allocations: 7597)
18108
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/show.html.erb within layouts/rails_db/application (Duration: 13.7ms | Allocations: 7816)
18109
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.8ms | Allocations: 1172)
18110
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.1ms | Allocations: 647)
18111
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
18112
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.0ms | Allocations: 607)
18113
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 20.8ms | Allocations: 12211)
18114
+ Completed 200 OK in 23ms (Views: 17.0ms | ActiveRecord: 4.9ms | Allocations: 12898)
18115
+ Started GET "/rails/db/tables/users/data" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18116
+ Processing by RailsDb::TablesController#data as HTML
18117
+ Parameters: {"table_id"=>"users"}
18118
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18119
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18120
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
18121
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
18122
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 32.8ms | Allocations: 15800)
18123
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 22.1ms | Allocations: 12907)
18124
+  Load (0.2ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
18125
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.7ms | Allocations: 1527)
18126
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.8ms | Allocations: 1203)
18127
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 2.1ms | Allocations: 1207)
18128
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.3ms | Allocations: 95)
18129
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 111.1ms | Allocations: 59348)
18130
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 112.6ms | Allocations: 59566)
18131
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.9ms | Allocations: 1173)
18132
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.3ms | Allocations: 653)
18133
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.3ms | Allocations: 128)
18134
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 1.2ms | Allocations: 607)
18135
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 121.0ms | Allocations: 63851)
18136
+ Completed 200 OK in 129ms (Views: 118.6ms | ActiveRecord: 3.2ms | Allocations: 66402)
18137
+ Started GET "/rails/db/sql" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18138
+ Processing by RailsDb::SqlController#index as HTML
18139
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18140
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
18141
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
18142
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 1.0ms | Allocations: 309)
18143
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 12.7ms | Allocations: 5233)
18144
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.8ms | Allocations: 1210)
18145
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 651)
18146
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18147
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
18148
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 21.4ms | Allocations: 10269)
18149
+ Completed 200 OK in 23ms (Views: 18.8ms | ActiveRecord: 3.5ms | Allocations: 10834)
18150
+ Started GET "/rails/db/import" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18151
+ Processing by RailsDb::SqlController#import as HTML
18152
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18153
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application
18154
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_import_sample.html.erb (Duration: 0.4ms | Allocations: 104)
18155
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/import.html.erb within layouts/rails_db/application (Duration: 1.9ms | Allocations: 652)
18156
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.6ms | Allocations: 1201)
18157
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 646)
18158
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
18159
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
18160
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 7.2ms | Allocations: 5099)
18161
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms | Allocations: 5369)
18162
+ Started GET "/rails/db/data-table" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18163
+ Processing by RailsDb::DashboardController#data_table as HTML
18164
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18165
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application
18166
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/data_table.html.erb within layouts/rails_db/application (Duration: 2.0ms | Allocations: 1036)
18167
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 18.8ms | Allocations: 1210)
18168
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 646)
18169
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18170
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 608)
18171
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 25.1ms | Allocations: 5494)
18172
+ Completed 200 OK in 26ms (Views: 25.6ms | ActiveRecord: 0.1ms | Allocations: 5691)
18173
+ Started GET "/" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18174
+ Processing by HomeController#index as HTML
18175
+ Rendering layout layouts/application.html.erb
18176
+ Rendering home/index.html.erb within layouts/application
18177
+ SQL (0.1ms) SELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0
18178
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 141)
18179
+ SQL (0.1ms) select id, name, age from users order by age desc limit 10
18180
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | Allocations: 39)
18181
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
18182
+ Customer Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."type" = ? [["type", "Customer"]]
18183
+ Account Count (0.0ms) SELECT COUNT(*) FROM "accounts"
18184
+ Rendered home/index.html.erb within layouts/application (Duration: 3.2ms | Allocations: 1810)
18185
+ Rendered layout layouts/application.html.erb (Duration: 6.5ms | Allocations: 3662)
18186
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.6ms | Allocations: 4813)
18187
+ Started GET "/rails/db/tables/users/data?sort_column=id&sort_order=desc" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18188
+ Processing by RailsDb::TablesController#data as HTML
18189
+ Parameters: {"sort_column"=>"id", "sort_order"=>"desc", "table_id"=>"users"}
18190
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18191
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18192
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application
18193
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
18194
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 15.1ms | Allocations: 12900)
18195
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 14.2ms | Allocations: 12809)
18196
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
18197
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.6ms | Allocations: 1235)
18198
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.4ms | Allocations: 1209)
18199
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.4ms | Allocations: 1213)
18200
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 9)
18201
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 63.1ms | Allocations: 54052)
18202
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/data.html.erb within layouts/rails_db/application (Duration: 63.2ms | Allocations: 54108)
18203
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.4ms | Allocations: 1179)
18204
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 652)
18205
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18206
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 607)
18207
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 67.3ms | Allocations: 58405)
18208
+ Completed 200 OK in 71ms (Views: 65.4ms | ActiveRecord: 2.4ms | Allocations: 60288)
18209
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
18210
+ Started GET "/rails/db/tables/users/destroy?pk_id=1" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18211
+ Processing by RailsDb::TablesController#destroy as HTML
18212
+ Parameters: {"pk_id"=>"1", "table_id"=>"users"}
18213
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18214
+  (0.0ms) DELETE FROM users WHERE id = '1';
18215
+ Redirected to http://www.example.com/rails/db/tables/users/data
18216
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms | Allocations: 2133)
18217
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
18218
+ Started GET "/rails/db/tables/users/csv" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18219
+ Processing by RailsDb::TablesController#csv as HTML
18220
+ Parameters: {"table_id"=>"users"}
18221
+ SQL (0.1ms) SELECT * FROM users
18222
+ Rendering text template
18223
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
18224
+ Sent data users.csv (3.8ms)
18225
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms | Allocations: 1254)
18226
+ Started GET "/rails/db/standalone" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18227
+ Processing by RailsDb::DashboardController#standalone as HTML
18228
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18229
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application
18230
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/standalone.html.erb within layouts/rails_db/application (Duration: 1.4ms | Allocations: 1111)
18231
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.9ms | Allocations: 1232)
18232
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 1.0ms | Allocations: 672)
18233
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18234
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.7ms | Allocations: 608)
18235
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 7.1ms | Allocations: 5712)
18236
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.1ms | Allocations: 5942)
18237
+ Started GET "/rails/db/tables/users/xlsx.xls" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18238
+ Processing by RailsDb::TablesController#xlsx as XLS
18239
+ Parameters: {"table_id"=>"users"}
18240
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx
18241
+ SQL (0.1ms) SELECT * FROM users
18242
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/table.xls.axlsx (Duration: 14.9ms | Allocations: 6454)
18243
+ Rendering text template
18244
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
18245
+ Sent data users.xlsx (0.4ms)
18246
+ Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.5ms | Allocations: 7003)
18247
+ Started GET "/rails/db/sql?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18248
+ Processing by RailsDb::SqlController#index as HTML
18249
+ Parameters: {"sql"=>"select * from users limit 10"}
18250
+ SQL (0.1ms) select * from users limit 10
18251
+ SQL (0.1ms) EXPLAIN select * from users limit 10
18252
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18253
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
18254
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 17)
18255
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | Allocations: 204)
18256
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_explain.html.erb (Duration: 0.5ms | Allocations: 352)
18257
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_results.html.erb (Duration: 2.1ms | Allocations: 1225)
18258
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 8.4ms | Allocations: 5711)
18259
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.3ms | Allocations: 1201)
18260
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.7ms | Allocations: 646)
18261
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.2ms | Allocations: 128)
18262
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 608)
18263
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 12.6ms | Allocations: 10154)
18264
+ Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 2.2ms | Allocations: 10645)
18265
+ Started POST "/rails/db/sql-csv.csv?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18266
+ Processing by RailsDb::SqlController#csv as CSV
18267
+ Parameters: {"sql"=>"select * from users limit 10"}
18268
+ SQL (0.1ms) select * from users limit 10
18269
+ SQL (0.1ms) EXPLAIN select * from users limit 10
18270
+ Rendering text template
18271
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
18272
+ Sent data results.csv (0.3ms)
18273
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 667)
18274
+ Started POST "/rails/db/sql-xls.xls?sql=select+%2A+from+users+limit+10" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18275
+ Processing by RailsDb::SqlController#xls as XLS
18276
+ Parameters: {"sql"=>"select * from users limit 10"}
18277
+ SQL (0.1ms) select * from users limit 10
18278
+ SQL (0.1ms) EXPLAIN select * from users limit 10
18279
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx
18280
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/xls.xls.axlsx (Duration: 5.6ms | Allocations: 3753)
18281
+ Rendering text template
18282
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
18283
+ Sent data results.xlsx (0.4ms)
18284
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms | Allocations: 4478)
18285
+ Started GET "/rails/db/tables/users/edit?pk_id=2" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18286
+ Processing by RailsDb::TablesController#edit as JS
18287
+ Parameters: {"pk_id"=>"2", "table_id"=>"users"}
18288
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18289
+  Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
18290
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb
18291
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 56.6ms | Allocations: 55358)
18292
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 60.1ms | Allocations: 59291)
18293
+ Completed 200 OK in 68ms (Views: 58.9ms | ActiveRecord: 2.8ms | Allocations: 65283)
18294
+ Started PUT "/rails/db/tables/users/update?pk_id=2" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18295
+ Processing by RailsDb::TablesController#update as JS
18296
+ Parameters: {"record"=>{"name"=>"JOHN"}, "pk_id"=>"2", "table_id"=>"users"}
18297
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18298
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
18299
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18300
+ #<Class:0x0000000119b5e798> Update (0.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "JOHN"], ["updated_at", "2024-06-07 20:33:11.746311"], ["id", 2]]
18301
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18302
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb
18303
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.8ms | Allocations: 1290)
18304
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.7ms | Allocations: 1888)
18305
+ Completed 200 OK in 11ms (Views: 2.4ms | ActiveRecord: 1.1ms | Allocations: 8311)
18306
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
18307
+ Started GET "/rails/db/tables/users/new" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18308
+ Processing by RailsDb::TablesController#new as JS
18309
+ Parameters: {"table_id"=>"users"}
18310
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18311
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/new.js.erb
18312
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_new.html.erb (Duration: 11.2ms | Allocations: 7790)
18313
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/new.js.erb (Duration: 12.8ms | Allocations: 9033)
18314
+ Completed 200 OK in 19ms (Views: 11.3ms | ActiveRecord: 2.1ms | Allocations: 14389)
18315
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
18316
+ Started POST "/rails/db/tables/users/create" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18317
+ Processing by RailsDb::TablesController#create as JS
18318
+ Parameters: {"record"=>{"name"=>"XXX"}, "table_id"=>"users"}
18319
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18320
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18321
+ #<Class:0x0000000119dbd2c8> Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "XXX"], ["created_at", "2024-06-07 20:33:11.779598"], ["updated_at", "2024-06-07 20:33:11.779598"]]
18322
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18323
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/create.js.erb
18324
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 18)
18325
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 16.6ms | Allocations: 12899)
18326
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_condition_fields.html.erb (Duration: 14.4ms | Allocations: 12807)
18327
+  Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]]
18328
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.7ms | Allocations: 1212)
18329
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.4ms | Allocations: 1213)
18330
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.5ms | Allocations: 1209)
18331
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_sql.html.erb (Duration: 0.0ms | Allocations: 9)
18332
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_data.html.erb (Duration: 64.7ms | Allocations: 50105)
18333
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/create.js.erb (Duration: 66.8ms | Allocations: 53555)
18334
+ Completed 200 OK in 75ms (Views: 64.9ms | ActiveRecord: 2.9ms | Allocations: 60208)
18335
+ User Count (0.1ms) SELECT COUNT(*) FROM "users"
18336
+ Started GET "/rails/db/tables/users/edit?pk_id=3" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18337
+ Processing by RailsDb::TablesController#edit as JS
18338
+ Parameters: {"pk_id"=>"3", "table_id"=>"users"}
18339
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18340
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
18341
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb
18342
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_edit.html.erb (Duration: 11.9ms | Allocations: 11857)
18343
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/edit.js.erb (Duration: 14.0ms | Allocations: 15572)
18344
+ Completed 200 OK in 20ms (Views: 12.9ms | ActiveRecord: 1.8ms | Allocations: 21101)
18345
+ Started PUT "/rails/db/tables/users/update?pk_id=3" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18346
+ Processing by RailsDb::TablesController#update as JS
18347
+ Parameters: {"record"=>{"name"=>"STI"}, "pk_id"=>"3", "table_id"=>"users"}
18348
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18349
+  Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
18350
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18351
+ #<Class:0x000000011a48f448> Update (0.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ? [["name", "STI"], ["updated_at", "2024-06-07 20:33:11.880454"], ["id", 3]]
18352
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18353
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb
18354
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/_row.html.erb (Duration: 1.7ms | Allocations: 1290)
18355
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/tables/update.js.erb (Duration: 2.2ms | Allocations: 1753)
18356
+ Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 1.0ms | Allocations: 7930)
18357
+ Customer Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "Customer"], ["id", 3], ["LIMIT", 1]]
18358
+ Started GET "/admin/tools/db" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18359
+ Processing by RailsDb::DashboardController#index as HTML
18360
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18361
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application
18362
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/dashboard/index.html.erb within layouts/rails_db/application (Duration: 0.4ms | Allocations: 511)
18363
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 2.2ms | Allocations: 1230)
18364
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.9ms | Allocations: 653)
18365
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18366
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 613)
18367
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 17.5ms | Allocations: 5077)
18368
+ Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.1ms | Allocations: 5277)
18369
+ Started GET "/admin/tools/db/sql" for 127.0.0.1 at 2024-06-07 23:33:11 +0300
18370
+ Processing by RailsDb::SqlController#index as HTML
18371
+ Rendering layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb
18372
+ Rendering /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application
18373
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_exp_col.html.erb (Duration: 0.0ms | Allocations: 17)
18374
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/_history.html.erb (Duration: 0.2ms | Allocations: 200)
18375
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/sql/index.html.erb within layouts/rails_db/application (Duration: 6.2ms | Allocations: 4359)
18376
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_header.html.erb (Duration: 1.2ms | Allocations: 1209)
18377
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sidebar.html.erb (Duration: 0.8ms | Allocations: 646)
18378
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_gems.html.erb (Duration: 0.1ms | Allocations: 128)
18379
+ Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_footer.html.erb (Duration: 0.6ms | Allocations: 613)
18380
+ Rendered layout /Users/admin/projects/rails_db/app/views/layouts/rails_db/application.html.erb (Duration: 10.3ms | Allocations: 8816)
18381
+ Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 2.0ms | Allocations: 9026)
18382
+ TRANSACTION (0.1ms) rollback transaction
18383
+ TRANSACTION (0.0ms) begin transaction
18384
+ -----------------------------------------------------------------------------------------------------------------------------------------
18385
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_record_for_this_table:column
18386
+ -----------------------------------------------------------------------------------------------------------------------------------------
18387
+ TRANSACTION (0.0ms) rollback transaction
18388
+ TRANSACTION (0.0ms) begin transaction
18389
+ ----------------------------------------------------------------------------------------------------------------------------
18390
+ TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
18391
+ ----------------------------------------------------------------------------------------------------------------------------
18392
+ TRANSACTION (0.0ms) rollback transaction
18393
+ TRANSACTION (0.0ms) begin transaction
18394
+ -------------------------------------------------------------------------------------------------------------------------
18395
+ TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
18396
+ -------------------------------------------------------------------------------------------------------------------------
18397
+ TRANSACTION (0.1ms) rollback transaction
18398
+ TRANSACTION (0.0ms) begin transaction
18399
+ ----------------------------------------------------------------------------------------------------------------------------------
18400
+ TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
18401
+ ----------------------------------------------------------------------------------------------------------------------------------
18402
+ TRANSACTION (0.0ms) rollback transaction
18403
+ TRANSACTION (0.0ms) begin transaction
18404
+ ------------------------------------------------------------------------------------------------------------------------------------
18405
+ TablesHelperTest: test_method_column_is_checked?_returns_true_for_checkbox_status_if_cookie_does_not_contain_hash_key_for_this_table
18406
+ ------------------------------------------------------------------------------------------------------------------------------------
18407
+ TRANSACTION (0.0ms) rollback transaction
18408
+ TRANSACTION (0.0ms) begin transaction
18409
+ -----------------------
18410
+ RailsDbTest: test_truth
18411
+ -----------------------
18412
+ TRANSACTION (0.0ms) rollback transaction
18413
+ TRANSACTION (0.0ms) begin transaction
18414
+ ------------------------------------
18415
+ RailsDbTest: test_verify_access_proc
18416
+ ------------------------------------
18417
+ TRANSACTION (0.1ms) rollback transaction
18418
+ TRANSACTION (0.0ms) begin transaction
18419
+ --------------------------
18420
+ SqlImportTest: test_import
18421
+ --------------------------
18422
+  (0.1ms) update users set age = 11 where id = 1
18423
+  (0.1ms) update users set age = 22 where id = 2
18424
+  (0.1ms) update users set age = 33 where id = 3
18425
+  (0.1ms) 
18426
+ DROP TABLE IF EXISTS t
18427
+  (0.2ms) 
18428
+ CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))
18429
+ TRANSACTION (0.1ms) rollback transaction
18430
+ TRANSACTION (0.0ms) begin transaction
18431
+ --------------------------
18432
+ DatabaseTest: test_adapter
18433
+ --------------------------
18434
+ TRANSACTION (0.0ms) rollback transaction
18435
+ TRANSACTION (0.0ms) begin transaction
18436
+ -------------------------
18437
+ DatabaseTest: test_insert
18438
+ -------------------------
18439
+ SQL (0.5ms) delete from projects_users
18440
+ SQL (0.1ms) EXPLAIN delete from projects_users
18441
+ User Delete All (0.2ms) DELETE FROM "users"
18442
+ SQL (0.1ms) SELECT COUNT(*) FROM projects_users
18443
+ SQL (0.1ms) insert into projects_users(project_id, user_id) values(1,2)
18444
+ SQL (0.1ms) EXPLAIN insert into projects_users(project_id, user_id) values(1,2)
18445
+ SQL (0.1ms) SELECT COUNT(*) FROM projects_users
18446
+ TRANSACTION (0.0ms) rollback transaction
18447
+ TRANSACTION (0.0ms) begin transaction
18448
+ -------------------------
18449
+ DatabaseTest: test_tables
18450
+ -------------------------
18451
+ TRANSACTION (0.0ms) rollback transaction
18452
+ TRANSACTION (0.0ms) begin transaction
18453
+ ------------------------------------
18454
+ DatabaseTest: test_accessible_tables
18455
+ ------------------------------------
18456
+ TRANSACTION (0.0ms) rollback transaction
18457
+ TRANSACTION (0.0ms) begin transaction
18458
+ ------------------------
18459
+ DatabaseTest: test_query
18460
+ ------------------------
18461
+ User Delete All (0.1ms) DELETE FROM "users"
18462
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18463
+ User Create (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.936972"], ["updated_at", "2024-06-07 20:33:11.936972"]]
18464
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
18465
+ SQL (0.1ms) select count(*) as users_count from users
18466
+ SQL (0.1ms) EXPLAIN select count(*) as users_count from users
18467
+ TRANSACTION (0.0ms) rollback transaction
18468
+ TRANSACTION (0.0ms) begin transaction
18469
+ ------------------------
18470
+ TableTest: test_truncate
18471
+ ------------------------
18472
+ User Delete All (0.0ms) DELETE FROM "users"
18473
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18474
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:33:11.940062"], ["updated_at", "2024-06-07 20:33:11.940062"]]
18475
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18476
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
18477
+  (0.0ms) DELETE FROM users;
18478
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
18479
+ TRANSACTION (0.0ms) rollback transaction
18480
+ TRANSACTION (0.0ms) begin transaction
18481
+ -----------------------
18482
+ TableTest: test_columns
18483
+ -----------------------
18484
+ TRANSACTION (0.0ms) rollback transaction
18485
+ TRANSACTION (0.0ms) begin transaction
18486
+ ----------------------
18487
+ TableTest: test_delete
18488
+ ----------------------
18489
+ User Delete All (0.0ms) DELETE FROM "users"
18490
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18491
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:33:11.943600"], ["updated_at", "2024-06-07 20:33:11.943600"]]
18492
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18493
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18494
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "john"], ["created_at", "2024-06-07 20:33:11.944471"], ["updated_at", "2024-06-07 20:33:11.944471"]]
18495
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18496
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
18497
+  (0.1ms) DELETE FROM users WHERE id = 1;
18498
+ User Count (0.0ms) SELECT COUNT(*) FROM "users"
18499
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "igor"]]
18500
+ User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."name" = ? [["name", "john"]]
18501
+ TRANSACTION (0.0ms) rollback transaction
18502
+ TRANSACTION (0.0ms) begin transaction
18503
+ ---------------------------
18504
+ TableTest: test_primary_key
18505
+ ---------------------------
18506
+ TRANSACTION (0.0ms) rollback transaction
18507
+ TRANSACTION (0.0ms) begin transaction
18508
+ -----------------------
18509
+ TableTest: test_ransack
18510
+ -----------------------
18511
+ User Delete All (0.0ms) DELETE FROM "users"
18512
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18513
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "111"], ["created_at", "2024-06-07 20:33:11.948720"], ["updated_at", "2024-06-07 20:33:11.948720"]]
18514
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18515
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18516
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "555"], ["created_at", "2024-06-07 20:33:11.949523"], ["updated_at", "2024-06-07 20:33:11.949523"]]
18517
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18518
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18519
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "333"], ["created_at", "2024-06-07 20:33:11.950276"], ["updated_at", "2024-06-07 20:33:11.950276"]]
18520
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18521
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18522
+  Pluck (0.1ms) SELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC
18523
+ TRANSACTION (0.0ms) rollback transaction
18524
+ TRANSACTION (0.0ms) begin transaction
18525
+ ------------------------
18526
+ TableTest: test_as_table
18527
+ ------------------------
18528
+ User Delete All (0.0ms) DELETE FROM "users"
18529
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18530
+ User Create (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:33:11.953792"], ["updated_at", "2024-06-07 20:33:11.953792"]]
18531
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
18532
+  Count (0.1ms) SELECT COUNT(*) FROM "users"
18533
+  Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
18534
+ TRANSACTION (0.1ms) rollback transaction
18535
+ TRANSACTION (0.0ms) begin transaction
18536
+ ----------------------
18537
+ TableTest: test_to_csv
18538
+ ----------------------
18539
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
18540
+ User Create (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id" [["name", "igor"], ["created_at", "2024-06-07 20:33:11.960987"], ["updated_at", "2024-06-07 20:33:11.960987"]]
18541
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
18542
+ SQL (0.1ms) SELECT * FROM users
18543
+ TRANSACTION (0.1ms) rollback transaction