cm_page_builder-rails 0.1.10 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -15
  3. data/app/models/cm_page_builder/rails/page.rb +4 -2
  4. data/app/views/cm_page_builder/rails/pages/_form.html.slim +1 -1
  5. data/app/views/cm_page_builder/rails/pages/edit.html.slim +0 -3
  6. data/config/routes.rb +4 -4
  7. data/lib/cm_page_builder/rails/version.rb +1 -1
  8. data/lib/generators/cm_page_builder/rails/install_generator.rb +14 -0
  9. data/lib/generators/cm_page_builder/rails/templates/app/javascripts/components/cm_content_manager/Content.jsx +46 -0
  10. metadata +50 -116
  11. data/app/controllers/cm_page_builder/rails/page_components_controller.rb +0 -62
  12. data/app/views/cm_page_builder/rails/page_components/_form.html.slim +0 -24
  13. data/app/views/cm_page_builder/rails/page_components/edit.html.slim +0 -8
  14. data/app/views/cm_page_builder/rails/page_components/index.html.slim +0 -29
  15. data/app/views/cm_page_builder/rails/page_components/new.html.slim +0 -5
  16. data/app/views/cm_page_builder/rails/page_components/show.html.slim +0 -21
  17. data/app/views/cm_page_builder/rails/pages/index.html.slim +0 -21
  18. data/app/views/cm_page_builder/rails/pages/new.html.slim +0 -5
  19. data/spec/dummy/log/development.log +0 -3244
  20. data/spec/dummy/log/test.log +0 -659
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-8/-8wLv-gkS0lWbg5gMshjwVvEX-JbIZUEBVR2pr9_bKA.cache +0 -1
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5D/5DPzt4__rm7GhngiwkT-lUOoi4bxaoTs0K5kvJStU0k.cache +0 -2
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tWHnBupt4r5zX1sjy8C6i7S3z5ajB6srIvDWOWVf9M.cache +0 -3
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ac/AcI542cVIIgUfhEHlfWRg1sVCk-ci8q7KJjtfiXWrqU.cache +0 -1
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gc/GcDr51VZAgE8TwLQ4lVLRgj06T_sip-iHJ31oZhzX2E.cache +0 -1
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K5/K5x_Jacr65xC7yksZkQ8Lu-ZDQDOr7RKTkXGmRF7rNg.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Li/LiQyyzJdhsuIp-k1fAZr5FGe5zI5auwfWTrl0HRmfgc.cache +0 -1
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N3/N3Sm2Yo3ko7YeZE7Tm84toiF8Uc8SvwN_dPmwE31NHY.cache +0 -1
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Om/OmMgC0Ie4yVZz8R3xcFMwe3zaxbHUZjsMyO9ps04Qpc.cache +0 -1
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-zt7qJNJDPVCYemhhzcCrULNd8WMOrYSEfLANHYDmg.cache +0 -1
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pe/Peitb8vcIuqpCVAjgFYYksat7BhWf5MRwqriqxp4WW4.cache +0 -1
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sf/SfmrkSwWT4EUyQAKsRlhn5MHbfVz_o_VBzAuaEK7bAU.cache +0 -1
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y0-81RV0kP3kkrrtpu2uMeyzo64nCXW3SDJlw6m2fj4.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dN/dN2-E0CCM5wtYZomdgp64eQAmopGFC0ePOhTRWuNBvQ.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eS/eS3il8sFiF70CJZmKBPTm1FLec-zw8B7IzPPvkuK1u8.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jK/jK5UBWD1YVDtsefRk_JwOBR72ghgtCV--u7IlbUc03s.cache +0 -2
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kP/kPcwhPILUYMzJ6ur2tH2T8usC53KxUxepYBSOZ7VUt8.cache +0 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lS6RwqteayFTAdf6FgMw11bXGGI8DWJFPqHxP2XkXd0.cache +0 -1
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -2
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -2
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/pi6etlT1bMiWX7thI__-KxLHhEoKAo30IgXOwtRK9t0.cache +0 -3
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache +0 -2
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/st/st-pTV9TPstETNHhsnxBCbAlS05rcNIKba7hRNbkmUA.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/w4/w4GqgS1yUGmN0YskbhLsZ8iu1mDpp86ioSjy3_mmUIA.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJZCYzf_JMRm-wPqe-Mv1sMfBxQTe3DtTTjinVeNWWc.cache +0 -1
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yv/yvvhpgDo16OpYhb-dcBGMN6o5Dnk-R7nbOf5GPpdL0k.cache +0 -1
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yx/yxWvmr9K44epqBAsbVq9PanAxfY0mrNIrysWagrWEps.cache +0 -1
  48. data/spec/dummy/tmp/development_secret.txt +0 -1
