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.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/rails_db/version.rb +1 -1
- data/rails_db.gemspec +1 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1591 -0
- metadata +16 -2
data/test/dummy/log/test.log
CHANGED
@@ -16950,3 +16950,1594 @@ RailsDbHelpersTest: test_default_rails_db_data_table_works
|
|
16950
16950
|
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
16951
16951
|
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.2ms | Allocations: 1042)
|
16952
16952
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
16953
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
16954
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
16955
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
16956
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
16957
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
16958
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
16959
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
16960
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "accounts"[0m
|
16961
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "accounts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "users_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
16962
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "comments"[0m
|
16963
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
16964
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "contacts"[0m
|
16965
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
|
16966
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_contacts_on_name_and_email" ON "contacts" ("name", "email")[0m
|
16967
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "legacy_accounts"[0m
|
16968
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "legacy_accounts" ("uuid" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
|
16969
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "payments"[0m
|
16970
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "payments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal, "project_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
16971
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_payments_on_project_id" ON "payments" ("project_id")[0m
|
16972
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "projects"[0m
|
16973
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
|
16974
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_projects_on_deleted_at" ON "projects" ("deleted_at")[0m
|
16975
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "projects_users"[0m
|
16976
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "projects_users" ("project_id" integer, "user_id" integer)[0m
|
16977
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_projects_users_on_project_id" ON "projects_users" ("project_id")[0m
|
16978
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_projects_users_on_user_id" ON "projects_users" ("user_id")[0m
|
16979
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
16980
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
|
16981
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_users_on_account_id" ON "users" ("account_id")[0m
|
16982
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_users_on_name" ON "users" ("name")[0m
|
16983
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_users_on_salary" ON "users" ("salary")[0m
|
16984
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
16985
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
16986
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20210626083314)[0m
|
16987
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT 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);[0m
|
17003
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
17004
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
17005
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT 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"[0m
|
17006
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
17007
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
17008
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT 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"[0m
|
17009
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
17010
|
+
[1m[36mTRANSACTION (1.7ms)[0m [1m[36mbegin transaction[0m
|
17011
|
+
------------------------------------
|
17012
|
+
DatabaseTest: test_accessible_tables
|
17013
|
+
------------------------------------
|
17014
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17015
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17016
|
+
-------------------------
|
17017
|
+
DatabaseTest: test_tables
|
17018
|
+
-------------------------
|
17019
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17020
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17021
|
+
--------------------------
|
17022
|
+
DatabaseTest: test_adapter
|
17023
|
+
--------------------------
|
17024
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17025
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17026
|
+
-------------------------
|
17027
|
+
DatabaseTest: test_insert
|
17028
|
+
-------------------------
|
17029
|
+
[1m[35mSQL (0.1ms)[0m [1m[31mdelete from projects_users[0m
|
17030
|
+
[1m[35mSQL (0.0ms)[0m [1m[35mEXPLAIN delete from projects_users[0m
|
17031
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17032
|
+
[1m[35mSQL (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
17033
|
+
[1m[35mSQL (0.1ms)[0m [1m[32minsert into projects_users(project_id, user_id) values(1,2)[0m
|
17034
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN insert into projects_users(project_id, user_id) values(1,2)[0m
|
17035
|
+
[1m[35mSQL (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
17036
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17037
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17038
|
+
------------------------
|
17039
|
+
DatabaseTest: test_query
|
17040
|
+
------------------------
|
17041
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17042
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17043
|
+
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:31:53.813700"], ["updated_at", "2024-06-07 20:31:53.813700"]]
|
17044
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17045
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect count(*) as users_count from users[0m
|
17046
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select count(*) as users_count from users[0m
|
17047
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17048
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17049
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
17050
|
+
TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
|
17051
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
17052
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17053
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17058
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17059
|
+
----------------------------------------------------------------------------------------------------------------------------
|
17060
|
+
TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
|
17061
|
+
----------------------------------------------------------------------------------------------------------------------------
|
17062
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17063
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17064
|
+
-------------------------------------------------------------------------------------------------------------------------
|
17065
|
+
TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
|
17066
|
+
-------------------------------------------------------------------------------------------------------------------------
|
17067
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17068
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17073
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17074
|
+
----------------------------------------------
|
17075
|
+
DashboardControllerTest: test_should_get_index
|
17076
|
+
----------------------------------------------
|
17077
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
17078
|
+
[1m[36mAccount Delete All (0.0ms)[0m [1m[31mDELETE FROM "accounts"[0m
|
17079
|
+
[1m[36mCustomer Delete All (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
17080
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17081
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:31:53.866221"], ["updated_at", "2024-06-07 20:31:53.866221"]]
|
17082
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17083
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17084
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Edit"], ["created_at", "2024-06-07 20:31:53.868125"], ["updated_at", "2024-06-07 20:31:53.868125"]]
|
17085
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17086
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17087
|
+
[1m[36mCustomer Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id"[0m [["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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m [1m[34mSELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0[0m
|
17177
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.2ms | Allocations: 638)
|
17178
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect id, name, age from users order by age desc limit 10[0m
|
17179
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.6ms | Allocations: 482)
|
17180
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17181
|
+
[1m[36mCustomer Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
17182
|
+
[1m[36mAccount Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "accounts"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17213
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users WHERE id = '1';[0m
|
17214
|
+
Redirected to http://www.example.com/rails/db/tables/users/data
|
17215
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms | Allocations: 2133)
|
17216
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
17250
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
17268
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[35mSQL (0.6ms)[0m [1m[34mselect * from users limit 10[0m
|
17277
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17288
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17297
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
17298
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17299
|
+
[1m[36m#<Class:0x0000000113df4760> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "JOHN"], ["updated_at", "2024-06-07 20:31:55.985699"], ["id", 2]]
|
17300
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17319
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17320
|
+
[1m[36m#<Class:0x0000000114014248> Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "XXX"], ["created_at", "2024-06-07 20:31:56.016818"], ["updated_at", "2024-06-07 20:31:56.016818"]]
|
17321
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17339
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17348
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
17349
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17350
|
+
[1m[36m#<Class:0x0000000112e7e7b8> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "STI"], ["updated_at", "2024-06-07 20:31:56.122812"], ["id", 3]]
|
17351
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomer Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17382
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17383
|
+
-----------------------
|
17384
|
+
TableTest: test_columns
|
17385
|
+
-----------------------
|
17386
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17387
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17388
|
+
---------------------------
|
17389
|
+
TableTest: test_primary_key
|
17390
|
+
---------------------------
|
17391
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17392
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17393
|
+
------------------------
|
17394
|
+
TableTest: test_truncate
|
17395
|
+
------------------------
|
17396
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
17397
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17398
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:31:56.149677"], ["updated_at", "2024-06-07 20:31:56.149677"]]
|
17399
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17400
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17401
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users;[0m
|
17402
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17403
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17404
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17405
|
+
-----------------------
|
17406
|
+
TableTest: test_ransack
|
17407
|
+
-----------------------
|
17408
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17409
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17410
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "111"], ["created_at", "2024-06-07 20:31:56.152423"], ["updated_at", "2024-06-07 20:31:56.152423"]]
|
17411
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17412
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17413
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "555"], ["created_at", "2024-06-07 20:31:56.153266"], ["updated_at", "2024-06-07 20:31:56.153266"]]
|
17414
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17415
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17416
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "333"], ["created_at", "2024-06-07 20:31:56.154091"], ["updated_at", "2024-06-07 20:31:56.154091"]]
|
17417
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17418
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17419
|
+
[1m[36m Pluck (0.1ms)[0m [1m[34mSELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC[0m
|
17420
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17421
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17422
|
+
------------------------
|
17423
|
+
TableTest: test_as_table
|
17424
|
+
------------------------
|
17425
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17426
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17427
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:31:56.157399"], ["updated_at", "2024-06-07 20:31:56.157399"]]
|
17428
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17429
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17430
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
17431
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17432
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17433
|
+
----------------------
|
17434
|
+
TableTest: test_delete
|
17435
|
+
----------------------
|
17436
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17437
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17438
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:31:56.163590"], ["updated_at", "2024-06-07 20:31:56.163590"]]
|
17439
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17440
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17441
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "john"], ["created_at", "2024-06-07 20:31:56.164387"], ["updated_at", "2024-06-07 20:31:56.164387"]]
|
17442
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17443
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17444
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users WHERE id = 1;[0m
|
17445
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17446
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "igor"]]
|
17447
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "john"]]
|
17448
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17449
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17450
|
+
----------------------
|
17451
|
+
TableTest: test_to_csv
|
17452
|
+
----------------------
|
17453
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17454
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:31:56.167722"], ["updated_at", "2024-06-07 20:31:56.167722"]]
|
17455
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17456
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
17457
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17458
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17459
|
+
--------------------------
|
17460
|
+
SqlImportTest: test_import
|
17461
|
+
--------------------------
|
17462
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 11 where id = 1[0m
|
17463
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 22 where id = 2[0m
|
17464
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 33 where id = 3[0m
|
17465
|
+
[1m[35m (0.0ms)[0m [1m[35m
|
17466
|
+
DROP TABLE IF EXISTS t[0m
|
17467
|
+
[1m[35m (0.2ms)[0m [1m[35m
|
17468
|
+
CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))[0m
|
17469
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17470
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17471
|
+
-----------------------
|
17472
|
+
RailsDbTest: test_truth
|
17473
|
+
-----------------------
|
17474
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17476
|
+
------------------------------------
|
17477
|
+
RailsDbTest: test_verify_access_proc
|
17478
|
+
------------------------------------
|
17479
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17480
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17481
|
+
--------------------------------------------------------------
|
17482
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
|
17483
|
+
--------------------------------------------------------------
|
17484
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17485
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:31:56.176756"], ["updated_at", "2024-06-07 20:31:56.176756"]]
|
17486
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17487
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users[0m
|
17488
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 70)
|
17489
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17490
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17491
|
+
--------------------------------------------------------------------
|
17492
|
+
RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
|
17493
|
+
--------------------------------------------------------------------
|
17494
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17495
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["age", 9999], ["created_at", "2024-06-07 20:31:56.180019"], ["updated_at", "2024-06-07 20:31:56.180019"]]
|
17496
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17497
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0[0m
|
17498
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 142)
|
17499
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17500
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17501
|
+
----------------------------------------------------------
|
17502
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_works
|
17503
|
+
----------------------------------------------------------
|
17504
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17505
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:31:56.183017"], ["updated_at", "2024-06-07 20:31:56.183017"]]
|
17506
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17507
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
17508
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 1.4ms | Allocations: 1042)
|
17509
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17510
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17511
|
+
------------------------------------------------------------------------
|
17512
|
+
RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
|
17513
|
+
------------------------------------------------------------------------
|
17514
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17515
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:31:56.186554"], ["updated_at", "2024-06-07 20:31:56.186554"]]
|
17516
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17517
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users[0m
|
17518
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 89)
|
17519
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17520
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
17521
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
17522
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
17523
|
+
------------------------------------
|
17524
|
+
RailsDbTest: test_verify_access_proc
|
17525
|
+
------------------------------------
|
17526
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17527
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17528
|
+
-----------------------
|
17529
|
+
RailsDbTest: test_truth
|
17530
|
+
-----------------------
|
17531
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17532
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17533
|
+
--------------------------------------------------------------
|
17534
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
|
17535
|
+
--------------------------------------------------------------
|
17536
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17537
|
+
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:32:16.276251"], ["updated_at", "2024-06-07 20:32:16.276251"]]
|
17538
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17539
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users[0m
|
17540
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 1.0ms | Allocations: 644)
|
17541
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17542
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17543
|
+
----------------------------------------------------------
|
17544
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_works
|
17545
|
+
----------------------------------------------------------
|
17546
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17547
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.784987"], ["updated_at", "2024-06-07 20:32:17.784987"]]
|
17548
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17549
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
17550
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 2.5ms | Allocations: 1560)
|
17551
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17552
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17553
|
+
--------------------------------------------------------------------
|
17554
|
+
RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
|
17555
|
+
--------------------------------------------------------------------
|
17556
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17557
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["age", 9999], ["created_at", "2024-06-07 20:32:17.791321"], ["updated_at", "2024-06-07 20:32:17.791321"]]
|
17558
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17559
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0[0m
|
17560
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 133)
|
17561
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17562
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17563
|
+
------------------------------------------------------------------------
|
17564
|
+
RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
|
17565
|
+
------------------------------------------------------------------------
|
17566
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17567
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.793971"], ["updated_at", "2024-06-07 20:32:17.793971"]]
|
17568
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17569
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users[0m
|
17570
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 89)
|
17571
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17572
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17573
|
+
--------------------------
|
17574
|
+
DatabaseTest: test_adapter
|
17575
|
+
--------------------------
|
17576
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17577
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17578
|
+
------------------------------------
|
17579
|
+
DatabaseTest: test_accessible_tables
|
17580
|
+
------------------------------------
|
17581
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17582
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17583
|
+
-------------------------
|
17584
|
+
DatabaseTest: test_insert
|
17585
|
+
-------------------------
|
17586
|
+
[1m[35mSQL (0.4ms)[0m [1m[31mdelete from projects_users[0m
|
17587
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN delete from projects_users[0m
|
17588
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
17589
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
17590
|
+
[1m[35mSQL (0.1ms)[0m [1m[32minsert into projects_users(project_id, user_id) values(1,2)[0m
|
17591
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN insert into projects_users(project_id, user_id) values(1,2)[0m
|
17592
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
17593
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17594
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17595
|
+
------------------------
|
17596
|
+
DatabaseTest: test_query
|
17597
|
+
------------------------
|
17598
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
17599
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17600
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.812634"], ["updated_at", "2024-06-07 20:32:17.812634"]]
|
17601
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17602
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect count(*) as users_count from users[0m
|
17603
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select count(*) as users_count from users[0m
|
17604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17605
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17606
|
+
-------------------------
|
17607
|
+
DatabaseTest: test_tables
|
17608
|
+
-------------------------
|
17609
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17610
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17611
|
+
-----------------------
|
17612
|
+
TableTest: test_columns
|
17613
|
+
-----------------------
|
17614
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17615
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17616
|
+
----------------------
|
17617
|
+
TableTest: test_to_csv
|
17618
|
+
----------------------
|
17619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17620
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:32:17.818061"], ["updated_at", "2024-06-07 20:32:17.818061"]]
|
17621
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17622
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
17623
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17624
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17625
|
+
---------------------------
|
17626
|
+
TableTest: test_primary_key
|
17627
|
+
---------------------------
|
17628
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17629
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17630
|
+
------------------------
|
17631
|
+
TableTest: test_truncate
|
17632
|
+
------------------------
|
17633
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17634
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17635
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:32:17.822230"], ["updated_at", "2024-06-07 20:32:17.822230"]]
|
17636
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17637
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17638
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users;[0m
|
17639
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17640
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17641
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17642
|
+
------------------------
|
17643
|
+
TableTest: test_as_table
|
17644
|
+
------------------------
|
17645
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17646
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17647
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:32:17.824805"], ["updated_at", "2024-06-07 20:32:17.824805"]]
|
17648
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17649
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17650
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
17651
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17652
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17653
|
+
-----------------------
|
17654
|
+
TableTest: test_ransack
|
17655
|
+
-----------------------
|
17656
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
17657
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17658
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "111"], ["created_at", "2024-06-07 20:32:17.832907"], ["updated_at", "2024-06-07 20:32:17.832907"]]
|
17659
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17660
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17661
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "555"], ["created_at", "2024-06-07 20:32:17.833883"], ["updated_at", "2024-06-07 20:32:17.833883"]]
|
17662
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17663
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17664
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "333"], ["created_at", "2024-06-07 20:32:17.834698"], ["updated_at", "2024-06-07 20:32:17.834698"]]
|
17665
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17666
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17667
|
+
[1m[36m Pluck (0.1ms)[0m [1m[34mSELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC[0m
|
17668
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17669
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[36mbegin transaction[0m
|
17670
|
+
----------------------
|
17671
|
+
TableTest: test_delete
|
17672
|
+
----------------------
|
17673
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
17674
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17675
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:32:17.841342"], ["updated_at", "2024-06-07 20:32:17.841342"]]
|
17676
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17677
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17678
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "john"], ["created_at", "2024-06-07 20:32:17.842550"], ["updated_at", "2024-06-07 20:32:17.842550"]]
|
17679
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17680
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17681
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM users WHERE id = 1;[0m
|
17682
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17683
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "igor"]]
|
17684
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "john"]]
|
17685
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17686
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17687
|
+
--------------------------
|
17688
|
+
SqlImportTest: test_import
|
17689
|
+
--------------------------
|
17690
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 11 where id = 1[0m
|
17691
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 22 where id = 2[0m
|
17692
|
+
[1m[35m (0.0ms)[0m [1m[33mupdate users set age = 33 where id = 3[0m
|
17693
|
+
[1m[35m (0.0ms)[0m [1m[35m
|
17694
|
+
DROP TABLE IF EXISTS t[0m
|
17695
|
+
[1m[35m (0.2ms)[0m [1m[35m
|
17696
|
+
CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))[0m
|
17697
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
17698
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17699
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
17700
|
+
TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
|
17701
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
17702
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17703
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17704
|
+
----------------------------------------------------------------------------------------------------------------------------
|
17705
|
+
TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
|
17706
|
+
----------------------------------------------------------------------------------------------------------------------------
|
17707
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17708
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17713
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17718
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17719
|
+
-------------------------------------------------------------------------------------------------------------------------
|
17720
|
+
TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
|
17721
|
+
-------------------------------------------------------------------------------------------------------------------------
|
17722
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
17723
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17724
|
+
----------------------------------------------
|
17725
|
+
DashboardControllerTest: test_should_get_index
|
17726
|
+
----------------------------------------------
|
17727
|
+
[1m[36mUser Delete All (0.5ms)[0m [1m[31mDELETE FROM "users"[0m
|
17728
|
+
[1m[36mAccount Delete All (0.1ms)[0m [1m[31mDELETE FROM "accounts"[0m
|
17729
|
+
[1m[36mCustomer Delete All (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
17730
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17731
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:32:17.898105"], ["updated_at", "2024-06-07 20:32:17.898105"]]
|
17732
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17733
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17734
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Edit"], ["created_at", "2024-06-07 20:32:17.899754"], ["updated_at", "2024-06-07 20:32:17.899754"]]
|
17735
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
17736
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17737
|
+
[1m[36mCustomer Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id"[0m [["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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0[0m
|
17827
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.4ms | Allocations: 141)
|
17828
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect id, name, age from users order by age desc limit 10[0m
|
17829
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 39)
|
17830
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17831
|
+
[1m[36mCustomer Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
17832
|
+
[1m[36mAccount Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "accounts"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17863
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM users WHERE id = '1';[0m
|
17864
|
+
Redirected to http://www.example.com/rails/db/tables/users/data
|
17865
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms | Allocations: 2123)
|
17866
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
17900
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m [1m[34mselect * from users limit 10[0m
|
17918
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
17927
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17938
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17947
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
17948
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17949
|
+
[1m[36m#<Class:0x0000000112d7e4d0> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "JOHN"], ["updated_at", "2024-06-07 20:32:18.531354"], ["id", 2]]
|
17950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17969
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
17970
|
+
[1m[36m#<Class:0x0000000112f8cf38> Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "XXX"], ["created_at", "2024-06-07 20:32:18.567827"], ["updated_at", "2024-06-07 20:32:18.567827"]]
|
17971
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17989
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
17998
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
17999
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18000
|
+
[1m[36m#<Class:0x0000000111a7ded0> Update (0.3ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "STI"], ["updated_at", "2024-06-07 20:32:18.684424"], ["id", 3]]
|
18001
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomer Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18032
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
18033
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18034
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
18035
|
+
--------------------------------------------------------------
|
18036
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_sql_works
|
18037
|
+
--------------------------------------------------------------
|
18038
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18039
|
+
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:33:09.593083"], ["updated_at", "2024-06-07 20:33:09.593083"]]
|
18040
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18041
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users[0m
|
18042
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 1.0ms | Allocations: 644)
|
18043
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18044
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18045
|
+
------------------------------------------------------------------------
|
18046
|
+
RailsDbHelpersTest: test_rails_db_data_table_sql_works_with_many_options
|
18047
|
+
------------------------------------------------------------------------
|
18048
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18049
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.121840"], ["updated_at", "2024-06-07 20:33:11.121840"]]
|
18050
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18051
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users[0m
|
18052
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.1ms | Allocations: 89)
|
18053
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18054
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18055
|
+
----------------------------------------------------------
|
18056
|
+
RailsDbHelpersTest: test_default_rails_db_data_table_works
|
18057
|
+
----------------------------------------------------------
|
18058
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18059
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.125186"], ["updated_at", "2024-06-07 20:33:11.125186"]]
|
18060
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18061
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
18062
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 2.3ms | Allocations: 1551)
|
18063
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18064
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18065
|
+
--------------------------------------------------------------------
|
18066
|
+
RailsDbHelpersTest: test_rails_db_data_table_works_with_many_options
|
18067
|
+
--------------------------------------------------------------------
|
18068
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18069
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at") VALUES (?, ?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["age", 9999], ["created_at", "2024-06-07 20:33:11.130650"], ["updated_at", "2024-06-07 20:33:11.130650"]]
|
18070
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18071
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT id, name FROM users ORDER BY id asc LIMIT 10 OFFSET 0[0m
|
18072
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 133)
|
18073
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18074
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18075
|
+
----------------------------------------------
|
18076
|
+
DashboardControllerTest: test_should_get_index
|
18077
|
+
----------------------------------------------
|
18078
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
18079
|
+
[1m[36mAccount Delete All (0.0ms)[0m [1m[31mDELETE FROM "accounts"[0m
|
18080
|
+
[1m[36mCustomer Delete All (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
18081
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18082
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.179455"], ["updated_at", "2024-06-07 20:33:11.179455"]]
|
18083
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18084
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18085
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Edit"], ["created_at", "2024-06-07 20:33:11.180489"], ["updated_at", "2024-06-07 20:33:11.180489"]]
|
18086
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18087
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18088
|
+
[1m[36mCustomer Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "bio", "created_at", "updated_at", "type") VALUES (?, ?, ?, ?, ?) RETURNING "id"[0m [["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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT id, name, users_count FROM accounts ORDER BY users_count desc LIMIT 10 OFFSET 0[0m
|
18178
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_data_table.html.erb (Duration: 0.3ms | Allocations: 141)
|
18179
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect id, name, age from users order by age desc limit 10[0m
|
18180
|
+
Rendered /Users/admin/projects/rails_db/app/views/rails_db/shared/_sql_result.html.erb (Duration: 0.0ms | Allocations: 39)
|
18181
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18182
|
+
[1m[36mCustomer Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."type" = ?[0m [["type", "Customer"]]
|
18183
|
+
[1m[36mAccount Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "accounts"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18214
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users WHERE id = '1';[0m
|
18215
|
+
Redirected to http://www.example.com/rails/db/tables/users/data
|
18216
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms | Allocations: 2133)
|
18217
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
18251
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
18269
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect * from users limit 10[0m
|
18278
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select * from users limit 10[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18289
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18298
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
18299
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18300
|
+
[1m[36m#<Class:0x0000000119b5e798> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "JOHN"], ["updated_at", "2024-06-07 20:33:11.746311"], ["id", 2]]
|
18301
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18320
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18321
|
+
[1m[36m#<Class:0x0000000119dbd2c8> Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "XXX"], ["created_at", "2024-06-07 20:33:11.779598"], ["updated_at", "2024-06-07 20:33:11.779598"]]
|
18322
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ? OFFSET ?[0m [["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
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18340
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18349
|
+
[1m[36m Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
18350
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18351
|
+
[1m[36m#<Class:0x000000011a48f448> Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["name", "STI"], ["updated_at", "2024-06-07 20:33:11.880454"], ["id", 3]]
|
18352
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomer Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ?[0m [["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
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18383
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18388
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18389
|
+
----------------------------------------------------------------------------------------------------------------------------
|
18390
|
+
TablesHelperTest: test_method_display_style_column_returns_'display'_if_cookie_does_not_contain_record_for_this_table:column
|
18391
|
+
----------------------------------------------------------------------------------------------------------------------------
|
18392
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18393
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18394
|
+
-------------------------------------------------------------------------------------------------------------------------
|
18395
|
+
TablesHelperTest: test_method_display_style_column_returns_'display:none'_if_cookie_contains_record_for_this_table:column
|
18396
|
+
-------------------------------------------------------------------------------------------------------------------------
|
18397
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18398
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18399
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
18400
|
+
TablesHelperTest: test_method_column_is_checked?_returns_false_for_checkbox_status_if_cookie_contains_record_for_this_table:column
|
18401
|
+
----------------------------------------------------------------------------------------------------------------------------------
|
18402
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18403
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18408
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18409
|
+
-----------------------
|
18410
|
+
RailsDbTest: test_truth
|
18411
|
+
-----------------------
|
18412
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18413
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18414
|
+
------------------------------------
|
18415
|
+
RailsDbTest: test_verify_access_proc
|
18416
|
+
------------------------------------
|
18417
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18418
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18419
|
+
--------------------------
|
18420
|
+
SqlImportTest: test_import
|
18421
|
+
--------------------------
|
18422
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 11 where id = 1[0m
|
18423
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 22 where id = 2[0m
|
18424
|
+
[1m[35m (0.1ms)[0m [1m[33mupdate users set age = 33 where id = 3[0m
|
18425
|
+
[1m[35m (0.1ms)[0m [1m[35m
|
18426
|
+
DROP TABLE IF EXISTS t[0m
|
18427
|
+
[1m[35m (0.2ms)[0m [1m[35m
|
18428
|
+
CREATE TABLE t(x INTEGER, y, z, PRIMARY KEY(x ASC))[0m
|
18429
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18430
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18431
|
+
--------------------------
|
18432
|
+
DatabaseTest: test_adapter
|
18433
|
+
--------------------------
|
18434
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18435
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18436
|
+
-------------------------
|
18437
|
+
DatabaseTest: test_insert
|
18438
|
+
-------------------------
|
18439
|
+
[1m[35mSQL (0.5ms)[0m [1m[31mdelete from projects_users[0m
|
18440
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN delete from projects_users[0m
|
18441
|
+
[1m[36mUser Delete All (0.2ms)[0m [1m[31mDELETE FROM "users"[0m
|
18442
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
18443
|
+
[1m[35mSQL (0.1ms)[0m [1m[32minsert into projects_users(project_id, user_id) values(1,2)[0m
|
18444
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN insert into projects_users(project_id, user_id) values(1,2)[0m
|
18445
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM projects_users[0m
|
18446
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18447
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18448
|
+
-------------------------
|
18449
|
+
DatabaseTest: test_tables
|
18450
|
+
-------------------------
|
18451
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18452
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18453
|
+
------------------------------------
|
18454
|
+
DatabaseTest: test_accessible_tables
|
18455
|
+
------------------------------------
|
18456
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18457
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18458
|
+
------------------------
|
18459
|
+
DatabaseTest: test_query
|
18460
|
+
------------------------
|
18461
|
+
[1m[36mUser Delete All (0.1ms)[0m [1m[31mDELETE FROM "users"[0m
|
18462
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18463
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "Igor"], ["created_at", "2024-06-07 20:33:11.936972"], ["updated_at", "2024-06-07 20:33:11.936972"]]
|
18464
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18465
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mselect count(*) as users_count from users[0m
|
18466
|
+
[1m[35mSQL (0.1ms)[0m [1m[35mEXPLAIN select count(*) as users_count from users[0m
|
18467
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18468
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18469
|
+
------------------------
|
18470
|
+
TableTest: test_truncate
|
18471
|
+
------------------------
|
18472
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
18473
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18474
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:33:11.940062"], ["updated_at", "2024-06-07 20:33:11.940062"]]
|
18475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18476
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18477
|
+
[1m[35m (0.0ms)[0m [1m[31mDELETE FROM users;[0m
|
18478
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18479
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18480
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18481
|
+
-----------------------
|
18482
|
+
TableTest: test_columns
|
18483
|
+
-----------------------
|
18484
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18485
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18486
|
+
----------------------
|
18487
|
+
TableTest: test_delete
|
18488
|
+
----------------------
|
18489
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
18490
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18491
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:33:11.943600"], ["updated_at", "2024-06-07 20:33:11.943600"]]
|
18492
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18493
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18494
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "john"], ["created_at", "2024-06-07 20:33:11.944471"], ["updated_at", "2024-06-07 20:33:11.944471"]]
|
18495
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18496
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18497
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM users WHERE id = 1;[0m
|
18498
|
+
[1m[36mUser Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18499
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "igor"]]
|
18500
|
+
[1m[36mUser Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users" WHERE "users"."name" = ?[0m [["name", "john"]]
|
18501
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18502
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18503
|
+
---------------------------
|
18504
|
+
TableTest: test_primary_key
|
18505
|
+
---------------------------
|
18506
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18508
|
+
-----------------------
|
18509
|
+
TableTest: test_ransack
|
18510
|
+
-----------------------
|
18511
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
18512
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18513
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "111"], ["created_at", "2024-06-07 20:33:11.948720"], ["updated_at", "2024-06-07 20:33:11.948720"]]
|
18514
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18515
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18516
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "555"], ["created_at", "2024-06-07 20:33:11.949523"], ["updated_at", "2024-06-07 20:33:11.949523"]]
|
18517
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18519
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "333"], ["created_at", "2024-06-07 20:33:11.950276"], ["updated_at", "2024-06-07 20:33:11.950276"]]
|
18520
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18521
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18522
|
+
[1m[36m Pluck (0.1ms)[0m [1m[34mSELECT "users"."name" FROM "users" ORDER BY "users"."name" DESC[0m
|
18523
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
18524
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18525
|
+
------------------------
|
18526
|
+
TableTest: test_as_table
|
18527
|
+
------------------------
|
18528
|
+
[1m[36mUser Delete All (0.0ms)[0m [1m[31mDELETE FROM "users"[0m
|
18529
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18530
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:33:11.953792"], ["updated_at", "2024-06-07 20:33:11.953792"]]
|
18531
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18532
|
+
[1m[36m Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
18533
|
+
[1m[36m Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
18534
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
18535
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18536
|
+
----------------------
|
18537
|
+
TableTest: test_to_csv
|
18538
|
+
----------------------
|
18539
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18540
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) RETURNING "id"[0m [["name", "igor"], ["created_at", "2024-06-07 20:33:11.960987"], ["updated_at", "2024-06-07 20:33:11.960987"]]
|
18541
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18542
|
+
[1m[35mSQL (0.1ms)[0m [1m[34mSELECT * FROM users[0m
|
18543
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|