micro_cms 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -2
- data/app/assets/javascripts/micro_cms.js +1 -0
- data/app/helpers/micro_cms/application_helper.rb +14 -0
- data/lib/micro_cms/engine.rb +15 -1
- data/lib/micro_cms/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -1
- data/spec/dummy/log/test.log +277 -404
- data/spec/dummy/tmp/development_secret.txt +1 -1
- data/spec/examples.txt +29 -28
- data/spec/helpers/micro_cms/application_helper_spec.rb +13 -0
- metadata +10 -10
- data/spec/dummy/db/development.sqlite3 +0 -0
data/spec/dummy/log/test.log
CHANGED
@@ -1,478 +1,351 @@
|
|
1
|
-
[1m[35m (1.
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (0.
|
1
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
5
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "micro_cms_content_blocks"[0m
|
6
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "micro_cms_content_blocks" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
7
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
4
8
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
-
[1m[35m (
|
6
|
-
[1m[35m (
|
7
|
-
[1m[
|
8
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9
|
-
[1m[36mMicroCms::ContentBlock Create (1.0ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2019-09-25 14:44:34.248149"], ["updated_at", "2019-09-25 14:44:34.248149"]]
|
10
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
12
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
14
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
15
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
16
|
-
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2019-09-25 14:44:34.255699"], ["updated_at", "2019-09-25 14:44:34.255699"]]
|
17
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
19
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
20
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
21
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
22
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
23
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
9
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190923150252)[0m
|
10
|
+
[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
|
11
|
+
[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]]
|
24
12
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
25
|
-
[1m[
|
13
|
+
[1m[36mActiveRecord::InternalMetadata Create (4.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-05-22 10:07:52.539158"], ["updated_at", "2022-05-22 10:07:52.539158"]]
|
14
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
15
|
+
[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]]
|
16
|
+
[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]]
|
26
17
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
27
|
-
[1m[
|
28
|
-
[1m[35m (0.
|
29
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
30
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
31
|
-
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
18
|
+
[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", "9368cdd51a843c0e310eaeaabe787de49915ee4d"], ["created_at", "2022-05-22 10:07:52.548995"], ["updated_at", "2022-05-22 10:07:52.548995"]]
|
19
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
32
20
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
33
|
-
[1m[35m (0.
|
21
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
34
22
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
35
|
-
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
36
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
37
23
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
24
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.650190"], ["updated_at", "2022-05-22 10:07:52.650190"]]
|
39
25
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40
|
-
|
41
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
42
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
43
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
44
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
45
|
-
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2019-09-25 14:47:47.105857"], ["updated_at", "2019-09-25 14:47:47.105857"]]
|
46
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
47
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
48
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
49
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
50
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
51
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
52
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
53
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
54
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
55
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
56
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
57
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
58
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
59
|
-
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
60
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
61
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
62
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
63
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
65
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
66
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
67
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
68
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
69
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
70
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
71
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
72
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
73
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
74
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
75
|
-
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2019-09-25 14:48:07.408546"], ["updated_at", "2019-09-25 14:48:07.408546"]]
|
76
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
77
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
78
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
26
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 1.6ms | Allocations: 725)
|
79
27
|
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
80
|
-
[1m[35m (0.
|
28
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
81
29
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
82
|
-
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-
|
30
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.659443"], ["updated_at", "2022-05-22 10:07:52.659443"]]
|
83
31
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
84
|
-
|
85
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
86
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
87
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
88
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
89
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
90
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
91
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
92
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
93
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
94
|
-
[1m[36mMicroCms::ContentBlock Create (2.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:40:04.779032"], ["updated_at", "2019-09-30 14:40:04.779032"]]
|
95
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
96
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
97
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:04 +0200
|
98
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
99
|
-
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"my-path-de"}
|
100
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 367)
|
101
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
102
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
103
|
-
Started PUT "/micro_cms/content_block/not-existent.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:04 +0200
|
104
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
105
|
-
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"not-existent"}
|
106
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 298)
|
107
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
108
|
-
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
109
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
110
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
111
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
112
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
113
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
114
|
-
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:40:36.000954"], ["updated_at", "2019-09-30 14:40:36.000954"]]
|
115
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
116
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
117
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:36 +0200
|
118
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
119
|
-
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"my-path-de"}
|
120
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 439)
|
32
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
121
33
|
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
122
|
-
[1m[35m (0.
|
123
|
-
Started PUT "/micro_cms/content_block/not-existent.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:36 +0200
|
124
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
125
|
-
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"not-existent"}
|
126
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 369)
|
127
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
128
|
-
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
129
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
130
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
131
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
132
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
133
35
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
134
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
36
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.666915"], ["updated_at", "2022-05-22 10:07:52.666915"]]
|
135
37
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
136
|
-
|
137
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:41:23 +0200
|
138
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
139
|
-
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
140
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
141
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
142
|
-
[1m[36mMicroCms::ContentBlock Update (5.7ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2019-09-30 14:41:23.144393"], ["id", 1]]
|
143
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
144
|
-
Completed 204 No Content in 8ms (ActiveRecord: 5.9ms | Allocations: 1001)
|
145
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
146
39
|
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
147
40
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
148
|
-
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:41:23 +0200
|
149
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
150
|
-
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
151
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
152
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 442)
|
153
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
154
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
155
|
-
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
156
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
157
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
158
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
159
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
160
|
-
[1m[36mMicroCms::ContentBlock Create (1.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:43:42.160360"], ["updated_at", "2019-09-30 14:43:42.160360"]]
|
161
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
162
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
163
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2019-09-30 16:43:42 +0200
|
164
|
-
Processing by MicroCms::ContentBlockController#update as JS
|
165
|
-
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
166
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 361)
|
167
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
168
|
-
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
169
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
170
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
171
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
172
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
173
41
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
174
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
42
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.670752"], ["updated_at", "2022-05-22 10:07:52.670752"]]
|
175
43
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
176
|
-
|
177
|
-
[1m[35m (0.
|
178
|
-
[1m[35m (0.
|
179
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
180
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
181
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
45
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
46
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
182
47
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
183
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
48
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.771017"], ["updated_at", "2022-05-22 10:07:52.771017"]]
|
184
49
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
185
50
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
186
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-
|
51
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:07:52 +0200
|
187
52
|
Processing by MicroCms::ContentBlockController#update as JS
|
188
|
-
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-
|
189
|
-
|
190
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
191
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
192
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
193
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
194
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
195
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
53
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
54
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
196
55
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
197
|
-
[1m[36mMicroCms::ContentBlock
|
56
|
+
[1m[36mMicroCms::ContentBlock Update (0.1ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2022-05-22 10:07:52.798672"], ["id", 1]]
|
198
57
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
199
|
-
|
58
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.3ms | Allocations: 1000)
|
59
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
60
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
61
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
62
|
+
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:07:52 +0200
|
200
63
|
Processing by MicroCms::ContentBlockController#update as JS
|
201
|
-
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-
|
202
|
-
|
203
|
-
|
204
|
-
[1m[35m (0.
|
205
|
-
[1m[35m (0.
|
206
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
207
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
208
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
65
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
66
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 461)
|
67
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
68
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
209
69
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
210
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
70
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.814891"], ["updated_at", "2022-05-22 10:07:52.814891"]]
|
211
71
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
212
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at
|
72
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2022-05-22 12:07:52 +0200
|
213
73
|
Processing by MicroCms::ContentBlockController#update as JS
|
214
74
|
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
215
|
-
Completed 404 Not Found in
|
75
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 323)
|
216
76
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
217
|
-
[1m[35m (0.
|
218
|
-
[1m[35m (
|
219
|
-
[1m[35m (0.
|
220
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
221
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
77
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
78
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
79
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
222
80
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
223
|
-
[1m[35m (0.
|
81
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
224
82
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
225
|
-
[1m[35m (0.
|
83
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
226
84
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
227
85
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
228
86
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
229
87
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
230
88
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
231
89
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
232
|
-
[1m[35m (0.
|
233
|
-
[1m[35m (0.
|
234
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
90
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
91
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
92
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
235
93
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
236
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
94
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2022-05-22 10:07:52.860381"], ["updated_at", "2022-05-22 10:07:52.860381"]]
|
237
95
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
238
|
-
[1m[35m (0.
|
96
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
239
97
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
240
98
|
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
241
|
-
[1m[35m (0.
|
99
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
242
100
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
243
|
-
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "
|
101
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.863900"], ["updated_at", "2022-05-22 10:07:52.863900"]]
|
244
102
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
245
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
103
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
246
104
|
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
247
|
-
[1m[35m (0.
|
248
|
-
[1m[35m (0.
|
249
|
-
[1m[35m (0.0ms)[0m [1m[
|
250
|
-
[1m[35m (0.
|
105
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
106
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
107
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
108
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
109
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
110
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
111
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.874888"], ["updated_at", "2022-05-22 10:07:52.874888"]]
|
112
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
113
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
114
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
115
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
116
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
117
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
118
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
119
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:07:52.881342"], ["updated_at", "2022-05-22 10:07:52.881342"]]
|
120
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
121
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 425)
|
122
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
123
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
124
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
125
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
126
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
127
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
128
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
129
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:07:52.886931"], ["updated_at", "2022-05-22 10:07:52.886931"]]
|
130
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
131
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
132
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
133
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
134
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
251
135
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
136
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
137
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
138
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:07:52.891497"], ["updated_at", "2022-05-22 10:07:52.891497"]]
|
139
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
140
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
141
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
142
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
143
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
144
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
145
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
146
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:07:52.896373"], ["updated_at", "2022-05-22 10:07:52.896373"]]
|
147
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
148
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
149
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
150
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
151
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
152
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
153
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
154
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
252
155
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
253
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
156
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2022-05-22 10:07:52.901521"], ["updated_at", "2022-05-22 10:07:52.901521"]]
|
157
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
158
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
159
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
160
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
161
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
162
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
163
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
164
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
165
|
+
[1m[36mMicroCms::ContentBlock Create (0.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:07:52.905420"], ["updated_at", "2022-05-22 10:07:52.905420"]]
|
166
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
167
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
168
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
169
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
171
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
172
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
173
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
174
|
+
[1m[36mMicroCms::ContentBlock Create (0.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:07:52.909269"], ["updated_at", "2022-05-22 10:07:52.909269"]]
|
254
175
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
255
|
-
[1m[
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
176
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
177
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
178
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
260
180
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
261
|
-
[1m[36mMicroCms::ContentBlock
|
181
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2022-05-22 10:07:52.912704"], ["updated_at", "2022-05-22 10:07:52.912704"]]
|
262
182
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
263
|
-
|
183
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
184
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
185
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
186
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
187
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
188
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
189
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
190
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
191
|
+
[1m[36mMicroCms::ContentBlock Create (1.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:27.891785"], ["updated_at", "2022-05-22 10:38:27.891785"]]
|
192
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
193
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 1.3ms | Allocations: 637)
|
194
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
195
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
196
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
197
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.028959"], ["updated_at", "2022-05-22 10:38:28.028959"]]
|
198
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
199
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.2ms | Allocations: 84)
|
200
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
201
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
202
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
203
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.040707"], ["updated_at", "2022-05-22 10:38:28.040707"]]
|
204
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
205
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 84)
|
206
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mrollback transaction[0m
|
207
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
208
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
209
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.058214"], ["updated_at", "2022-05-22 10:38:28.058214"]]
|
210
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
211
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.5ms | Allocations: 84)
|
212
|
+
[1m[36mTRANSACTION (1.5ms)[0m [1m[31mrollback transaction[0m
|
213
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
214
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
215
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
216
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
217
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.089420"], ["updated_at", "2022-05-22 10:38:28.089420"]]
|
218
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
219
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
220
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:38:28 +0200
|
221
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
222
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
223
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
224
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
225
|
+
[1m[36mMicroCms::ContentBlock Update (0.1ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2022-05-22 10:38:28.122518"], ["id", 1]]
|
226
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
227
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.4ms | Allocations: 978)
|
264
228
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
265
|
-
[1m[
|
266
|
-
[1m[
|
267
|
-
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at
|
229
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
231
|
+
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:38:28 +0200
|
268
232
|
Processing by MicroCms::ContentBlockController#update as JS
|
269
233
|
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
270
234
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
271
|
-
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations:
|
272
|
-
[1m[
|
273
|
-
[1m[
|
274
|
-
[1m[
|
275
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
276
|
-
[1m[
|
277
|
-
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at
|
235
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 441)
|
236
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
237
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
238
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
239
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.137182"], ["updated_at", "2022-05-22 10:38:28.137182"]]
|
240
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
241
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2022-05-22 12:38:28 +0200
|
278
242
|
Processing by MicroCms::ContentBlockController#update as JS
|
279
243
|
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
280
|
-
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations:
|
244
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 310)
|
281
245
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
282
|
-
[1m[
|
283
|
-
[1m[
|
284
|
-
[1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
285
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
286
|
-
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
287
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
288
|
-
[1m[36mMicroCms::ContentBlock Load (0.5ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
289
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
290
|
-
[1m[36mMicroCms::ContentBlock Create (0.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2019-09-30 15:54:48.620837"], ["updated_at", "2019-09-30 15:54:48.620837"]]
|
291
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
292
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
293
|
-
[1m[36mMicroCms::ContentBlock Create (0.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2019-09-30 15:54:48.626640"], ["updated_at", "2019-09-30 15:54:48.626640"]]
|
294
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
295
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
296
|
-
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
297
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
298
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
299
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
300
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
301
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
302
|
-
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2019-09-30 15:55:25.768544"], ["updated_at", "2019-09-30 15:55:25.768544"]]
|
303
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
304
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
305
|
-
[1m[35m (5.6ms)[0m [1m[31mrollback transaction[0m
|
306
|
-
[1m[35m (2.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
307
|
-
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
308
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
309
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
310
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
311
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
312
|
-
[1m[36mMicroCms::ContentBlock Create (1.1ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2019-09-30 15:59:43.146467"], ["updated_at", "2019-09-30 15:59:43.146467"]]
|
313
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
314
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
315
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
316
|
-
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
317
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
318
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
319
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
320
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
246
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
247
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
321
248
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
322
249
|
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
323
|
-
[1m[
|
324
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
325
|
-
[1m[
|
326
|
-
Rendered /Users/
|
250
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
251
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:38:28.191122"], ["updated_at", "2022-05-22 10:38:28.191122"]]
|
252
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
253
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 337)
|
327
254
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
328
255
|
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
329
|
-
[1m[
|
330
|
-
[1m[
|
331
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
332
|
-
[1m[
|
333
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
334
|
-
[1m[
|
256
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
257
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
258
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
259
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
260
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:38:28.201734"], ["updated_at", "2022-05-22 10:38:28.201734"]]
|
261
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
335
262
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
336
|
-
[1m[
|
337
|
-
[1m[
|
338
|
-
[1m[35m (0.
|
263
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
264
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
265
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
339
266
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
340
|
-
[1m[
|
341
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
342
|
-
[1m[
|
343
|
-
Rendered /Users/
|
267
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
268
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:38:28.211739"], ["updated_at", "2022-05-22 10:38:28.211739"]]
|
269
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
270
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.2ms | Allocations: 84)
|
344
271
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
345
272
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
346
|
-
[1m[
|
347
|
-
[1m[
|
273
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
274
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
348
275
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
349
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
350
|
-
[1m[
|
351
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
352
|
-
[1m[
|
353
|
-
Rendered /Users/
|
276
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
277
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
278
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:38:28.221860"], ["updated_at", "2022-05-22 10:38:28.221860"]]
|
279
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
280
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.2ms | Allocations: 84)
|
354
281
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
355
282
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
356
|
-
[1m[
|
357
|
-
[1m[
|
358
|
-
[1m[
|
359
|
-
[1m[36mMicroCms::ContentBlock Create (0.
|
360
|
-
[1m[
|
361
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
362
|
-
[1m[
|
363
|
-
[1m[
|
364
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
365
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
366
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
367
|
-
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
368
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
369
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
370
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
371
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
372
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
373
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
374
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
375
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
376
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
377
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
378
|
-
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default value"], ["created_at", "2019-09-30 16:03:13.344496"], ["updated_at", "2019-09-30 16:03:13.344496"]]
|
379
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
380
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
381
|
-
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
382
|
-
[1m[35m (5.9ms)[0m [1m[31mrollback transaction[0m
|
383
|
-
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
384
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
385
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
386
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
387
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
388
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
389
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
390
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
391
|
-
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default"], ["created_at", "2019-09-30 16:04:23.575902"], ["updated_at", "2019-09-30 16:04:23.575902"]]
|
392
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
393
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
394
|
-
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
395
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
396
|
-
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
397
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
398
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
399
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
400
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
402
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
403
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
404
|
-
[1m[36mMicroCms::ContentBlock Create (0.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2019-09-30 16:04:40.962829"], ["updated_at", "2019-09-30 16:04:40.962829"]]
|
405
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
283
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
284
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
285
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
286
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.229665"], ["updated_at", "2022-05-22 10:38:28.229665"]]
|
287
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
288
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
289
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
290
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
406
291
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
407
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
408
|
-
[1m[
|
409
|
-
[1m[
|
410
|
-
[1m[
|
411
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
412
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
413
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
292
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
293
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
294
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2022-05-22 10:38:28.243754"], ["updated_at", "2022-05-22 10:38:28.243754"]]
|
295
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
414
296
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
297
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
298
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
299
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
300
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
415
301
|
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
416
|
-
[1m[
|
417
|
-
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "
|
418
|
-
[1m[
|
302
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
303
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:38:28.256043"], ["updated_at", "2022-05-22 10:38:28.256043"]]
|
304
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
419
305
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
420
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
421
|
-
[1m[
|
422
|
-
[1m[
|
423
|
-
[1m[35m (0.
|
424
|
-
[1m[
|
425
|
-
[1m[
|
426
|
-
[1m[
|
427
|
-
[1m[
|
428
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
429
|
-
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2019-09-30 16:06:54.883500"], ["updated_at", "2019-09-30 16:06:54.883500"]]
|
430
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
431
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
432
|
-
[1m[35m (6.2ms)[0m [1m[31mrollback transaction[0m
|
433
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
434
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
435
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
436
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
437
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
306
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
307
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
308
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
309
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
310
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
311
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
312
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:38:28.267469"], ["updated_at", "2022-05-22 10:38:28.267469"]]
|
313
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
438
314
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
439
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
440
|
-
[1m[
|
441
|
-
[1m[
|
442
|
-
[1m[
|
315
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
316
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
317
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
318
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
319
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2022-05-22 10:38:28.275881"], ["updated_at", "2022-05-22 10:38:28.275881"]]
|
320
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
321
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
322
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
323
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
324
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
325
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
326
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
327
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
328
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
329
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
443
330
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
444
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
445
|
-
[1m[
|
446
|
-
[1m[
|
447
|
-
[1m[
|
448
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
449
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
450
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
331
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
332
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
333
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2022-05-22 10:38:28.299610"], ["updated_at", "2022-05-22 10:38:28.299610"]]
|
334
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
451
335
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
452
|
-
[1m[36mMicroCms::ContentBlock Load (0.
|
453
|
-
[1m[
|
454
|
-
[1m[
|
455
|
-
[1m[
|
456
|
-
[1m[
|
457
|
-
[1m[
|
458
|
-
[1m[
|
459
|
-
[1m[
|
460
|
-
[1m[
|
461
|
-
[1m[
|
462
|
-
[1m[
|
463
|
-
[1m[
|
464
|
-
[1m[
|
465
|
-
[1m[
|
466
|
-
[1m[
|
467
|
-
[1m[
|
468
|
-
[1m[35m (5.8ms)[0m [1m[31mrollback transaction[0m
|
469
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
470
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
471
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
472
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
473
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
474
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
475
|
-
[1m[36mMicroCms::ContentBlock Create (10.1ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2019-09-30 16:08:24.368635"], ["updated_at", "2019-09-30 16:08:24.368635"]]
|
476
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
477
|
-
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
478
|
-
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
336
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
337
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
338
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
339
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
340
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.304615"], ["updated_at", "2022-05-22 10:38:28.304615"]]
|
341
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
342
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
343
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
344
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
345
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
346
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
348
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
349
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
350
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
351
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|