@@ -1,659 +0,0 @@
1
-  (0.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
2
-  (6.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
3
-  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
4
-  (0.2ms) SELECT pg_try_advisory_lock(2735718569030447490)
5
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6
- Migrating to CreateCmPageBuilderRailsPages (20190816103148)
7
-  (0.1ms) BEGIN
8
-  (5.0ms) CREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
9
-  (0.7ms) CREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")
10
- primary::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190816103148"]]
11
-  (0.3ms) COMMIT
12
- Migrating to CreateCmPageBuilderRailsPageComponents (20190816105056)
13
-  (0.1ms) BEGIN
14
-  (1.9ms) CREATE TABLE "cm_page_builder_rails_page_components" ("id" character varying NOT NULL PRIMARY KEY, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
15
-  (0.6ms) CREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")
16
-  (1.4ms) ALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
17
- FOREIGN KEY ("page_id")
18
- REFERENCES "cm_page_builder_rails_pages" ("id")
19
- 
20
- primary::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190816105056"]]
21
-  (0.3ms) COMMIT
22
- Migrating to ChangePageComponentPrimaryKey (20190903110322)
23
-  (0.1ms) BEGIN
24
-  (0.2ms) ALTER TABLE "cm_page_builder_rails_page_components" RENAME COLUMN "id" TO "uuid"
25
-  (0.5ms) ALTER TABLE cm_page_builder_rails_page_components DROP CONSTRAINT cm_page_builder_rails_page_components_pkey;
26
- 
27
-  (3.6ms) ALTER TABLE "cm_page_builder_rails_page_components" ADD "id" bigserial primary key
28
- primary::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190903110322"]]
29
-  (0.9ms) COMMIT
30
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
31
-  (0.2ms) BEGIN
32
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-09-30 10:31:36.946553"], ["updated_at", "2019-09-30 10:31:36.946553"]]
33
-  (0.4ms) COMMIT
34
-  (0.4ms) SELECT pg_advisory_unlock(2735718569030447490)
35
-  (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490)
36
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
38
-  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490)
39
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
40
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
41
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
42
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
43
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
44
-  (0.1ms) BEGIN
45
-  (0.1ms) ROLLBACK
46
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
47
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
48
-  (0.1ms) BEGIN
49
-  (0.1ms) ROLLBACK
50
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
51
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
52
-  (0.1ms) BEGIN
53
-  (0.1ms) ROLLBACK
54
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
55
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
56
-  (0.1ms) BEGIN
57
-  (0.1ms) ROLLBACK
58
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
59
-  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
60
-  (0.1ms) BEGIN
61
-  (0.3ms) SAVEPOINT active_record_1
62
- CmPageBuilder::Rails::PageComponent Create (1.2ms) INSERT INTO "cm_page_builder_rails_page_components" ("content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:05:41.338085"], ["updated_at", "2019-09-30 11:05:41.338085"]]
63
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
64
-  (0.1ms) ROLLBACK
65
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
66
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
67
-  (0.1ms) BEGIN
68
-  (0.1ms) SAVEPOINT active_record_1
69
- CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uuid", "abcdef"], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:06:03.937270"], ["updated_at", "2019-09-30 11:06:03.937270"]]
70
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
71
-  (0.1ms) ROLLBACK
72
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
73
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
74
-  (0.1ms) BEGIN
75
-  (0.1ms) ROLLBACK
76
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
77
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
78
-  (0.1ms) BEGIN
79
-  (0.1ms) SAVEPOINT active_record_1
80
- CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uuid", "abcdef"], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:07:25.288542"], ["updated_at", "2019-09-30 11:07:25.288542"]]
81
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
82
-  (0.1ms) ROLLBACK
83
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
84
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
85
-  (0.1ms) BEGIN
86
-  (0.1ms) SAVEPOINT active_record_1
87
- CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uuid", "abcdef"], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:08:40.632873"], ["updated_at", "2019-09-30 11:08:40.632873"]]
88
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
89
-  (0.1ms) ROLLBACK
90
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
91
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
92
-  (0.1ms) BEGIN
93
-  (0.1ms) ROLLBACK
94
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
95
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
96
-  (0.1ms) BEGIN
97
-  (0.1ms) ROLLBACK
98
-  (0.3ms) SELECT pg_try_advisory_lock(2735718569030447490)
99
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
100
- Migrating to CreateTestContainers (20190930111315)
101
-  (0.1ms) BEGIN
102
-  (11.0ms) CREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
103
- primary::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190930111315"]]
104
-  (0.4ms) COMMIT
105
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
106
-  (0.2ms) SELECT pg_advisory_unlock(2735718569030447490)
107
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
108
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
109
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
110
-  (0.1ms) BEGIN
111
-  (0.1ms) SAVEPOINT active_record_1
112
- TestContainer Create (6.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 11:15:35.368246"], ["updated_at", "2019-09-30 11:15:35.368246"]]
113
-  (0.1ms) RELEASE SAVEPOINT active_record_1
114
-  (0.2ms) ROLLBACK
115
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
116
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
117
-  (0.1ms) BEGIN
118
-  (0.2ms) SAVEPOINT active_record_1
119
- TestContainer Create (0.7ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 11:16:04.005754"], ["updated_at", "2019-09-30 11:16:04.005754"]]
120
-  (0.1ms) RELEASE SAVEPOINT active_record_1
121
-  (0.1ms) SAVEPOINT active_record_1
122
- CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 11:16:04.023654"], ["updated_at", "2019-09-30 11:16:04.023654"]]
123
-  (0.1ms) RELEASE SAVEPOINT active_record_1
124
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
125
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
126
-  (0.1ms) SAVEPOINT active_record_1
127
- CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:16:04.059820"], ["updated_at", "2019-09-30 11:16:04.059820"]]
128
-  (0.1ms) RELEASE SAVEPOINT active_record_1
129
-  (0.1ms) ROLLBACK
130
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
131
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
132
-  (0.1ms) BEGIN
133
-  (0.1ms) SAVEPOINT active_record_1
134
- TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 11:16:21.003530"], ["updated_at", "2019-09-30 11:16:21.003530"]]
135
-  (0.1ms) RELEASE SAVEPOINT active_record_1
136
-  (0.1ms) SAVEPOINT active_record_1
137
- CmPageBuilder::Rails::Page Create (0.5ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 11:16:21.019166"], ["updated_at", "2019-09-30 11:16:21.019166"]]
138
-  (0.1ms) RELEASE SAVEPOINT active_record_1
139
- CmPageBuilder::Rails::PageComponent Destroy (0.7ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
140
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
141
-  (0.1ms) SAVEPOINT active_record_1
142
- CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:16:21.039204"], ["updated_at", "2019-09-30 11:16:21.039204"]]
143
-  (0.1ms) RELEASE SAVEPOINT active_record_1
144
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
145
-  (0.1ms) ROLLBACK
146
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
147
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
148
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
149
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
150
-  (0.1ms) BEGIN
151
-  (0.1ms) SAVEPOINT active_record_1
152
- TestContainer Create (0.4ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:06:35.005002"], ["updated_at", "2019-09-30 12:06:35.005002"]]
153
-  (0.1ms) RELEASE SAVEPOINT active_record_1
154
-  (0.1ms) SAVEPOINT active_record_1
155
- CmPageBuilder::Rails::Page Create (1.0ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:06:35.015327"], ["updated_at", "2019-09-30 12:06:35.015327"]]
156
-  (0.1ms) RELEASE SAVEPOINT active_record_1
157
- CmPageBuilder::Rails::PageComponent Destroy (0.5ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
158
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
159
-  (0.1ms) SAVEPOINT active_record_1
160
- CmPageBuilder::Rails::PageComponent Create (0.5ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:06:35.033905"], ["updated_at", "2019-09-30 12:06:35.033905"]]
161
-  (0.1ms) RELEASE SAVEPOINT active_record_1
162
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
163
-  (0.1ms) ROLLBACK
164
-  (0.1ms) BEGIN
165
-  (0.1ms) SAVEPOINT active_record_1
166
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:06:35.037974"], ["updated_at", "2019-09-30 12:06:35.037974"]]
167
-  (0.1ms) RELEASE SAVEPOINT active_record_1
168
-  (0.1ms) SAVEPOINT active_record_1
169
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:06:35.039373"], ["updated_at", "2019-09-30 12:06:35.039373"]]
170
-  (0.1ms) RELEASE SAVEPOINT active_record_1
171
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
172
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
173
-  (0.1ms) SAVEPOINT active_record_1
174
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:06:35.042740"], ["updated_at", "2019-09-30 12:06:35.042740"]]
175
-  (0.1ms) RELEASE SAVEPOINT active_record_1
176
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
177
-  (0.1ms) ROLLBACK
178
-  (0.2ms) SELECT pg_try_advisory_lock(2735718569030447490)
179
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
180
- Migrating to CreateActiveStorageTables (20190930120755)
181
-  (0.1ms) BEGIN
182
-  (9.1ms) CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)
183
-  (0.7ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
184
-  (2.6ms) CREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
185
- FOREIGN KEY ("blob_id")
186
- REFERENCES "active_storage_blobs" ("id")
187
- )
188
-  (0.9ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
189
-  (0.8ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
190
- primary::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190930120755"]]
191
-  (0.5ms) COMMIT
192
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
193
-  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490)
194
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
195
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
196
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
197
-  (0.1ms) BEGIN
198
-  (0.1ms) SAVEPOINT active_record_1
199
- TestContainer Create (0.4ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:14.324202"], ["updated_at", "2019-09-30 12:08:14.324202"]]
200
-  (0.1ms) RELEASE SAVEPOINT active_record_1
201
-  (0.1ms) SAVEPOINT active_record_1
202
- CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:08:14.340355"], ["updated_at", "2019-09-30 12:08:14.340355"]]
203
-  (0.1ms) RELEASE SAVEPOINT active_record_1
204
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
205
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
206
-  (0.1ms) SAVEPOINT active_record_1
207
- CmPageBuilder::Rails::PageComponent Create (0.5ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:14.373151"], ["updated_at", "2019-09-30 12:08:14.373151"]]
208
-  (0.1ms) RELEASE SAVEPOINT active_record_1
209
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
210
-  (0.7ms) ROLLBACK
211
-  (0.1ms) BEGIN
212
-  (0.1ms) SAVEPOINT active_record_1
213
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:14.379432"], ["updated_at", "2019-09-30 12:08:14.379432"]]
214
-  (0.1ms) RELEASE SAVEPOINT active_record_1
215
-  (0.1ms) SAVEPOINT active_record_1
216
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:08:14.381607"], ["updated_at", "2019-09-30 12:08:14.381607"]]
217
-  (0.1ms) RELEASE SAVEPOINT active_record_1
218
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
219
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
220
-  (0.1ms) SAVEPOINT active_record_1
221
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:14.386709"], ["updated_at", "2019-09-30 12:08:14.386709"]]
222
-  (0.1ms) RELEASE SAVEPOINT active_record_1
223
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
224
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
225
-  (0.2ms) ROLLBACK
226
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
227
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
228
-  (0.1ms) BEGIN
229
-  (0.1ms) SAVEPOINT active_record_1
230
- TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:51.954658"], ["updated_at", "2019-09-30 12:08:51.954658"]]
231
-  (0.1ms) RELEASE SAVEPOINT active_record_1
232
-  (0.1ms) SAVEPOINT active_record_1
233
- CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:08:51.968730"], ["updated_at", "2019-09-30 12:08:51.968730"]]
234
-  (0.1ms) RELEASE SAVEPOINT active_record_1
235
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
236
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
237
-  (0.1ms) SAVEPOINT active_record_1
238
- CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:51.994032"], ["updated_at", "2019-09-30 12:08:51.994032"]]
239
-  (0.1ms) RELEASE SAVEPOINT active_record_1
240
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
241
-  (0.1ms) ROLLBACK
242
-  (0.1ms) BEGIN
243
-  (0.1ms) SAVEPOINT active_record_1
244
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:51.999181"], ["updated_at", "2019-09-30 12:08:51.999181"]]
245
-  (0.1ms) RELEASE SAVEPOINT active_record_1
246
-  (0.1ms) SAVEPOINT active_record_1
247
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:08:52.001163"], ["updated_at", "2019-09-30 12:08:52.001163"]]
248
-  (0.1ms) RELEASE SAVEPOINT active_record_1
249
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
250
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
251
-  (0.1ms) SAVEPOINT active_record_1
252
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:52.005513"], ["updated_at", "2019-09-30 12:08:52.005513"]]
253
-  (0.1ms) RELEASE SAVEPOINT active_record_1
254
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
255
- ActiveStorage::Attachment Load (2.6ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
256
-  (0.1ms) SAVEPOINT active_record_1
257
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
258
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
259
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:08:52.021530"], ["updated_at", "2019-09-30 12:08:52.021530"]]
260
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:52.022722"], ["updated_at", "2019-09-30 12:08:52.022722"]]
261
-  (0.1ms) RELEASE SAVEPOINT active_record_1
262
- CmPageBuilder::Rails::Page Load (0.1ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" LIMIT $1 [["LIMIT", 11]]
263
- CmPageBuilder::Rails::Page Load (0.1ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" LIMIT $1 [["LIMIT", 11]]
264
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" LIMIT $1 [["LIMIT", 11]]
265
- CmPageBuilder::Rails::Page Load (0.3ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages"
266
-  (0.1ms) ROLLBACK
267
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
268
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
269
-  (0.1ms) BEGIN
270
-  (0.1ms) SAVEPOINT active_record_1
271
- TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:09:25.207733"], ["updated_at", "2019-09-30 12:09:25.207733"]]
272
-  (0.1ms) RELEASE SAVEPOINT active_record_1
273
-  (0.1ms) SAVEPOINT active_record_1
274
- CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:09:25.224550"], ["updated_at", "2019-09-30 12:09:25.224550"]]
275
-  (0.1ms) RELEASE SAVEPOINT active_record_1
276
- CmPageBuilder::Rails::PageComponent Destroy (0.7ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
277
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
278
-  (0.1ms) SAVEPOINT active_record_1
279
- CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:09:25.265218"], ["updated_at", "2019-09-30 12:09:25.265218"]]
280
-  (0.1ms) RELEASE SAVEPOINT active_record_1
281
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
282
-  (0.1ms) ROLLBACK
283
-  (0.1ms) BEGIN
284
-  (0.1ms) SAVEPOINT active_record_1
285
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:09:25.272755"], ["updated_at", "2019-09-30 12:09:25.272755"]]
286
-  (0.1ms) RELEASE SAVEPOINT active_record_1
287
-  (0.1ms) SAVEPOINT active_record_1
288
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:09:25.275625"], ["updated_at", "2019-09-30 12:09:25.275625"]]
289
-  (0.1ms) RELEASE SAVEPOINT active_record_1
290
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
291
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
292
-  (0.1ms) SAVEPOINT active_record_1
293
- CmPageBuilder::Rails::PageComponent Create (0.4ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:09:25.282515"], ["updated_at", "2019-09-30 12:09:25.282515"]]
294
-  (0.1ms) RELEASE SAVEPOINT active_record_1
295
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
296
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
297
-  (0.1ms) SAVEPOINT active_record_1
298
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
299
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
300
- CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:09:25.315341"], ["updated_at", "2019-09-30 12:09:25.315341"]]
301
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:09:25.316616"], ["updated_at", "2019-09-30 12:09:25.316616"]]
302
-  (0.1ms) RELEASE SAVEPOINT active_record_1
303
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
304
-  (0.1ms) ROLLBACK
305
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
306
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
307
-  (0.1ms) BEGIN
308
-  (0.1ms) SAVEPOINT active_record_1
309
- TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:10:57.304228"], ["updated_at", "2019-09-30 12:10:57.304228"]]
310
-  (0.1ms) RELEASE SAVEPOINT active_record_1
311
-  (0.1ms) SAVEPOINT active_record_1
312
- CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:10:57.319385"], ["updated_at", "2019-09-30 12:10:57.319385"]]
313
-  (0.1ms) RELEASE SAVEPOINT active_record_1
314
- CmPageBuilder::Rails::PageComponent Destroy (0.9ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
315
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
316
-  (0.2ms) SAVEPOINT active_record_1
317
- CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:10:57.354754"], ["updated_at", "2019-09-30 12:10:57.354754"]]
318
-  (0.1ms) RELEASE SAVEPOINT active_record_1
319
-  (0.4ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
320
-  (0.1ms) ROLLBACK
321
-  (0.1ms) BEGIN
322
-  (0.1ms) SAVEPOINT active_record_1
323
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:10:57.361099"], ["updated_at", "2019-09-30 12:10:57.361099"]]
324
-  (0.1ms) RELEASE SAVEPOINT active_record_1
325
-  (0.1ms) SAVEPOINT active_record_1
326
- CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:10:57.363841"], ["updated_at", "2019-09-30 12:10:57.363841"]]
327
-  (0.1ms) RELEASE SAVEPOINT active_record_1
328
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
329
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
330
-  (0.2ms) SAVEPOINT active_record_1
331
- CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:10:57.369448"], ["updated_at", "2019-09-30 12:10:57.369448"]]
332
-  (0.4ms) RELEASE SAVEPOINT active_record_1
333
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
334
- ActiveStorage::Attachment Load (0.4ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
335
-  (0.1ms) SAVEPOINT active_record_1
336
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
337
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
338
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:10:57.398722"], ["updated_at", "2019-09-30 12:10:57.398722"]]
339
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:10:57.399738"], ["updated_at", "2019-09-30 12:10:57.399738"]]
340
-  (0.1ms) RELEASE SAVEPOINT active_record_1
341
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
342
-  (0.1ms) ROLLBACK
343
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
344
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
345
-  (0.1ms) BEGIN
346
-  (0.1ms) SAVEPOINT active_record_1
347
- TestContainer Create (0.6ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:35:52.247374"], ["updated_at", "2019-09-30 12:35:52.247374"]]
348
-  (0.1ms) RELEASE SAVEPOINT active_record_1
349
-  (0.1ms) SAVEPOINT active_record_1
350
- CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:35:52.261818"], ["updated_at", "2019-09-30 12:35:52.261818"]]
351
-  (0.1ms) RELEASE SAVEPOINT active_record_1
352
- CmPageBuilder::Rails::PageComponent Destroy (0.8ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
353
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
354
-  (0.1ms) SAVEPOINT active_record_1
355
- CmPageBuilder::Rails::PageComponent Create (6.0ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.283260"], ["updated_at", "2019-09-30 12:35:52.283260"]]
356
-  (0.1ms) RELEASE SAVEPOINT active_record_1
357
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
358
-  (0.1ms) ROLLBACK
359
-  (0.1ms) BEGIN
360
-  (0.1ms) SAVEPOINT active_record_1
361
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:35:52.293013"], ["updated_at", "2019-09-30 12:35:52.293013"]]
362
-  (0.1ms) RELEASE SAVEPOINT active_record_1
363
-  (0.1ms) SAVEPOINT active_record_1
364
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:35:52.294506"], ["updated_at", "2019-09-30 12:35:52.294506"]]
365
-  (0.1ms) RELEASE SAVEPOINT active_record_1
366
- CmPageBuilder::Rails::PageComponent Destroy (0.5ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
367
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
368
-  (0.1ms) SAVEPOINT active_record_1
369
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.298033"], ["updated_at", "2019-09-30 12:35:52.298033"]]
370
-  (0.1ms) RELEASE SAVEPOINT active_record_1
371
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
372
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
373
-  (0.1ms) SAVEPOINT active_record_1
374
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
375
- CmPageBuilder::Rails::Page Load (0.6ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
376
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:35:52.313798"], ["updated_at", "2019-09-30 12:35:52.313798"]]
377
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.314978"], ["updated_at", "2019-09-30 12:35:52.314978"]]
378
-  (0.1ms) RELEASE SAVEPOINT active_record_1
379
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
380
-  (0.1ms) ROLLBACK
381
-  (0.1ms) BEGIN
382
-  (0.1ms) SAVEPOINT active_record_1
383
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:35:52.318029"], ["updated_at", "2019-09-30 12:35:52.318029"]]
384
-  (0.1ms) RELEASE SAVEPOINT active_record_1
385
-  (0.1ms) SAVEPOINT active_record_1
386
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:35:52.319585"], ["updated_at", "2019-09-30 12:35:52.319585"]]
387
-  (0.1ms) RELEASE SAVEPOINT active_record_1
388
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 4], ["uuid", "abcdef"]]
389
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
390
-  (0.1ms) SAVEPOINT active_record_1
391
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.323101"], ["updated_at", "2019-09-30 12:35:52.323101"]]
392
-  (0.1ms) RELEASE SAVEPOINT active_record_1
393
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2 [["page_id", 4], ["LIMIT", 1]]
394
-  (0.1ms) ROLLBACK
395
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
396
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
397
-  (0.1ms) BEGIN
398
-  (0.1ms) SAVEPOINT active_record_1
399
- TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:36:10.827199"], ["updated_at", "2019-09-30 12:36:10.827199"]]
400
-  (0.1ms) RELEASE SAVEPOINT active_record_1
401
-  (0.1ms) SAVEPOINT active_record_1
402
- CmPageBuilder::Rails::Page Create (0.5ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:36:10.842833"], ["updated_at", "2019-09-30 12:36:10.842833"]]
403
-  (0.1ms) RELEASE SAVEPOINT active_record_1
404
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
405
- CmPageBuilder::Rails::PageComponent Load (0.1ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
406
-  (0.1ms) SAVEPOINT active_record_1
407
- CmPageBuilder::Rails::PageComponent Create (0.5ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.863978"], ["updated_at", "2019-09-30 12:36:10.863978"]]
408
-  (0.1ms) RELEASE SAVEPOINT active_record_1
409
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
410
-  (0.1ms) ROLLBACK
411
-  (0.1ms) BEGIN
412
-  (0.1ms) SAVEPOINT active_record_1
413
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:36:10.875946"], ["updated_at", "2019-09-30 12:36:10.875946"]]
414
-  (0.1ms) RELEASE SAVEPOINT active_record_1
415
-  (0.1ms) SAVEPOINT active_record_1
416
- CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:10.877609"], ["updated_at", "2019-09-30 12:36:10.877609"]]
417
-  (0.1ms) RELEASE SAVEPOINT active_record_1
418
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
419
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
420
-  (0.1ms) SAVEPOINT active_record_1
421
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.881467"], ["updated_at", "2019-09-30 12:36:10.881467"]]
422
-  (0.1ms) RELEASE SAVEPOINT active_record_1
423
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
424
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
425
-  (0.1ms) SAVEPOINT active_record_1
426
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
427
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
428
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:10.894883"], ["updated_at", "2019-09-30 12:36:10.894883"]]
429
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.895826"], ["updated_at", "2019-09-30 12:36:10.895826"]]
430
-  (0.1ms) RELEASE SAVEPOINT active_record_1
431
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
432
-  (0.1ms) ROLLBACK
433
-  (0.1ms) BEGIN
434
-  (0.1ms) SAVEPOINT active_record_1
435
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:36:10.898779"], ["updated_at", "2019-09-30 12:36:10.898779"]]
436
-  (0.1ms) RELEASE SAVEPOINT active_record_1
437
-  (0.1ms) SAVEPOINT active_record_1
438
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:36:10.900254"], ["updated_at", "2019-09-30 12:36:10.900254"]]
439
-  (0.1ms) RELEASE SAVEPOINT active_record_1
440
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 4], ["uuid", "abcdef"]]
441
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
442
-  (0.1ms) SAVEPOINT active_record_1
443
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.904455"], ["updated_at", "2019-09-30 12:36:10.904455"]]
444
-  (0.1ms) RELEASE SAVEPOINT active_record_1
445
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2 [["page_id", 4], ["LIMIT", 1]]
446
-  (0.1ms) ROLLBACK
447
-  (2.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
448
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
449
-  (0.1ms) BEGIN
450
-  (0.1ms) SAVEPOINT active_record_1
451
- TestContainer Create (0.4ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:36:41.022939"], ["updated_at", "2019-09-30 12:36:41.022939"]]
452
-  (0.1ms) RELEASE SAVEPOINT active_record_1
453
-  (0.1ms) SAVEPOINT active_record_1
454
- CmPageBuilder::Rails::Page Create (0.6ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:36:41.040722"], ["updated_at", "2019-09-30 12:36:41.040722"]]
455
-  (0.1ms) RELEASE SAVEPOINT active_record_1
456
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
457
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
458
-  (0.1ms) SAVEPOINT active_record_1
459
- CmPageBuilder::Rails::PageComponent Create (0.5ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.076887"], ["updated_at", "2019-09-30 12:36:41.076887"]]
460
-  (0.1ms) RELEASE SAVEPOINT active_record_1
461
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
462
-  (0.1ms) ROLLBACK
463
-  (0.1ms) BEGIN
464
-  (0.1ms) SAVEPOINT active_record_1
465
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:36:41.082501"], ["updated_at", "2019-09-30 12:36:41.082501"]]
466
-  (0.1ms) RELEASE SAVEPOINT active_record_1
467
-  (0.1ms) SAVEPOINT active_record_1
468
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:41.084702"], ["updated_at", "2019-09-30 12:36:41.084702"]]
469
-  (0.1ms) RELEASE SAVEPOINT active_record_1
470
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
471
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
472
-  (0.1ms) SAVEPOINT active_record_1
473
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.089811"], ["updated_at", "2019-09-30 12:36:41.089811"]]
474
-  (0.1ms) RELEASE SAVEPOINT active_record_1
475
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
476
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
477
-  (0.1ms) SAVEPOINT active_record_1
478
- TestContainer Load (0.1ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
479
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
480
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:41.122465"], ["updated_at", "2019-09-30 12:36:41.122465"]]
481
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.123411"], ["updated_at", "2019-09-30 12:36:41.123411"]]
482
-  (0.1ms) RELEASE SAVEPOINT active_record_1
483
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
484
-  (0.1ms) ROLLBACK
485
-  (0.1ms) BEGIN
486
-  (0.1ms) SAVEPOINT active_record_1
487
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:36:41.126667"], ["updated_at", "2019-09-30 12:36:41.126667"]]
488
-  (0.1ms) RELEASE SAVEPOINT active_record_1
489
-  (0.1ms) SAVEPOINT active_record_1
490
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:36:41.128197"], ["updated_at", "2019-09-30 12:36:41.128197"]]
491
-  (0.1ms) RELEASE SAVEPOINT active_record_1
492
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 4], ["uuid", "abcdef"]]
493
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
494
-  (0.1ms) SAVEPOINT active_record_1
495
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.131835"], ["updated_at", "2019-09-30 12:36:41.131835"]]
496
-  (0.1ms) RELEASE SAVEPOINT active_record_1
497
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2 [["page_id", 4], ["LIMIT", 1]]
498
-  (0.1ms) ROLLBACK
499
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
500
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
501
-  (0.1ms) BEGIN
502
-  (0.1ms) SAVEPOINT active_record_1
503
- TestContainer Create (0.6ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:38:41.492986"], ["updated_at", "2019-09-30 12:38:41.492986"]]
504
-  (0.1ms) RELEASE SAVEPOINT active_record_1
505
-  (0.1ms) SAVEPOINT active_record_1
506
- CmPageBuilder::Rails::Page Create (0.5ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:38:41.516102"], ["updated_at", "2019-09-30 12:38:41.516102"]]
507
-  (0.1ms) RELEASE SAVEPOINT active_record_1
508
- CmPageBuilder::Rails::PageComponent Destroy (0.8ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
509
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
510
-  (0.1ms) SAVEPOINT active_record_1
511
- CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.557311"], ["updated_at", "2019-09-30 12:38:41.557311"]]
512
-  (0.1ms) RELEASE SAVEPOINT active_record_1
513
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
514
-  (0.1ms) ROLLBACK
515
-  (0.1ms) BEGIN
516
-  (0.1ms) SAVEPOINT active_record_1
517
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:38:41.563458"], ["updated_at", "2019-09-30 12:38:41.563458"]]
518
-  (0.1ms) RELEASE SAVEPOINT active_record_1
519
-  (0.1ms) SAVEPOINT active_record_1
520
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:38:41.565986"], ["updated_at", "2019-09-30 12:38:41.565986"]]
521
-  (0.1ms) RELEASE SAVEPOINT active_record_1
522
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
523
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
524
-  (0.1ms) SAVEPOINT active_record_1
525
- CmPageBuilder::Rails::PageComponent Create (0.4ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.571309"], ["updated_at", "2019-09-30 12:38:41.571309"]]
526
-  (0.1ms) RELEASE SAVEPOINT active_record_1
527
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
528
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
529
-  (0.1ms) SAVEPOINT active_record_1
530
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
531
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
532
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:38:41.604403"], ["updated_at", "2019-09-30 12:38:41.604403"]]
533
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.605591"], ["updated_at", "2019-09-30 12:38:41.605591"]]
534
-  (0.1ms) RELEASE SAVEPOINT active_record_1
535
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
536
-  (0.1ms) ROLLBACK
537
-  (0.1ms) BEGIN
538
-  (0.1ms) SAVEPOINT active_record_1
539
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:38:41.609477"], ["updated_at", "2019-09-30 12:38:41.609477"]]
540
-  (0.1ms) RELEASE SAVEPOINT active_record_1
541
-  (0.1ms) SAVEPOINT active_record_1
542
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:38:41.611307"], ["updated_at", "2019-09-30 12:38:41.611307"]]
543
-  (0.1ms) RELEASE SAVEPOINT active_record_1
544
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 4], ["uuid", "abcdef"]]
545
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
546
-  (0.1ms) SAVEPOINT active_record_1
547
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.615887"], ["updated_at", "2019-09-30 12:38:41.615887"]]
548
-  (0.1ms) RELEASE SAVEPOINT active_record_1
549
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2 [["page_id", 4], ["LIMIT", 1]]
550
-  (0.2ms) SAVEPOINT active_record_1
551
- ActiveStorage::Blob Load (0.4ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 4], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
552
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
553
-  (0.1ms) ROLLBACK
554
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
555
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
556
-  (0.1ms) BEGIN
557
-  (0.1ms) SAVEPOINT active_record_1
558
- TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:39:07.242163"], ["updated_at", "2019-09-30 12:39:07.242163"]]
559
-  (0.1ms) RELEASE SAVEPOINT active_record_1
560
-  (0.1ms) SAVEPOINT active_record_1
561
- CmPageBuilder::Rails::Page Create (0.5ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:39:07.252254"], ["updated_at", "2019-09-30 12:39:07.252254"]]
562
-  (0.1ms) RELEASE SAVEPOINT active_record_1
563
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
564
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
565
-  (0.1ms) SAVEPOINT active_record_1
566
- CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.276711"], ["updated_at", "2019-09-30 12:39:07.276711"]]
567
-  (0.1ms) RELEASE SAVEPOINT active_record_1
568
-  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
569
-  (0.1ms) ROLLBACK
570
-  (0.1ms) BEGIN
571
-  (0.1ms) SAVEPOINT active_record_1
572
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:39:07.281959"], ["updated_at", "2019-09-30 12:39:07.281959"]]
573
-  (0.1ms) RELEASE SAVEPOINT active_record_1
574
-  (0.1ms) SAVEPOINT active_record_1
575
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:39:07.283892"], ["updated_at", "2019-09-30 12:39:07.283892"]]
576
-  (0.1ms) RELEASE SAVEPOINT active_record_1
577
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
578
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
579
-  (0.1ms) SAVEPOINT active_record_1
580
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.288084"], ["updated_at", "2019-09-30 12:39:07.288084"]]
581
-  (0.1ms) RELEASE SAVEPOINT active_record_1
582
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
583
- ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
584
-  (0.1ms) SAVEPOINT active_record_1
585
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
586
- CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
587
- CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:39:07.315795"], ["updated_at", "2019-09-30 12:39:07.315795"]]
588
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.317100"], ["updated_at", "2019-09-30 12:39:07.317100"]]
589
-  (0.1ms) RELEASE SAVEPOINT active_record_1
590
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
591
-  (0.1ms) ROLLBACK
592
-  (0.1ms) BEGIN
593
-  (0.1ms) SAVEPOINT active_record_1
594
- TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:39:07.320925"], ["updated_at", "2019-09-30 12:39:07.320925"]]
595
-  (0.1ms) RELEASE SAVEPOINT active_record_1
596
-  (0.1ms) SAVEPOINT active_record_1
597
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:39:07.322727"], ["updated_at", "2019-09-30 12:39:07.322727"]]
598
-  (0.1ms) RELEASE SAVEPOINT active_record_1
599
- CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 4], ["uuid", "abcdef"]]
600
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
601
-  (0.1ms) SAVEPOINT active_record_1
602
- CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.326890"], ["updated_at", "2019-09-30 12:39:07.326890"]]
603
-  (0.1ms) RELEASE SAVEPOINT active_record_1
604
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2 [["page_id", 4], ["LIMIT", 1]]
605
-  (0.1ms) SAVEPOINT active_record_1
606
- ActiveStorage::Blob Load (0.4ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 4], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
607
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
608
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
609
-  (0.1ms) BEGIN
610
-  (0.1ms) SAVEPOINT active_record_1
611
- TestContainer Create (0.6ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:45:12.140873"], ["updated_at", "2019-09-30 12:45:12.140873"]]
612
-  (0.1ms) RELEASE SAVEPOINT active_record_1
613
-  (0.2ms) SAVEPOINT active_record_1
614
- CmPageBuilder::Rails::Page Create (0.7ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:45:12.160923"], ["updated_at", "2019-09-30 12:45:12.160923"]]
615
-  (0.1ms) RELEASE SAVEPOINT active_record_1
616
- CmPageBuilder::Rails::PageComponent Destroy (0.8ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 1], ["uuid", "abcdef"]]
617
- CmPageBuilder::Rails::PageComponent Load (1.0ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
618
-  (0.2ms) SAVEPOINT active_record_1
619
- CmPageBuilder::Rails::PageComponent Create (0.9ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.195406"], ["updated_at", "2019-09-30 12:45:12.195406"]]
620
-  (0.1ms) RELEASE SAVEPOINT active_record_1
621
-  (0.4ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]
622
-  (0.2ms) ROLLBACK
623
-  (0.1ms) BEGIN
624
-  (0.2ms) SAVEPOINT active_record_1
625
- TestContainer Create (0.3ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:45:12.213526"], ["updated_at", "2019-09-30 12:45:12.213526"]]
626
-  (0.1ms) RELEASE SAVEPOINT active_record_1
627
-  (0.1ms) SAVEPOINT active_record_1
628
- CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:45:12.215763"], ["updated_at", "2019-09-30 12:45:12.215763"]]
629
-  (0.1ms) RELEASE SAVEPOINT active_record_1
630
- CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 2], ["uuid", "abcdef"]]
631
- CmPageBuilder::Rails::PageComponent Load (1.5ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
632
-  (0.1ms) SAVEPOINT active_record_1
633
- CmPageBuilder::Rails::PageComponent Create (0.4ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.224175"], ["updated_at", "2019-09-30 12:45:12.224175"]]
634
-  (0.1ms) RELEASE SAVEPOINT active_record_1
635
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC [["page_id", 2]]
636
- ActiveStorage::Attachment Load (0.4ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
637
-  (0.1ms) SAVEPOINT active_record_1
638
- TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
639
- CmPageBuilder::Rails::Page Load (0.3ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
640
- CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:45:12.240310"], ["updated_at", "2019-09-30 12:45:12.240310"]]
641
- CmPageBuilder::Rails::PageComponent Create (0.4ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.241666"], ["updated_at", "2019-09-30 12:45:12.241666"]]
642
-  (0.1ms) RELEASE SAVEPOINT active_record_1
643
-  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"
644
-  (0.1ms) ROLLBACK
645
-  (0.1ms) BEGIN
646
-  (0.1ms) SAVEPOINT active_record_1
647
- TestContainer Create (0.3ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:45:12.245934"], ["updated_at", "2019-09-30 12:45:12.245934"]]
648
-  (0.1ms) RELEASE SAVEPOINT active_record_1
649
-  (0.1ms) SAVEPOINT active_record_1
650
- CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:45:12.248013"], ["updated_at", "2019-09-30 12:45:12.248013"]]
651
-  (0.1ms) RELEASE SAVEPOINT active_record_1
652
- CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC) [["page_id", 4], ["uuid", "abcdef"]]
653
- CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3 [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
654
-  (0.1ms) SAVEPOINT active_record_1
655
- CmPageBuilder::Rails::PageComponent Create (0.4ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.253056"], ["updated_at", "2019-09-30 12:45:12.253056"]]
656
-  (0.1ms) RELEASE SAVEPOINT active_record_1
657
- CmPageBuilder::Rails::PageComponent Load (0.3ms) SELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2 [["page_id", 4], ["LIMIT", 1]]
658
-  (0.1ms) SAVEPOINT active_record_1
659
- ActiveStorage::Blob Load (0.6ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 4], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]