any_login 1.5.3 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/any_login/application.css +3 -0
- data/app/controllers/any_login/application_controller.rb +1 -9
- data/app/views/any_login/_any_login.html.erb +4 -4
- data/app/views/any_login/assets/_css.html.erb +101 -0
- data/app/views/any_login/assets/_js.html.erb +25 -0
- data/config/routes.rb +0 -2
- data/lib/any_login/helpers.rb +3 -1
- data/lib/any_login/providers/devise.rb +1 -1
- data/lib/any_login/version.rb +1 -1
- data/test/rails_apps/authlogic/db/development.sqlite3 +0 -0
- data/test/rails_apps/authlogic/db/test.sqlite3 +0 -0
- data/test/rails_apps/authlogic/db/test.sqlite3-shm +0 -0
- data/test/rails_apps/authlogic/db/test.sqlite3-wal +0 -0
- data/test/rails_apps/authlogic/log/development.log +438 -0
- data/test/rails_apps/authlogic/log/test.log +1144 -0
- data/test/rails_apps/authlogic/tmp/development_secret.txt +1 -0
- data/test/rails_apps/authlogic/tmp/local_secret.txt +1 -0
- data/test/rails_apps/clearance/config/environment.rb +1 -0
- data/test/rails_apps/clearance/db/development.sqlite3 +0 -0
- data/test/rails_apps/clearance/db/test.sqlite3 +0 -0
- data/test/rails_apps/clearance/db/test.sqlite3-shm +0 -0
- data/test/rails_apps/clearance/db/test.sqlite3-wal +0 -0
- data/test/rails_apps/clearance/log/development.log +388 -0
- data/test/rails_apps/clearance/log/test.log +1110 -0
- data/test/rails_apps/clearance/tmp/development_secret.txt +1 -0
- data/test/rails_apps/clearance/tmp/local_secret.txt +1 -0
- data/test/rails_apps/devise/db/development.sqlite3 +0 -0
- data/test/rails_apps/devise/db/schema.rb +4 -4
- data/test/rails_apps/devise/db/test.sqlite3 +0 -0
- data/test/rails_apps/devise/db/test.sqlite3-shm +0 -0
- data/test/rails_apps/devise/db/test.sqlite3-wal +0 -0
- data/test/rails_apps/devise/log/development.log +1081 -0
- data/test/rails_apps/devise/log/test.log +2120 -0
- data/test/rails_apps/devise/tmp/development_secret.txt +1 -0
- data/test/rails_apps/devise/tmp/local_secret.txt +1 -0
- data/test/rails_apps/sorcery/db/development.sqlite3 +0 -0
- data/test/rails_apps/sorcery/db/test.sqlite3 +0 -0
- data/test/rails_apps/sorcery/db/test.sqlite3-shm +0 -0
- data/test/rails_apps/sorcery/db/test.sqlite3-wal +0 -0
- data/test/rails_apps/sorcery/log/development.log +247 -0
- data/test/rails_apps/sorcery/log/test.log +532 -0
- data/test/rails_apps/sorcery/tmp/development_secret.txt +1 -0
- data/test/rails_apps/sorcery/tmp/local_secret.txt +1 -0
- data/test/test_helper_common.rb +2 -1
- metadata +86 -7
- data/app/assets/javascripts/any_login/application.js +0 -23
@@ -0,0 +1,2120 @@
|
|
1
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
+
[1m[35m (14.3ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
3
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
4
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
5
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
6
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
7
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
8
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
9
|
+
(20150907190846),
|
10
|
+
(20150907190739);[0m
|
11
|
+
[1m[35m (0.6ms)[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
|
12
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
13
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 08:00:19.231272', '2024-06-28 08:00:19.231278') RETURNING "key"[0m
|
14
|
+
[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"]]
|
15
|
+
[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"]]
|
16
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', 'deca11fedd8447e578f191d76c44fededdb411bf', '2024-06-28 08:00:19.232627', '2024-06-28 08:00:19.232630') RETURNING "key"[0m
|
17
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18
|
+
[1m[36mActiveRecord::InternalMetadata Load (8.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"]]
|
19
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
20
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
21
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
22
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
23
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
24
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
25
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
26
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
27
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
28
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
29
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
30
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
31
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
32
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
33
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
34
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
35
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
36
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
37
|
+
(20150907190739),
|
38
|
+
(20150907190846);
|
39
|
+
|
40
|
+
[0m
|
41
|
+
[1m[35m (1.0ms)[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
|
42
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
43
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:04:29.268860"], ["updated_at", "2024-06-28 08:04:29.268860"]]
|
45
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
46
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
47
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
48
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
49
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "deca11fedd8447e578f191d76c44fededdb411bf"], ["created_at", "2024-06-28 08:04:29.272583"], ["updated_at", "2024-06-28 08:04:29.272583"]]
|
50
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
51
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
52
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
53
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
54
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
55
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
56
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
57
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
58
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
59
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
60
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
61
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
62
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
63
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
64
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
65
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
66
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
67
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
68
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
69
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
70
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
71
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
72
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
73
|
+
(20150907190739),
|
74
|
+
(20150907190846);
|
75
|
+
|
76
|
+
[0m
|
77
|
+
[1m[35m (1.0ms)[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
|
78
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
79
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
80
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:05:52.941654"], ["updated_at", "2024-06-28 08:05:52.941654"]]
|
81
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
82
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
83
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
84
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
85
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "deca11fedd8447e578f191d76c44fededdb411bf"], ["created_at", "2024-06-28 08:05:52.946541"], ["updated_at", "2024-06-28 08:05:52.946541"]]
|
86
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
87
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
88
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
89
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
90
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
91
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
92
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
93
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
94
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
95
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
96
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
97
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
98
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
99
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
100
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
101
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
102
|
+
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
103
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
104
|
+
(20150907190739),
|
105
|
+
(20150907190846);
|
106
|
+
|
107
|
+
[0m
|
108
|
+
[1m[35m (1.1ms)[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
|
109
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
110
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
111
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:06:15.698647"], ["updated_at", "2024-06-28 08:06:15.698647"]]
|
112
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
113
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
114
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
115
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
116
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "deca11fedd8447e578f191d76c44fededdb411bf"], ["created_at", "2024-06-28 08:06:15.703190"], ["updated_at", "2024-06-28 08:06:15.703190"]]
|
117
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
118
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
119
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
120
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
121
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
122
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
123
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
124
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
125
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
126
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
127
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
128
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
129
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
130
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
131
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
132
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
133
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
134
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
135
|
+
(20150907190739),
|
136
|
+
(20150907190846);
|
137
|
+
|
138
|
+
[0m
|
139
|
+
[1m[35m (1.0ms)[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
|
140
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
141
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
142
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:07:04.576850"], ["updated_at", "2024-06-28 08:07:04.576850"]]
|
143
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
144
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
145
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
146
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
147
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "deca11fedd8447e578f191d76c44fededdb411bf"], ["created_at", "2024-06-28 08:07:04.581002"], ["updated_at", "2024-06-28 08:07:04.581002"]]
|
148
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
149
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
150
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
151
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
152
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
153
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
154
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
155
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
156
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
157
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
158
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
159
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
160
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
161
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
162
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
163
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
164
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
165
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
166
|
+
(20150907190739),
|
167
|
+
(20150907190846);
|
168
|
+
|
169
|
+
[0m
|
170
|
+
[1m[35m (1.1ms)[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
|
171
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
172
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
173
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:07:58.534229"], ["updated_at", "2024-06-28 08:07:58.534229"]]
|
174
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
175
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
176
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
177
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
178
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "deca11fedd8447e578f191d76c44fededdb411bf"], ["created_at", "2024-06-28 08:07:58.538753"], ["updated_at", "2024-06-28 08:07:58.538753"]]
|
179
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
180
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
181
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
182
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
183
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
184
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
185
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
186
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
187
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
188
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
189
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
190
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
191
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
192
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
193
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
194
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
195
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
196
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
197
|
+
(20150907190739),
|
198
|
+
(20150907190846);
|
199
|
+
|
200
|
+
[0m
|
201
|
+
[1m[35m (1.8ms)[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
|
202
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
203
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
204
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:09:42.457624"], ["updated_at", "2024-06-28 08:09:42.457624"]]
|
205
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
206
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
207
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
208
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
209
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "deca11fedd8447e578f191d76c44fededdb411bf"], ["created_at", "2024-06-28 08:09:42.461743"], ["updated_at", "2024-06-28 08:09:42.461743"]]
|
210
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
211
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
212
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
213
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
214
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
215
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
216
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
217
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
218
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
219
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
220
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
221
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
222
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
223
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
224
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
225
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
226
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
227
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
228
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
229
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
230
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
231
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
232
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
233
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
234
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
235
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
236
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
237
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
238
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
239
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
240
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
241
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
242
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
243
|
+
(20150907190739),
|
244
|
+
(20150907190846);
|
245
|
+
|
246
|
+
[0m
|
247
|
+
[1m[35m (1.1ms)[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
|
248
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
249
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
250
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:10:51.751418"], ["updated_at", "2024-06-28 08:10:51.751418"]]
|
251
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
252
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
253
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
254
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
255
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "8de4e9b95d6e56b1b6b944c3b8b341639c0ccd99"], ["created_at", "2024-06-28 08:10:51.756122"], ["updated_at", "2024-06-28 08:10:51.756122"]]
|
256
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
257
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
258
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
259
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
260
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
261
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
262
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
263
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
264
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (5.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
265
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
266
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
267
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
268
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
269
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
270
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
271
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
272
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
273
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
274
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
275
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
276
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
277
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
278
|
+
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
279
|
+
(20150907190739),
|
280
|
+
(20150907190846);
|
281
|
+
|
282
|
+
[0m
|
283
|
+
[1m[35m (1.1ms)[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
|
284
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
285
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
286
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:12:58.184501"], ["updated_at", "2024-06-28 08:12:58.184501"]]
|
287
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
288
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
289
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
290
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
291
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:12:58.188560"], ["updated_at", "2024-06-28 08:12:58.188560"]]
|
292
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
293
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
294
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
295
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
296
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
297
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
298
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
299
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
300
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
301
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
302
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
303
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
304
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
305
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
306
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
307
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
308
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
309
|
+
[1m[35m (11.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
310
|
+
(20150907190739),
|
311
|
+
(20150907190846);
|
312
|
+
|
313
|
+
[0m
|
314
|
+
[1m[35m (1.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
|
315
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
316
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
317
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:14:20.619021"], ["updated_at", "2024-06-28 08:14:20.619021"]]
|
318
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
319
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
320
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
321
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
322
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:14:20.623166"], ["updated_at", "2024-06-28 08:14:20.623166"]]
|
323
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
324
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
325
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
326
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
327
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
328
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
329
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
330
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
331
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
332
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
333
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
334
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
335
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
336
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
337
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
338
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
339
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
340
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
341
|
+
(20150907190739),
|
342
|
+
(20150907190846);
|
343
|
+
|
344
|
+
[0m
|
345
|
+
[1m[35m (1.4ms)[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
|
346
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
348
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:15:22.122172"], ["updated_at", "2024-06-28 08:15:22.122172"]]
|
349
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
350
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
351
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
352
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
353
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:15:22.126391"], ["updated_at", "2024-06-28 08:15:22.126391"]]
|
354
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
355
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
356
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
357
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
358
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
359
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
360
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
361
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
362
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
363
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
364
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
365
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
366
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
367
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
368
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
369
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
370
|
+
[1m[35m (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
371
|
+
[1m[35m (13.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
372
|
+
(20150907190739),
|
373
|
+
(20150907190846);
|
374
|
+
|
375
|
+
[0m
|
376
|
+
[1m[35m (1.0ms)[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
|
377
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
378
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
379
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:15:54.271794"], ["updated_at", "2024-06-28 08:15:54.271794"]]
|
380
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
381
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
382
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
383
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
384
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:15:54.275988"], ["updated_at", "2024-06-28 08:15:54.275988"]]
|
385
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
386
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
387
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
388
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
389
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
390
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
391
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
392
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
393
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
394
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
395
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
396
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
397
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
398
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
399
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
400
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
401
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
402
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
403
|
+
(20150907190739),
|
404
|
+
(20150907190846);
|
405
|
+
|
406
|
+
[0m
|
407
|
+
[1m[35m (1.1ms)[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
|
408
|
+
[1m[36mActiveRecord::InternalMetadata Load (5.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
409
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
410
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:18:03.861946"], ["updated_at", "2024-06-28 08:18:03.861946"]]
|
411
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
412
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
413
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
414
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:18:03.866169"], ["updated_at", "2024-06-28 08:18:03.866169"]]
|
416
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
418
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
419
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
420
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
421
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
422
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
423
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
424
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
425
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
426
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
427
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
428
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
429
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
430
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
431
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
432
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
433
|
+
[1m[35m (4.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
434
|
+
(20150907190739),
|
435
|
+
(20150907190846);
|
436
|
+
|
437
|
+
[0m
|
438
|
+
[1m[35m (1.1ms)[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
|
439
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
440
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
441
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:19:57.454930"], ["updated_at", "2024-06-28 08:19:57.454930"]]
|
442
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
443
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
444
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
446
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:19:57.459873"], ["updated_at", "2024-06-28 08:19:57.459873"]]
|
447
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
448
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
449
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
450
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
451
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
452
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
453
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
454
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
455
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
456
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
457
|
+
[1m[35m (4.8ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
458
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
459
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
460
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
461
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
462
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
463
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
464
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
465
|
+
(20150907190739),
|
466
|
+
(20150907190846);
|
467
|
+
|
468
|
+
[0m
|
469
|
+
[1m[35m (1.3ms)[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
|
470
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
471
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
472
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:20:12.072171"], ["updated_at", "2024-06-28 08:20:12.072171"]]
|
473
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
474
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
475
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
476
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
477
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:20:12.076581"], ["updated_at", "2024-06-28 08:20:12.076581"]]
|
478
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
479
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
480
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
481
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
482
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (4.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
483
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
484
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
485
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
486
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
487
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
488
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
489
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
490
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
491
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
492
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
493
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
494
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
495
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
496
|
+
(20150907190739),
|
497
|
+
(20150907190846);
|
498
|
+
|
499
|
+
[0m
|
500
|
+
[1m[35m (1.1ms)[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
|
501
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
502
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
503
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:21:03.849631"], ["updated_at", "2024-06-28 08:21:03.849631"]]
|
504
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
505
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
506
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
508
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:21:03.853772"], ["updated_at", "2024-06-28 08:21:03.853772"]]
|
509
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
510
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
511
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
512
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
513
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
514
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
515
|
+
------------------------
|
516
|
+
AnyLoginTest: test_truth
|
517
|
+
------------------------
|
518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
519
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
520
|
+
--------------------------------------------------------------------------------------
|
521
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
522
|
+
--------------------------------------------------------------------------------------
|
523
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
524
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
525
|
+
------------------------------------------------------------------------
|
526
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
527
|
+
------------------------------------------------------------------------
|
528
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
529
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
530
|
+
-------------------------------------------------------------------------
|
531
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
532
|
+
-------------------------------------------------------------------------
|
533
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
534
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
535
|
+
--------------------------------------------------------------------------------------
|
536
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
537
|
+
--------------------------------------------------------------------------------------
|
538
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
539
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
540
|
+
---------------------------------------------------------------------
|
541
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
542
|
+
---------------------------------------------------------------------
|
543
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
544
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
545
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 08:21:17.737766"], ["updated_at", "2024-06-28 08:21:17.737766"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$eCwoLfw3iOboeJGAfjsjbumH3dqgyDN3i/pJfcU71p.reOQBGbrlO"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
546
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
547
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 11:21:18 +0300
|
548
|
+
Processing by HomeController#about as HTML
|
549
|
+
Completed 401 Unauthorized in 13ms (ActiveRecord: 0.0ms | Allocations: 2545)
|
550
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 11:21:18 +0300
|
551
|
+
Processing by Devise::SessionsController#new as HTML
|
552
|
+
Rendering layout layouts/application.html.erb
|
553
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application
|
554
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 651)
|
555
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 11.0ms | Allocations: 3740)
|
556
|
+
Rendered shared/_header.html.erb (Duration: 0.4ms | Allocations: 109)
|
557
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.4ms | Allocations: 109)
|
558
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
559
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 4.1ms | Allocations: 1586)
|
560
|
+
Rendered shared/_footer.html.erb (Duration: 5.8ms | Allocations: 2097)
|
561
|
+
Rendered layout layouts/application.html.erb (Duration: 18.7ms | Allocations: 6396)
|
562
|
+
Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.2ms | Allocations: 10034)
|
563
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:21:18 +0300
|
564
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:21:18 +0300
|
565
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
566
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
567
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (1.1ms)
|
568
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 871)
|
569
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (1.0ms)
|
570
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 777)
|
571
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mrollback transaction[0m
|
572
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
573
|
+
-----------------------------------------------------------------------------------
|
574
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
575
|
+
-----------------------------------------------------------------------------------
|
576
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
577
|
+
[1m[36mUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
578
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 08:21:19.155589"], ["updated_at", "2024-06-28 08:21:19.155589"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$Cd3fbc1YtoW6OYVvQdbuSekbsse5veyQtt0su1lHtx6/HgDLDa5Da"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
579
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
580
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
581
|
+
Processing by HomeController#index as HTML
|
582
|
+
Rendering layout layouts/application.html.erb
|
583
|
+
Rendering home/index.html.erb within layouts/application
|
584
|
+
Rendered home/index.html.erb within layouts/application (Duration: 2.7ms | Allocations: 450)
|
585
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
586
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
587
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
588
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.1ms | Allocations: 862)
|
589
|
+
Rendered shared/_footer.html.erb (Duration: 2.5ms | Allocations: 1028)
|
590
|
+
Rendered layout layouts/application.html.erb (Duration: 5.6ms | Allocations: 1638)
|
591
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.1ms | Allocations: 2325)
|
592
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
593
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
594
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (1.0ms)
|
595
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 994)
|
596
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
597
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
598
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.3ms)
|
599
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 332)
|
600
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
601
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
602
|
+
Parameters: {"selected_id"=>"1", "id"=>""}
|
603
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
604
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
605
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 08:21:19.325097"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 08:21:19.324811"], ["last_sign_in_at", "2024-06-28 08:21:19.324811"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
606
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
607
|
+
Redirected to http://127.0.0.1:49611/
|
608
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms | Allocations: 1834)
|
609
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
610
|
+
Processing by HomeController#index as HTML
|
611
|
+
Rendering layout layouts/application.html.erb
|
612
|
+
Rendering home/index.html.erb within layouts/application
|
613
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 243)
|
614
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
615
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
616
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
617
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
618
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.0ms | Allocations: 1170)
|
619
|
+
Rendered shared/_footer.html.erb (Duration: 2.2ms | Allocations: 1304)
|
620
|
+
Rendered layout layouts/application.html.erb (Duration: 3.4ms | Allocations: 1690)
|
621
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms | Allocations: 1942)
|
622
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
623
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
624
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
625
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
626
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (0.3ms)
|
627
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1015)
|
628
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.2ms)
|
629
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 504)
|
630
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
631
|
+
Processing by HomeController#about as HTML
|
632
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
633
|
+
Rendering layout layouts/application.html.erb
|
634
|
+
Rendering home/about.html.erb within layouts/application
|
635
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.7ms | Allocations: 94)
|
636
|
+
Rendered shared/_header.html.erb (Duration: 0.1ms | Allocations: 6)
|
637
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.1ms | Allocations: 7)
|
638
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
639
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
640
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.9ms | Allocations: 946)
|
641
|
+
Rendered shared/_footer.html.erb (Duration: 3.6ms | Allocations: 1086)
|
642
|
+
Rendered layout layouts/application.html.erb (Duration: 4.9ms | Allocations: 1315)
|
643
|
+
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms | Allocations: 2042)
|
644
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
645
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
646
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:21:19 +0300
|
647
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
648
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (0.6ms)
|
649
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 987)
|
650
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.1ms)
|
651
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 502)
|
652
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mrollback transaction[0m
|
653
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
654
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
655
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
656
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
657
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
658
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
659
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
660
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
661
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
662
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
663
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
664
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
665
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
666
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
667
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
668
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
669
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
670
|
+
(20150907190739),
|
671
|
+
(20150907190846);
|
672
|
+
|
673
|
+
[0m
|
674
|
+
[1m[35m (1.3ms)[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
|
675
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
676
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
677
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:21:33.146075"], ["updated_at", "2024-06-28 08:21:33.146075"]]
|
678
|
+
[1m[36mTRANSACTION (1.1ms)[0m [1m[36mcommit transaction[0m
|
679
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
680
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
681
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
682
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:21:33.152049"], ["updated_at", "2024-06-28 08:21:33.152049"]]
|
683
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
684
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
685
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
686
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
687
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
688
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
689
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
690
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
691
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
692
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
693
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
694
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
695
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
696
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
697
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
698
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
699
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
700
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
701
|
+
(20150907190739),
|
702
|
+
(20150907190846);
|
703
|
+
|
704
|
+
[0m
|
705
|
+
[1m[35m (1.6ms)[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
|
706
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
707
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
708
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:21:47.391655"], ["updated_at", "2024-06-28 08:21:47.391655"]]
|
709
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
710
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
711
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
712
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
713
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:21:47.396448"], ["updated_at", "2024-06-28 08:21:47.396448"]]
|
714
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
715
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[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"]]
|
716
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
717
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
718
|
+
-----------------------------------------------------------------------------------
|
719
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
720
|
+
-----------------------------------------------------------------------------------
|
721
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
722
|
+
[1m[36mUser Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
723
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 08:22:48.795153"], ["updated_at", "2024-06-28 08:22:48.795153"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$DVB1alDo.lfkRoC.RcIgRucY8CRrCuQkdM7zqtzrLRHTrj4tKjP5G"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
724
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
725
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 11:22:49 +0300
|
726
|
+
Processing by HomeController#index as HTML
|
727
|
+
Rendering layout layouts/application.html.erb
|
728
|
+
Rendering home/index.html.erb within layouts/application
|
729
|
+
Rendered home/index.html.erb within layouts/application (Duration: 3.6ms | Allocations: 665)
|
730
|
+
Rendered shared/_header.html.erb (Duration: 0.2ms | Allocations: 109)
|
731
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.3ms | Allocations: 130)
|
732
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
733
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 6.1ms | Allocations: 1982)
|
734
|
+
Rendered shared/_footer.html.erb (Duration: 7.3ms | Allocations: 2598)
|
735
|
+
Rendered layout layouts/application.html.erb (Duration: 13.0ms | Allocations: 3923)
|
736
|
+
Completed 200 OK in 35ms (Views: 19.3ms | ActiveRecord: 0.2ms | Allocations: 10902)
|
737
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:22:49 +0300
|
738
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:22:49 +0300
|
739
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
740
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
741
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.7ms)
|
742
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 932)
|
743
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (0.1ms)
|
744
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 557)
|
745
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
746
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
747
|
+
Parameters: {"selected_id"=>"1"}
|
748
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
749
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
750
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 08:22:50.215770"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 08:22:50.215489"], ["last_sign_in_at", "2024-06-28 08:22:50.215489"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
751
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
752
|
+
Redirected to http://127.0.0.1:49692/
|
753
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms | Allocations: 2062)
|
754
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
755
|
+
Processing by HomeController#index as HTML
|
756
|
+
Rendering layout layouts/application.html.erb
|
757
|
+
Rendering home/index.html.erb within layouts/application
|
758
|
+
Rendered home/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 676)
|
759
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 10)
|
760
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 10)
|
761
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
762
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
763
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.5ms | Allocations: 1153)
|
764
|
+
Rendered shared/_footer.html.erb (Duration: 2.7ms | Allocations: 1272)
|
765
|
+
Rendered layout layouts/application.html.erb (Duration: 5.3ms | Allocations: 2129)
|
766
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms | Allocations: 2377)
|
767
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
768
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
769
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
770
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
771
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (0.2ms)
|
772
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 973)
|
773
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.1ms)
|
774
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 764)
|
775
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
776
|
+
Processing by HomeController#about as HTML
|
777
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
778
|
+
Rendering layout layouts/application.html.erb
|
779
|
+
Rendering home/about.html.erb within layouts/application
|
780
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.3ms | Allocations: 93)
|
781
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 10)
|
782
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 10)
|
783
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
784
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
785
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.9ms | Allocations: 918)
|
786
|
+
Rendered shared/_footer.html.erb (Duration: 2.2ms | Allocations: 1073)
|
787
|
+
Rendered layout layouts/application.html.erb (Duration: 2.9ms | Allocations: 1349)
|
788
|
+
Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.1ms | Allocations: 3460)
|
789
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
790
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
791
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
792
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
793
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.2ms)
|
794
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 917)
|
795
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (0.3ms)
|
796
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 491)
|
797
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
798
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
799
|
+
---------------------------------------------------------------------
|
800
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
801
|
+
---------------------------------------------------------------------
|
802
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
803
|
+
[1m[36mUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
804
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 08:22:50.386003"], ["updated_at", "2024-06-28 08:22:50.386003"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$5MTwBFan4aWtsDpC8tS4ceQFbLN6oVaH4ILBmrPXDORFpPzb6sMcq"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
805
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
806
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
807
|
+
Processing by HomeController#about as HTML
|
808
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms | Allocations: 239)
|
809
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
810
|
+
Processing by Devise::SessionsController#new as HTML
|
811
|
+
Rendering layout layouts/application.html.erb
|
812
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application
|
813
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/shared/_links.html.erb (Duration: 0.8ms | Allocations: 588)
|
814
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 8.2ms | Allocations: 3089)
|
815
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
816
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 11)
|
817
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
818
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.3ms | Allocations: 752)
|
819
|
+
Rendered shared/_footer.html.erb (Duration: 1.5ms | Allocations: 890)
|
820
|
+
Rendered layout layouts/application.html.erb (Duration: 10.1ms | Allocations: 4158)
|
821
|
+
Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.1ms | Allocations: 6159)
|
822
|
+
Started GET "/any_login/any_login/css" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
823
|
+
Processing by AnyLogin::ApplicationController#css as HTML
|
824
|
+
Sent file /Users/admin/projects/any_login/app/assets/stylesheets/any_login/application.css (0.2ms)
|
825
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 377)
|
826
|
+
Started GET "/any_login/any_login/js" for 127.0.0.1 at 2024-06-28 11:22:50 +0300
|
827
|
+
Processing by AnyLogin::ApplicationController#js as */*
|
828
|
+
Sent file /Users/admin/projects/any_login/app/assets/javascripts/any_login/application.js (0.2ms)
|
829
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 305)
|
830
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
831
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
832
|
+
------------------------
|
833
|
+
AnyLoginTest: test_truth
|
834
|
+
------------------------
|
835
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
836
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
837
|
+
--------------------------------------------------------------------------------------
|
838
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
839
|
+
--------------------------------------------------------------------------------------
|
840
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
841
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
842
|
+
-------------------------------------------------------------------------
|
843
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
844
|
+
-------------------------------------------------------------------------
|
845
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
846
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
847
|
+
--------------------------------------------------------------------------------------
|
848
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
849
|
+
--------------------------------------------------------------------------------------
|
850
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
851
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
852
|
+
------------------------------------------------------------------------
|
853
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
854
|
+
------------------------------------------------------------------------
|
855
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
856
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
857
|
+
[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"]]
|
858
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
859
|
+
[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"]]
|
860
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
861
|
+
[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"]]
|
862
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
863
|
+
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
864
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
865
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
866
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
867
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
868
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
869
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
870
|
+
(20150907190846),
|
871
|
+
(20150907190739);[0m
|
872
|
+
[1m[35m (0.3ms)[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
|
873
|
+
[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"]]
|
874
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 08:23:07.015099', '2024-06-28 08:23:07.015105') RETURNING "key"[0m
|
875
|
+
[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"]]
|
876
|
+
[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"]]
|
877
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '52e1e8cd766b3d53d6cae4509a0f542c9787d86f', '2024-06-28 08:23:07.016541', '2024-06-28 08:23:07.016544') RETURNING "key"[0m
|
878
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
879
|
+
[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"]]
|
880
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
881
|
+
[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"]]
|
882
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
883
|
+
[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"]]
|
884
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
885
|
+
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
886
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
887
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
888
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
889
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
890
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
891
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
892
|
+
(20150907190846),
|
893
|
+
(20150907190739);[0m
|
894
|
+
[1m[35m (0.3ms)[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
|
895
|
+
[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"]]
|
896
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 08:24:38.988401', '2024-06-28 08:24:38.988408') RETURNING "key"[0m
|
897
|
+
[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"]]
|
898
|
+
[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"]]
|
899
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '52e1e8cd766b3d53d6cae4509a0f542c9787d86f', '2024-06-28 08:24:38.989987', '2024-06-28 08:24:38.989991') RETURNING "key"[0m
|
900
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
901
|
+
[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"]]
|
902
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
903
|
+
[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"]]
|
904
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
905
|
+
[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"]]
|
906
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
907
|
+
[1m[35m (12.4ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
908
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
909
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
910
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
911
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
912
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
913
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
914
|
+
(20150907190846),
|
915
|
+
(20150907190739);[0m
|
916
|
+
[1m[35m (0.3ms)[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
|
917
|
+
[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"]]
|
918
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 08:25:00.060296', '2024-06-28 08:25:00.060302') RETURNING "key"[0m
|
919
|
+
[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"]]
|
920
|
+
[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"]]
|
921
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '52e1e8cd766b3d53d6cae4509a0f542c9787d86f', '2024-06-28 08:25:00.061701', '2024-06-28 08:25:00.061703') RETURNING "key"[0m
|
922
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
923
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
924
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
925
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
926
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
927
|
+
-------------------------------------------------------------------------
|
928
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
929
|
+
-------------------------------------------------------------------------
|
930
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
931
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
932
|
+
------------------------------------------------------------------------
|
933
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
934
|
+
------------------------------------------------------------------------
|
935
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
936
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
937
|
+
--------------------------------------------------------------------------------------
|
938
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
939
|
+
--------------------------------------------------------------------------------------
|
940
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
941
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
942
|
+
--------------------------------------------------------------------------------------
|
943
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
944
|
+
--------------------------------------------------------------------------------------
|
945
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
946
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
947
|
+
---------------------------------------------------------------------
|
948
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
949
|
+
---------------------------------------------------------------------
|
950
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
951
|
+
[1m[36mUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
952
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 08:56:51.349889"], ["updated_at", "2024-06-28 08:56:51.349889"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$NTN20Ba.C25/WPWh/.5H5Ovze7F9XFbHnee614MJjjNTI0nK.4x3G"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
953
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
954
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 11:57:02 +0300
|
955
|
+
Processing by HomeController#about as HTML
|
956
|
+
Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms | Allocations: 2545)
|
957
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 11:57:02 +0300
|
958
|
+
Processing by Devise::SessionsController#new as HTML
|
959
|
+
Rendering layout layouts/application.html.erb
|
960
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application
|
961
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 651)
|
962
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 12.4ms | Allocations: 3740)
|
963
|
+
Rendered shared/_header.html.erb (Duration: 0.5ms | Allocations: 109)
|
964
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.5ms | Allocations: 122)
|
965
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.4ms | Allocations: 174)
|
966
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.5ms | Allocations: 109)
|
967
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
968
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 4.9ms | Allocations: 1914)
|
969
|
+
Rendered shared/_footer.html.erb (Duration: 6.3ms | Allocations: 2425)
|
970
|
+
Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 6724)
|
971
|
+
Completed 200 OK in 33ms (Views: 29.9ms | ActiveRecord: 0.2ms | Allocations: 10360)
|
972
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
973
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
974
|
+
-----------------------------------------------------------------------------------
|
975
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
976
|
+
-----------------------------------------------------------------------------------
|
977
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
978
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
979
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 08:57:02.526964"], ["updated_at", "2024-06-28 08:57:02.526964"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$kH/BlstKJDs5/OAQP8NxyuXbjri9wlSEnXOhFARAxPwsosclPdPs."], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
980
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
981
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 11:57:02 +0300
|
982
|
+
Processing by HomeController#index as HTML
|
983
|
+
Rendering layout layouts/application.html.erb
|
984
|
+
Rendering home/index.html.erb within layouts/application
|
985
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.9ms | Allocations: 447)
|
986
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
987
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 6)
|
988
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 6)
|
989
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
990
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
991
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.3ms | Allocations: 816)
|
992
|
+
Rendered shared/_footer.html.erb (Duration: 1.6ms | Allocations: 982)
|
993
|
+
Rendered layout layouts/application.html.erb (Duration: 2.9ms | Allocations: 1588)
|
994
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms | Allocations: 2253)
|
995
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 11:57:02 +0300
|
996
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
997
|
+
Parameters: {"selected_id"=>"1", "id"=>""}
|
998
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1000
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 08:57:02.693973"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 08:57:02.693674"], ["last_sign_in_at", "2024-06-28 08:57:02.693674"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
1001
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1002
|
+
Redirected to http://127.0.0.1:54517/
|
1003
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms | Allocations: 1949)
|
1004
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 11:57:02 +0300
|
1005
|
+
Processing by HomeController#index as HTML
|
1006
|
+
Rendering layout layouts/application.html.erb
|
1007
|
+
Rendering home/index.html.erb within layouts/application
|
1008
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 263)
|
1009
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
1010
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1011
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1012
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1013
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1014
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1015
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.1ms | Allocations: 1137)
|
1016
|
+
Rendered shared/_footer.html.erb (Duration: 2.3ms | Allocations: 1271)
|
1017
|
+
Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 1676)
|
1018
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms | Allocations: 1925)
|
1019
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 11:57:02 +0300
|
1020
|
+
Processing by HomeController#about as HTML
|
1021
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1022
|
+
Rendering layout layouts/application.html.erb
|
1023
|
+
Rendering home/about.html.erb within layouts/application
|
1024
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.5ms | Allocations: 94)
|
1025
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 6)
|
1026
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1027
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1028
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1029
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1030
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1031
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.0ms | Allocations: 912)
|
1032
|
+
Rendered shared/_footer.html.erb (Duration: 2.4ms | Allocations: 1052)
|
1033
|
+
Rendered layout layouts/application.html.erb (Duration: 3.4ms | Allocations: 1280)
|
1034
|
+
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.1ms | Allocations: 2008)
|
1035
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
1036
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1037
|
+
------------------------
|
1038
|
+
AnyLoginTest: test_truth
|
1039
|
+
------------------------
|
1040
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1041
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1042
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1043
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1044
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1045
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1046
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1047
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1048
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1049
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1050
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1051
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1052
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1053
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1054
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1055
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1056
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1057
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1058
|
+
(20150907190739),
|
1059
|
+
(20150907190846);
|
1060
|
+
|
1061
|
+
[0m
|
1062
|
+
[1m[35m (1.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
|
1063
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1064
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1065
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:57:13.651701"], ["updated_at", "2024-06-28 08:57:13.651701"]]
|
1066
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1067
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1068
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1069
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1070
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:57:13.655237"], ["updated_at", "2024-06-28 08:57:13.655237"]]
|
1071
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1072
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1073
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1074
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1075
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1076
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1077
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1078
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1079
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1080
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1081
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1082
|
+
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1083
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1084
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1085
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1086
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1087
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1088
|
+
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1089
|
+
(20150907190739),
|
1090
|
+
(20150907190846);
|
1091
|
+
|
1092
|
+
[0m
|
1093
|
+
[1m[35m (1.4ms)[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
|
1094
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1095
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1096
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 08:57:24.777511"], ["updated_at", "2024-06-28 08:57:24.777511"]]
|
1097
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1098
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1099
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1100
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1101
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 08:57:24.781152"], ["updated_at", "2024-06-28 08:57:24.781152"]]
|
1102
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1103
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1104
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1105
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1106
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1107
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1108
|
+
-------------------------------------------------------------------------
|
1109
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
1110
|
+
-------------------------------------------------------------------------
|
1111
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1112
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1113
|
+
--------------------------------------------------------------------------------------
|
1114
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
1115
|
+
--------------------------------------------------------------------------------------
|
1116
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1117
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1118
|
+
--------------------------------------------------------------------------------------
|
1119
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
1120
|
+
--------------------------------------------------------------------------------------
|
1121
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1122
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1123
|
+
------------------------------------------------------------------------
|
1124
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
1125
|
+
------------------------------------------------------------------------
|
1126
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1127
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1128
|
+
-----------------------------------------------------------------------------------
|
1129
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
1130
|
+
-----------------------------------------------------------------------------------
|
1131
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1132
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1133
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:01:24.942003"], ["updated_at", "2024-06-28 09:01:24.942003"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$n6.qqnIcBr86/lDCrHE8G.XYvTUOIOPb/1bpQ/wLMvKWLzW6lICSK"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1134
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1135
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:01:25 +0300
|
1136
|
+
Processing by HomeController#index as HTML
|
1137
|
+
Rendering layout layouts/application.html.erb
|
1138
|
+
Rendering home/index.html.erb within layouts/application
|
1139
|
+
Rendered home/index.html.erb within layouts/application (Duration: 5.0ms | Allocations: 836)
|
1140
|
+
Rendered shared/_header.html.erb (Duration: 0.3ms | Allocations: 117)
|
1141
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.2ms | Allocations: 122)
|
1142
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.2ms | Allocations: 174)
|
1143
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.3ms | Allocations: 137)
|
1144
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1145
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 6.2ms | Allocations: 2448)
|
1146
|
+
Rendered shared/_footer.html.erb (Duration: 7.3ms | Allocations: 3015)
|
1147
|
+
Rendered layout layouts/application.html.erb (Duration: 14.0ms | Allocations: 4498)
|
1148
|
+
Completed 200 OK in 24ms (Views: 17.6ms | ActiveRecord: 0.2ms | Allocations: 8057)
|
1149
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 12:01:26 +0300
|
1150
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
1151
|
+
Parameters: {"selected_id"=>"1"}
|
1152
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1153
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1154
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 09:01:26.370472"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 09:01:26.370110"], ["last_sign_in_at", "2024-06-28 09:01:26.370110"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
1155
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1156
|
+
Redirected to http://127.0.0.1:55678/
|
1157
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms | Allocations: 2011)
|
1158
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:01:26 +0300
|
1159
|
+
Processing by HomeController#index as HTML
|
1160
|
+
Rendering layout layouts/application.html.erb
|
1161
|
+
Rendering home/index.html.erb within layouts/application
|
1162
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 286)
|
1163
|
+
Rendered shared/_header.html.erb (Duration: 0.2ms | Allocations: 7)
|
1164
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1165
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1166
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1167
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1168
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1169
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.4ms | Allocations: 1144)
|
1170
|
+
Rendered shared/_footer.html.erb (Duration: 2.6ms | Allocations: 1278)
|
1171
|
+
Rendered layout layouts/application.html.erb (Duration: 3.7ms | Allocations: 1706)
|
1172
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms | Allocations: 1957)
|
1173
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:01:26 +0300
|
1174
|
+
Processing by HomeController#about as HTML
|
1175
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1176
|
+
Rendering layout layouts/application.html.erb
|
1177
|
+
Rendering home/about.html.erb within layouts/application
|
1178
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.3ms | Allocations: 99)
|
1179
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
1180
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1181
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1182
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1183
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1184
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1185
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.7ms | Allocations: 962)
|
1186
|
+
Rendered shared/_footer.html.erb (Duration: 2.1ms | Allocations: 1135)
|
1187
|
+
Rendered layout layouts/application.html.erb (Duration: 2.8ms | Allocations: 1379)
|
1188
|
+
Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.1ms | Allocations: 3313)
|
1189
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mrollback transaction[0m
|
1190
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1191
|
+
---------------------------------------------------------------------
|
1192
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
1193
|
+
---------------------------------------------------------------------
|
1194
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1195
|
+
[1m[36mUser Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1196
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:01:26.560665"], ["updated_at", "2024-06-28 09:01:26.560665"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$8Tc71fbktvPDyysPCO99m.tkFwGZVLKbcIfIZ9Zut4snEK.DDNY8e"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1197
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1198
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:01:26 +0300
|
1199
|
+
Processing by HomeController#about as HTML
|
1200
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms | Allocations: 233)
|
1201
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 12:01:26 +0300
|
1202
|
+
Processing by Devise::SessionsController#new as HTML
|
1203
|
+
Rendering layout layouts/application.html.erb
|
1204
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application
|
1205
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/shared/_links.html.erb (Duration: 1.1ms | Allocations: 638)
|
1206
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 7.9ms | Allocations: 3402)
|
1207
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 6)
|
1208
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 6)
|
1209
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 6)
|
1210
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
1211
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1212
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.6ms | Allocations: 778)
|
1213
|
+
Rendered shared/_footer.html.erb (Duration: 1.9ms | Allocations: 931)
|
1214
|
+
Rendered layout layouts/application.html.erb (Duration: 10.2ms | Allocations: 4474)
|
1215
|
+
Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.1ms | Allocations: 6362)
|
1216
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mrollback transaction[0m
|
1217
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1218
|
+
------------------------
|
1219
|
+
AnyLoginTest: test_truth
|
1220
|
+
------------------------
|
1221
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1222
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1223
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1224
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1225
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1226
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1227
|
+
------------------------
|
1228
|
+
AnyLoginTest: test_truth
|
1229
|
+
------------------------
|
1230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1231
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1232
|
+
--------------------------------------------------------------------------------------
|
1233
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
1234
|
+
--------------------------------------------------------------------------------------
|
1235
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1236
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1237
|
+
-------------------------------------------------------------------------
|
1238
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
1239
|
+
-------------------------------------------------------------------------
|
1240
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1241
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1242
|
+
------------------------------------------------------------------------
|
1243
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
1244
|
+
------------------------------------------------------------------------
|
1245
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1246
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1247
|
+
--------------------------------------------------------------------------------------
|
1248
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
1249
|
+
--------------------------------------------------------------------------------------
|
1250
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1251
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1252
|
+
---------------------------------------------------------------------
|
1253
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
1254
|
+
---------------------------------------------------------------------
|
1255
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1257
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:02:42.657152"], ["updated_at", "2024-06-28 09:02:42.657152"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$6Pra0U86vqIL9d3V1ufj5ehPLTWVz2p7.1V6gKLxfYnHHbg7D29aC"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1258
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1259
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:02:43 +0300
|
1260
|
+
Processing by HomeController#about as HTML
|
1261
|
+
Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms | Allocations: 2545)
|
1262
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 12:02:43 +0300
|
1263
|
+
Processing by Devise::SessionsController#new as HTML
|
1264
|
+
Rendering layout layouts/application.html.erb
|
1265
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application
|
1266
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 651)
|
1267
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.8.1/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 10.9ms | Allocations: 3740)
|
1268
|
+
Rendered shared/_header.html.erb (Duration: 0.3ms | Allocations: 109)
|
1269
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.2ms | Allocations: 122)
|
1270
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.2ms | Allocations: 174)
|
1271
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.3ms | Allocations: 109)
|
1272
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1273
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 4.6ms | Allocations: 1914)
|
1274
|
+
Rendered shared/_footer.html.erb (Duration: 5.8ms | Allocations: 2425)
|
1275
|
+
Rendered layout layouts/application.html.erb (Duration: 18.3ms | Allocations: 6724)
|
1276
|
+
Completed 200 OK in 32ms (Views: 28.9ms | ActiveRecord: 0.2ms | Allocations: 10350)
|
1277
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
1278
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1279
|
+
-----------------------------------------------------------------------------------
|
1280
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
1281
|
+
-----------------------------------------------------------------------------------
|
1282
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1283
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1284
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:02:44.164934"], ["updated_at", "2024-06-28 09:02:44.164934"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$PtYyzapNMDacgsChDkqmAepR/hW0q2KONNRmo01zkBpVdpQm4C5yO"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1285
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1286
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:02:44 +0300
|
1287
|
+
Processing by HomeController#index as HTML
|
1288
|
+
Rendering layout layouts/application.html.erb
|
1289
|
+
Rendering home/index.html.erb within layouts/application
|
1290
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 447)
|
1291
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
1292
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 6)
|
1293
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 6)
|
1294
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
1295
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1296
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.3ms | Allocations: 816)
|
1297
|
+
Rendered shared/_footer.html.erb (Duration: 1.7ms | Allocations: 982)
|
1298
|
+
Rendered layout layouts/application.html.erb (Duration: 2.7ms | Allocations: 1588)
|
1299
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms | Allocations: 2253)
|
1300
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 12:02:44 +0300
|
1301
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
1302
|
+
Parameters: {"selected_id"=>"1", "id"=>""}
|
1303
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1304
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1305
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 09:02:44.326155"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 09:02:44.325828"], ["last_sign_in_at", "2024-06-28 09:02:44.325828"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
1306
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1307
|
+
Redirected to http://127.0.0.1:56014/
|
1308
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms | Allocations: 1939)
|
1309
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:02:44 +0300
|
1310
|
+
Processing by HomeController#index as HTML
|
1311
|
+
Rendering layout layouts/application.html.erb
|
1312
|
+
Rendering home/index.html.erb within layouts/application
|
1313
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 248)
|
1314
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
1315
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1316
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1317
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1318
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1319
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1320
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.3ms | Allocations: 1137)
|
1321
|
+
Rendered shared/_footer.html.erb (Duration: 2.6ms | Allocations: 1271)
|
1322
|
+
Rendered layout layouts/application.html.erb (Duration: 3.2ms | Allocations: 1661)
|
1323
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms | Allocations: 1911)
|
1324
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:02:44 +0300
|
1325
|
+
Processing by HomeController#about as HTML
|
1326
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1327
|
+
Rendering layout layouts/application.html.erb
|
1328
|
+
Rendering home/about.html.erb within layouts/application
|
1329
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.3ms | Allocations: 94)
|
1330
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 6)
|
1331
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1332
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1333
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1334
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1335
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1336
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.4ms | Allocations: 912)
|
1337
|
+
Rendered shared/_footer.html.erb (Duration: 1.7ms | Allocations: 1052)
|
1338
|
+
Rendered layout layouts/application.html.erb (Duration: 2.3ms | Allocations: 1280)
|
1339
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms | Allocations: 1999)
|
1340
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mrollback transaction[0m
|
1341
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1342
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1343
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1344
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1345
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1346
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1347
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1348
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1349
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1350
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1351
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1352
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1353
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1354
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1355
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1356
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1357
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1358
|
+
(20150907190739),
|
1359
|
+
(20150907190846);
|
1360
|
+
|
1361
|
+
[0m
|
1362
|
+
[1m[35m (1.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
|
1363
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1364
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1365
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:02:56.265809"], ["updated_at", "2024-06-28 09:02:56.265809"]]
|
1366
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
1367
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1368
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1369
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1370
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:02:56.269504"], ["updated_at", "2024-06-28 09:02:56.269504"]]
|
1371
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
1372
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1373
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1374
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1375
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1376
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1377
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1378
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1379
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1380
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1381
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1382
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1383
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1384
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1385
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1386
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1387
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1388
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1389
|
+
(20150907190739),
|
1390
|
+
(20150907190846);
|
1391
|
+
|
1392
|
+
[0m
|
1393
|
+
[1m[35m (1.1ms)[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
|
1394
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1395
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1396
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:03:09.075074"], ["updated_at", "2024-06-28 09:03:09.075074"]]
|
1397
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1398
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1399
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1400
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1401
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:03:09.079245"], ["updated_at", "2024-06-28 09:03:09.079245"]]
|
1402
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1403
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1404
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1405
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1406
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1407
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1408
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1409
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1410
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1411
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1412
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1413
|
+
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1414
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1415
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1416
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1417
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1418
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1419
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1420
|
+
(20150907190739),
|
1421
|
+
(20150907190846);
|
1422
|
+
|
1423
|
+
[0m
|
1424
|
+
[1m[35m (1.1ms)[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
|
1425
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1426
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1427
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:03:21.288559"], ["updated_at", "2024-06-28 09:03:21.288559"]]
|
1428
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1429
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1430
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1431
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1432
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:03:21.292761"], ["updated_at", "2024-06-28 09:03:21.292761"]]
|
1433
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1435
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1436
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1437
|
+
------------------------
|
1438
|
+
AnyLoginTest: test_truth
|
1439
|
+
------------------------
|
1440
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1441
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[36mbegin transaction[0m
|
1442
|
+
---------------------------------------------------------------------
|
1443
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
1444
|
+
---------------------------------------------------------------------
|
1445
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1446
|
+
[1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1447
|
+
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:14:51.765612"], ["updated_at", "2024-06-28 09:14:51.765612"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$pfmqrkUps6VncxNI3dnLiOs0hv82cnw4VAHH0KQIb6OVBz.gFX9xq"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1448
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1449
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:14:57 +0300
|
1450
|
+
Processing by HomeController#about as HTML
|
1451
|
+
Completed 401 Unauthorized in 42ms (ActiveRecord: 0.0ms | Allocations: 2622)
|
1452
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 12:14:57 +0300
|
1453
|
+
Processing by Devise::SessionsController#new as HTML
|
1454
|
+
Rendering layout layouts/application.html.erb
|
1455
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application
|
1456
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 654)
|
1457
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 13.2ms | Allocations: 3743)
|
1458
|
+
Rendered shared/_header.html.erb (Duration: 0.4ms | Allocations: 109)
|
1459
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.4ms | Allocations: 122)
|
1460
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.4ms | Allocations: 177)
|
1461
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.4ms | Allocations: 109)
|
1462
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1463
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 4.7ms | Allocations: 1937)
|
1464
|
+
Rendered shared/_footer.html.erb (Duration: 6.5ms | Allocations: 2518)
|
1465
|
+
Rendered layout layouts/application.html.erb (Duration: 21.1ms | Allocations: 6820)
|
1466
|
+
Completed 200 OK in 34ms (Views: 30.9ms | ActiveRecord: 0.2ms | Allocations: 10627)
|
1467
|
+
[1m[36mTRANSACTION (1.0ms)[0m [1m[31mrollback transaction[0m
|
1468
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1469
|
+
-----------------------------------------------------------------------------------
|
1470
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
1471
|
+
-----------------------------------------------------------------------------------
|
1472
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1473
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1474
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:14:57.750565"], ["updated_at", "2024-06-28 09:14:57.750565"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$MOi64QX9xdjGtjfteyxJGe6sh/cgOh6yGbj6ljCUHpCVhNQ5wIaNe"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1476
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:14:57 +0300
|
1477
|
+
Processing by HomeController#index as HTML
|
1478
|
+
Rendering layout layouts/application.html.erb
|
1479
|
+
Rendering home/index.html.erb within layouts/application
|
1480
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.9ms | Allocations: 447)
|
1481
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
1482
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 6)
|
1483
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 6)
|
1484
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
1485
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1486
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.6ms | Allocations: 825)
|
1487
|
+
Rendered shared/_footer.html.erb (Duration: 2.0ms | Allocations: 991)
|
1488
|
+
Rendered layout layouts/application.html.erb (Duration: 3.3ms | Allocations: 1597)
|
1489
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.1ms | Allocations: 2258)
|
1490
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 12:14:57 +0300
|
1491
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
1492
|
+
Parameters: {"selected_id"=>"1", "id"=>""}
|
1493
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1494
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1495
|
+
[1m[36mUser Update (1.2ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 09:14:57.932966"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 09:14:57.932720"], ["last_sign_in_at", "2024-06-28 09:14:57.932720"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
1496
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1497
|
+
Redirected to http://127.0.0.1:60614/
|
1498
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.6ms | Allocations: 1954)
|
1499
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:14:57 +0300
|
1500
|
+
Processing by HomeController#index as HTML
|
1501
|
+
Rendering layout layouts/application.html.erb
|
1502
|
+
Rendering home/index.html.erb within layouts/application
|
1503
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 260)
|
1504
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
1505
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1506
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1507
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1508
|
+
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1509
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1510
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.5ms | Allocations: 1146)
|
1511
|
+
Rendered shared/_footer.html.erb (Duration: 2.7ms | Allocations: 1280)
|
1512
|
+
Rendered layout layouts/application.html.erb (Duration: 3.4ms | Allocations: 1682)
|
1513
|
+
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.7ms | Allocations: 1930)
|
1514
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:14:57 +0300
|
1515
|
+
Processing by HomeController#about as HTML
|
1516
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1517
|
+
Rendering layout layouts/application.html.erb
|
1518
|
+
Rendering home/about.html.erb within layouts/application
|
1519
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.6ms | Allocations: 94)
|
1520
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 6)
|
1521
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1522
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1523
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1524
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1525
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1526
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 3.3ms | Allocations: 916)
|
1527
|
+
Rendered shared/_footer.html.erb (Duration: 3.6ms | Allocations: 1056)
|
1528
|
+
Rendered layout layouts/application.html.erb (Duration: 4.5ms | Allocations: 1284)
|
1529
|
+
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms | Allocations: 1993)
|
1530
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
1531
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1532
|
+
--------------------------------------------------------------------------------------
|
1533
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
1534
|
+
--------------------------------------------------------------------------------------
|
1535
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1536
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1537
|
+
------------------------------------------------------------------------
|
1538
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
1539
|
+
------------------------------------------------------------------------
|
1540
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1541
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1542
|
+
-------------------------------------------------------------------------
|
1543
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
1544
|
+
-------------------------------------------------------------------------
|
1545
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1546
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1547
|
+
--------------------------------------------------------------------------------------
|
1548
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
1549
|
+
--------------------------------------------------------------------------------------
|
1550
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1551
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1552
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1553
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1554
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1555
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1556
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1557
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1558
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1559
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1560
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1561
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1562
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1563
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1564
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1565
|
+
(20150907190739),
|
1566
|
+
(20150907190846);
|
1567
|
+
|
1568
|
+
[0m
|
1569
|
+
[1m[35m (1.1ms)[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
|
1570
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1571
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1572
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:15:21.087754"], ["updated_at", "2024-06-28 09:15:21.087754"]]
|
1573
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1574
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1575
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1576
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1577
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:15:21.091785"], ["updated_at", "2024-06-28 09:15:21.091785"]]
|
1578
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1579
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1580
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1581
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1582
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1583
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1584
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1585
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1586
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1587
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1588
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1589
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1590
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1591
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1592
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1593
|
+
(20150907190739),
|
1594
|
+
(20150907190846);
|
1595
|
+
|
1596
|
+
[0m
|
1597
|
+
[1m[35m (1.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
|
1598
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1599
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1600
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:15:37.445975"], ["updated_at", "2024-06-28 09:15:37.445975"]]
|
1601
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1602
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1603
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1605
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:15:37.449742"], ["updated_at", "2024-06-28 09:15:37.449742"]]
|
1606
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1607
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[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"]]
|
1608
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1609
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1610
|
+
-------------------------------------------------------------------------
|
1611
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
1612
|
+
-------------------------------------------------------------------------
|
1613
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1614
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1615
|
+
--------------------------------------------------------------------------------------
|
1616
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
1617
|
+
--------------------------------------------------------------------------------------
|
1618
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1620
|
+
------------------------------------------------------------------------
|
1621
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
1622
|
+
------------------------------------------------------------------------
|
1623
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1624
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1625
|
+
--------------------------------------------------------------------------------------
|
1626
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
1627
|
+
--------------------------------------------------------------------------------------
|
1628
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1629
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1630
|
+
------------------------
|
1631
|
+
AnyLoginTest: test_truth
|
1632
|
+
------------------------
|
1633
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1634
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1635
|
+
---------------------------------------------------------------------
|
1636
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
1637
|
+
---------------------------------------------------------------------
|
1638
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1639
|
+
[1m[36mUser Exists? (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1640
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:15:56.965842"], ["updated_at", "2024-06-28 09:15:56.965842"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$ldsXh.neMZmSoVGwAeRARuEat3inJaNgZ./srW4w/d.SZthQ3GYz6"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1641
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1642
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:15:58 +0300
|
1643
|
+
Processing by HomeController#about as HTML
|
1644
|
+
Completed 401 Unauthorized in 40ms (ActiveRecord: 0.0ms | Allocations: 2503)
|
1645
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 12:15:58 +0300
|
1646
|
+
Processing by Devise::SessionsController#new as HTML
|
1647
|
+
Rendering layout layouts/application.html.erb
|
1648
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application
|
1649
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/shared/_links.html.erb (Duration: 2.4ms | Allocations: 604)
|
1650
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 57.3ms | Allocations: 3312)
|
1651
|
+
Rendered shared/_header.html.erb (Duration: 0.5ms | Allocations: 101)
|
1652
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.3ms | Allocations: 114)
|
1653
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.3ms | Allocations: 169)
|
1654
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.4ms | Allocations: 101)
|
1655
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1656
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 7.3ms | Allocations: 1843)
|
1657
|
+
Rendered shared/_footer.html.erb (Duration: 9.2ms | Allocations: 2405)
|
1658
|
+
Rendered layout layouts/application.html.erb (Duration: 80.1ms | Allocations: 6312)
|
1659
|
+
Completed 200 OK in 157ms (Views: 137.0ms | ActiveRecord: 0.2ms | Allocations: 11206)
|
1660
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
1661
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1662
|
+
-----------------------------------------------------------------------------------
|
1663
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
1664
|
+
-----------------------------------------------------------------------------------
|
1665
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1666
|
+
[1m[36mUser Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1667
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["name", "test"], ["age", nil], ["created_at", "2024-06-28 09:15:58.904993"], ["updated_at", "2024-06-28 09:15:58.904993"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$AuFpf54YYuQEbO5PagdA3uQvfqObxBrdSEkoNl.vRqyC7B50JfWqW"], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"]]
|
1668
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1669
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:15:58 +0300
|
1670
|
+
Processing by HomeController#index as HTML
|
1671
|
+
Rendering layout layouts/application.html.erb
|
1672
|
+
Rendering home/index.html.erb within layouts/application
|
1673
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 438)
|
1674
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 12)
|
1675
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 9)
|
1676
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 9)
|
1677
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 11)
|
1678
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1679
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.2ms | Allocations: 750)
|
1680
|
+
Rendered shared/_footer.html.erb (Duration: 2.4ms | Allocations: 907)
|
1681
|
+
Rendered layout layouts/application.html.erb (Duration: 3.5ms | Allocations: 1543)
|
1682
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms | Allocations: 2222)
|
1683
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 12:15:59 +0300
|
1684
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
1685
|
+
Parameters: {"selected_id"=>"1", "id"=>""}
|
1686
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1687
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1688
|
+
[1m[36mUser Update (0.4ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 09:15:59.076903"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 09:15:59.076622"], ["last_sign_in_at", "2024-06-28 09:15:59.076622"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
1689
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1690
|
+
Redirected to http://127.0.0.1:60940/
|
1691
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms | Allocations: 2104)
|
1692
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:15:59 +0300
|
1693
|
+
Processing by HomeController#index as HTML
|
1694
|
+
Rendering layout layouts/application.html.erb
|
1695
|
+
Rendering home/index.html.erb within layouts/application
|
1696
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 270)
|
1697
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 10)
|
1698
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 8)
|
1699
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 8)
|
1700
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 10)
|
1701
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1702
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1703
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.3ms | Allocations: 1116)
|
1704
|
+
Rendered shared/_footer.html.erb (Duration: 2.7ms | Allocations: 1239)
|
1705
|
+
Rendered layout layouts/application.html.erb (Duration: 3.5ms | Allocations: 1690)
|
1706
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.2ms | Allocations: 1929)
|
1707
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:15:59 +0300
|
1708
|
+
Processing by HomeController#about as HTML
|
1709
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1710
|
+
Rendering layout layouts/application.html.erb
|
1711
|
+
Rendering home/about.html.erb within layouts/application
|
1712
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.3ms | Allocations: 87)
|
1713
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
1714
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 8)
|
1715
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 8)
|
1716
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 10)
|
1717
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1718
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1719
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.4ms | Allocations: 832)
|
1720
|
+
Rendered shared/_footer.html.erb (Duration: 2.7ms | Allocations: 961)
|
1721
|
+
Rendered layout layouts/application.html.erb (Duration: 3.6ms | Allocations: 1220)
|
1722
|
+
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.1ms | Allocations: 1984)
|
1723
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
1724
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1725
|
+
[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"]]
|
1726
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1727
|
+
[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"]]
|
1728
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1729
|
+
[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"]]
|
1730
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1731
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1732
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1733
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1734
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1735
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1736
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1737
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1738
|
+
(20150907190846),
|
1739
|
+
(20150907190739);[0m
|
1740
|
+
[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
|
1741
|
+
[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"]]
|
1742
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 09:16:08.725703', '2024-06-28 09:16:08.725708') RETURNING "key"[0m
|
1743
|
+
[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"]]
|
1744
|
+
[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"]]
|
1745
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '52e1e8cd766b3d53d6cae4509a0f542c9787d86f', '2024-06-28 09:16:08.726943', '2024-06-28 09:16:08.726945') RETURNING "key"[0m
|
1746
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1747
|
+
[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"]]
|
1748
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1749
|
+
[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"]]
|
1750
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1751
|
+
[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"]]
|
1752
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1753
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1754
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1755
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1756
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1757
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1758
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1759
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1760
|
+
(20150907190846),
|
1761
|
+
(20150907190739);[0m
|
1762
|
+
[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
|
1763
|
+
[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"]]
|
1764
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 09:16:20.495984', '2024-06-28 09:16:20.495989') RETURNING "key"[0m
|
1765
|
+
[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"]]
|
1766
|
+
[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"]]
|
1767
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '52e1e8cd766b3d53d6cae4509a0f542c9787d86f', '2024-06-28 09:16:20.496984', '2024-06-28 09:16:20.496986') RETURNING "key"[0m
|
1768
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1769
|
+
[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"]]
|
1770
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1771
|
+
[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"]]
|
1772
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1773
|
+
[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"]]
|
1774
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1775
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1776
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1777
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1778
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1779
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1780
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1781
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1782
|
+
(20150907190846),
|
1783
|
+
(20150907190739);[0m
|
1784
|
+
[1m[35m (0.3ms)[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
|
1785
|
+
[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"]]
|
1786
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2024-06-28 09:16:32.271571', '2024-06-28 09:16:32.271577') RETURNING "key"[0m
|
1787
|
+
[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"]]
|
1788
|
+
[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"]]
|
1789
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '52e1e8cd766b3d53d6cae4509a0f542c9787d86f', '2024-06-28 09:16:32.273742', '2024-06-28 09:16:32.273745') RETURNING "key"[0m
|
1790
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1791
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
1792
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1793
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1794
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1795
|
+
---------------------------------------------------------------------
|
1796
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
1797
|
+
---------------------------------------------------------------------
|
1798
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1799
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1800
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at", "email", "encrypted_password", "role") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["created_at", "2024-06-28 09:18:01.519250"], ["updated_at", "2024-06-28 09:18:01.519250"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$K1ado8JdR.gBz.XHAUPlA.TGym1o44/F2It.Nm9VwhLX8YTj9a2FW"], ["role", "user"]]
|
1801
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1802
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:18:02 +0300
|
1803
|
+
Processing by HomeController#about as HTML
|
1804
|
+
Completed 401 Unauthorized in 35ms (ActiveRecord: 0.0ms | Allocations: 2562)
|
1805
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 12:18:03 +0300
|
1806
|
+
Processing by Devise::SessionsController#new as HTML
|
1807
|
+
Rendering layout layouts/application.html.erb
|
1808
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application
|
1809
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 650)
|
1810
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 49.3ms | Allocations: 4048)
|
1811
|
+
Rendered shared/_header.html.erb (Duration: 0.2ms | Allocations: 107)
|
1812
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.2ms | Allocations: 120)
|
1813
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.4ms | Allocations: 175)
|
1814
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.4ms | Allocations: 107)
|
1815
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1816
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 15.0ms | Allocations: 2407)
|
1817
|
+
Rendered shared/_footer.html.erb (Duration: 16.2ms | Allocations: 3065)
|
1818
|
+
Rendered layout layouts/application.html.erb (Duration: 67.6ms | Allocations: 7824)
|
1819
|
+
Completed 200 OK in 103ms (Views: 95.2ms | ActiveRecord: 0.3ms | Allocations: 12331)
|
1820
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
1821
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1822
|
+
-----------------------------------------------------------------------------------
|
1823
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
1824
|
+
-----------------------------------------------------------------------------------
|
1825
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1826
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
1827
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at", "email", "encrypted_password", "role") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["created_at", "2024-06-28 09:18:03.512921"], ["updated_at", "2024-06-28 09:18:03.512921"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$4NmUfWlHSKvXVK2STw1FPe31Diym2.msm.oSu0cc4zGDx4BLhklEe"], ["role", "user"]]
|
1828
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1829
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:18:03 +0300
|
1830
|
+
Processing by HomeController#index as HTML
|
1831
|
+
Rendering layout layouts/application.html.erb
|
1832
|
+
Rendering home/index.html.erb within layouts/application
|
1833
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 441)
|
1834
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 9)
|
1835
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.1ms | Allocations: 6)
|
1836
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 6)
|
1837
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
1838
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1839
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.7ms | Allocations: 860)
|
1840
|
+
Rendered shared/_footer.html.erb (Duration: 2.0ms | Allocations: 1031)
|
1841
|
+
Rendered layout layouts/application.html.erb (Duration: 2.9ms | Allocations: 1641)
|
1842
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms | Allocations: 2851)
|
1843
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 12:18:03 +0300
|
1844
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
1845
|
+
Parameters: {"selected_id"=>"1", "id"=>""}
|
1846
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1847
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1848
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 09:18:03.803010"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 09:18:03.802571"], ["last_sign_in_at", "2024-06-28 09:18:03.802571"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
1849
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1850
|
+
Redirected to http://127.0.0.1:61525/
|
1851
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms | Allocations: 1973)
|
1852
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:18:03 +0300
|
1853
|
+
Processing by HomeController#index as HTML
|
1854
|
+
Rendering layout layouts/application.html.erb
|
1855
|
+
Rendering home/index.html.erb within layouts/application
|
1856
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 260)
|
1857
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
1858
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1859
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1860
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1861
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1862
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1863
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.1ms | Allocations: 1197)
|
1864
|
+
Rendered shared/_footer.html.erb (Duration: 2.4ms | Allocations: 1336)
|
1865
|
+
Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 1748)
|
1866
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms | Allocations: 2042)
|
1867
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:18:03 +0300
|
1868
|
+
Processing by HomeController#about as HTML
|
1869
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1870
|
+
Rendering layout layouts/application.html.erb
|
1871
|
+
Rendering home/about.html.erb within layouts/application
|
1872
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.5ms | Allocations: 94)
|
1873
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 6)
|
1874
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
1875
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
1876
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
1877
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
1878
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1879
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.9ms | Allocations: 1007)
|
1880
|
+
Rendered shared/_footer.html.erb (Duration: 2.2ms | Allocations: 1152)
|
1881
|
+
Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 1390)
|
1882
|
+
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms | Allocations: 2238)
|
1883
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
1884
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1885
|
+
------------------------------------------------------------------------
|
1886
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
1887
|
+
------------------------------------------------------------------------
|
1888
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1889
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1890
|
+
--------------------------------------------------------------------------------------
|
1891
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
1892
|
+
--------------------------------------------------------------------------------------
|
1893
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1894
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1895
|
+
-------------------------------------------------------------------------
|
1896
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
1897
|
+
-------------------------------------------------------------------------
|
1898
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1899
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1900
|
+
--------------------------------------------------------------------------------------
|
1901
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
1902
|
+
--------------------------------------------------------------------------------------
|
1903
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1904
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1905
|
+
------------------------
|
1906
|
+
AnyLoginTest: test_truth
|
1907
|
+
------------------------
|
1908
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
1909
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1910
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1911
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1912
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1913
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1914
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1915
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1916
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1917
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1918
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1919
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1920
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1921
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1922
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1923
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1924
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1925
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1926
|
+
(20150907190739),
|
1927
|
+
(20150907190846);
|
1928
|
+
|
1929
|
+
[0m
|
1930
|
+
[1m[35m (1.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
|
1931
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1932
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1933
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:18:13.060979"], ["updated_at", "2024-06-28 09:18:13.060979"]]
|
1934
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1935
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1936
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1937
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1938
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:18:13.065138"], ["updated_at", "2024-06-28 09:18:13.065138"]]
|
1939
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
1940
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1941
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1942
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1943
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1944
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1945
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1946
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1947
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1948
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1949
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1950
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1951
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1952
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1953
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1954
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1955
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1956
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1957
|
+
(20150907190739),
|
1958
|
+
(20150907190846);
|
1959
|
+
|
1960
|
+
[0m
|
1961
|
+
[1m[35m (1.1ms)[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
|
1962
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1963
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1964
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:18:24.463024"], ["updated_at", "2024-06-28 09:18:24.463024"]]
|
1965
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
|
1966
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1967
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1968
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1969
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:18:24.466888"], ["updated_at", "2024-06-28 09:18:24.466888"]]
|
1970
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
1971
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1972
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1973
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1974
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1975
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1976
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1977
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1978
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1979
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1980
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1981
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar)[0m
|
1982
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
1983
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
1984
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1985
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1986
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20150909210357)[0m
|
1987
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1988
|
+
(20150907190739),
|
1989
|
+
(20150907190846);
|
1990
|
+
|
1991
|
+
[0m
|
1992
|
+
[1m[35m (1.1ms)[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
|
1993
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1994
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1995
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2024-06-28 09:18:36.487642"], ["updated_at", "2024-06-28 09:18:36.487642"]]
|
1996
|
+
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
1997
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1998
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2000
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "52e1e8cd766b3d53d6cae4509a0f542c9787d86f"], ["created_at", "2024-06-28 09:18:36.491597"], ["updated_at", "2024-06-28 09:18:36.491597"]]
|
2001
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
2002
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2003
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
2004
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2005
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2006
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2007
|
+
-----------------------------------------------------------------------------------
|
2008
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
2009
|
+
-----------------------------------------------------------------------------------
|
2010
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2011
|
+
[1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
2012
|
+
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at", "email", "encrypted_password", "role") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["created_at", "2024-06-28 09:22:09.024813"], ["updated_at", "2024-06-28 09:22:09.024813"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$h8NuAoA7XSxF/DE.m5IPluAR7sN81tOA/q17fC4bZChkhNOS7oKdq"], ["role", "user"]]
|
2013
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2014
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:22:11 +0300
|
2015
|
+
Processing by HomeController#index as HTML
|
2016
|
+
Rendering layout layouts/application.html.erb
|
2017
|
+
Rendering home/index.html.erb within layouts/application
|
2018
|
+
Rendered home/index.html.erb within layouts/application (Duration: 7.1ms | Allocations: 812)
|
2019
|
+
Rendered shared/_header.html.erb (Duration: 0.4ms | Allocations: 115)
|
2020
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 1.5ms | Allocations: 120)
|
2021
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 1.2ms | Allocations: 175)
|
2022
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.5ms | Allocations: 134)
|
2023
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
2024
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 15.2ms | Allocations: 2953)
|
2025
|
+
Rendered shared/_footer.html.erb (Duration: 17.6ms | Allocations: 3669)
|
2026
|
+
Rendered layout layouts/application.html.erb (Duration: 26.9ms | Allocations: 5289)
|
2027
|
+
Completed 200 OK in 43ms (Views: 33.1ms | ActiveRecord: 0.3ms | Allocations: 9089)
|
2028
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2024-06-28 12:22:12 +0300
|
2029
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
2030
|
+
Parameters: {"selected_id"=>"1"}
|
2031
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2032
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2033
|
+
[1m[36mUser Update (0.4ms)[0m [1m[33mUPDATE "users" SET "updated_at" = ?, "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ? WHERE "users"."id" = ?[0m [["updated_at", "2024-06-28 09:22:12.493369"], ["sign_in_count", 1], ["current_sign_in_at", "2024-06-28 09:22:12.493110"], ["last_sign_in_at", "2024-06-28 09:22:12.493110"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["id", 1]]
|
2034
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2035
|
+
Redirected to http://127.0.0.1:62620/
|
2036
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms | Allocations: 2047)
|
2037
|
+
Started GET "/" for 127.0.0.1 at 2024-06-28 12:22:12 +0300
|
2038
|
+
Processing by HomeController#index as HTML
|
2039
|
+
Rendering layout layouts/application.html.erb
|
2040
|
+
Rendering home/index.html.erb within layouts/application
|
2041
|
+
Rendered home/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 297)
|
2042
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
2043
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
2044
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
2045
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
2046
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
2047
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2048
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.4ms | Allocations: 1204)
|
2049
|
+
Rendered shared/_footer.html.erb (Duration: 2.8ms | Allocations: 1343)
|
2050
|
+
Rendered layout layouts/application.html.erb (Duration: 4.2ms | Allocations: 1792)
|
2051
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms | Allocations: 2086)
|
2052
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:22:12 +0300
|
2053
|
+
Processing by HomeController#about as HTML
|
2054
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2055
|
+
Rendering layout layouts/application.html.erb
|
2056
|
+
Rendering home/about.html.erb within layouts/application
|
2057
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.5ms | Allocations: 96)
|
2058
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 7)
|
2059
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 5)
|
2060
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 5)
|
2061
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 7)
|
2062
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
2063
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2064
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 2.4ms | Allocations: 1062)
|
2065
|
+
Rendered shared/_footer.html.erb (Duration: 2.9ms | Allocations: 1239)
|
2066
|
+
Rendered layout layouts/application.html.erb (Duration: 3.7ms | Allocations: 1490)
|
2067
|
+
Completed 200 OK in 13ms (Views: 4.0ms | ActiveRecord: 0.2ms | Allocations: 3581)
|
2068
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[31mrollback transaction[0m
|
2069
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2070
|
+
---------------------------------------------------------------------
|
2071
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
2072
|
+
---------------------------------------------------------------------
|
2073
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2074
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@test.com"], ["LIMIT", 1]]
|
2075
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "created_at", "updated_at", "email", "encrypted_password", "role") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "test"], ["created_at", "2024-06-28 09:22:12.811844"], ["updated_at", "2024-06-28 09:22:12.811844"], ["email", "test@test.com"], ["encrypted_password", "$2a$04$trGKSC5ernn1tY8h5tWW1u9DaAcVGoAtse0O9bbtXUA3ZtnoZH3Hi"], ["role", "user"]]
|
2076
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2077
|
+
Started GET "/about" for 127.0.0.1 at 2024-06-28 12:22:12 +0300
|
2078
|
+
Processing by HomeController#about as HTML
|
2079
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms | Allocations: 255)
|
2080
|
+
Started GET "/users/sign_in" for 127.0.0.1 at 2024-06-28 12:22:12 +0300
|
2081
|
+
Processing by Devise::SessionsController#new as HTML
|
2082
|
+
Rendering layout layouts/application.html.erb
|
2083
|
+
Rendering /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application
|
2084
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 638)
|
2085
|
+
Rendered /Users/admin/.rvm/gems/ruby-3.1.2/gems/devise-4.9.4/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 9.8ms | Allocations: 3713)
|
2086
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | Allocations: 6)
|
2087
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | Allocations: 6)
|
2088
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | Allocations: 6)
|
2089
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | Allocations: 8)
|
2090
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
2091
|
+
Rendered /Users/admin/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.5ms | Allocations: 822)
|
2092
|
+
Rendered shared/_footer.html.erb (Duration: 1.8ms | Allocations: 980)
|
2093
|
+
Rendered layout layouts/application.html.erb (Duration: 12.0ms | Allocations: 4844)
|
2094
|
+
Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 0.1ms | Allocations: 7916)
|
2095
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
2096
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2097
|
+
------------------------
|
2098
|
+
AnyLoginTest: test_truth
|
2099
|
+
------------------------
|
2100
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2101
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
2102
|
+
--------------------------------------------------------------------------------------
|
2103
|
+
AnyLogin::CollectionTest: test_single_collection_should_return_false_with_the_grouped?
|
2104
|
+
--------------------------------------------------------------------------------------
|
2105
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2106
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2107
|
+
------------------------------------------------------------------------
|
2108
|
+
AnyLogin::CollectionTest: test_single_collection_should_returns_an_Array
|
2109
|
+
------------------------------------------------------------------------
|
2110
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
2111
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2112
|
+
--------------------------------------------------------------------------------------
|
2113
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_return_true_with_the_grouped?
|
2114
|
+
--------------------------------------------------------------------------------------
|
2115
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
2116
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
2117
|
+
-------------------------------------------------------------------------
|
2118
|
+
AnyLogin::CollectionTest: test_grouped_collection_should_returns_an_Array
|
2119
|
+
-------------------------------------------------------------------------
|
2120
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|