cm_page_builder-rails 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -8
  3. data/app/models/cm_page_builder/rails/page.rb +14 -6
  4. data/app/models/cm_page_builder/rails/page_component.rb +7 -1
  5. data/lib/cm_page_builder/rails/engine.rb +1 -0
  6. data/lib/cm_page_builder/rails/version.rb +1 -1
  7. data/spec/dummy/Rakefile +6 -0
  8. data/spec/dummy/app/assets/config/manifest.js +3 -0
  9. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  10. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  11. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  12. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  13. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  14. data/spec/dummy/app/javascript/packs/application.js +15 -0
  15. data/spec/dummy/app/jobs/application_job.rb +7 -0
  16. data/spec/dummy/app/models/application_record.rb +3 -0
  17. data/spec/dummy/app/models/test_container.rb +3 -0
  18. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/spec/dummy/bin/rails +4 -0
  20. data/spec/dummy/bin/rake +4 -0
  21. data/spec/dummy/bin/setup +33 -0
  22. data/spec/dummy/config.ru +5 -0
  23. data/spec/dummy/config/application.rb +30 -0
  24. data/spec/dummy/config/boot.rb +5 -0
  25. data/spec/dummy/config/cable.yml +10 -0
  26. data/spec/dummy/config/database.yml +85 -0
  27. data/spec/dummy/config/environment.rb +5 -0
  28. data/spec/dummy/config/environments/development.rb +57 -0
  29. data/spec/dummy/config/environments/production.rb +106 -0
  30. data/spec/dummy/config/environments/test.rb +41 -0
  31. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  32. data/spec/dummy/config/initializers/assets.rb +12 -0
  33. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
  35. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  36. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/spec/dummy/config/initializers/inflections.rb +16 -0
  38. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  39. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/spec/dummy/config/locales/en.yml +33 -0
  41. data/spec/dummy/config/puma.rb +35 -0
  42. data/spec/dummy/config/routes.rb +3 -0
  43. data/spec/dummy/config/spring.rb +6 -0
  44. data/spec/dummy/config/storage.yml +34 -0
  45. data/spec/dummy/db/migrate/20190930111315_create_test_containers.rb +9 -0
  46. data/spec/dummy/db/migrate/20190930120755_create_active_storage_tables.active_storage.rb +27 -0
  47. data/spec/dummy/db/schema.rb +66 -0
  48. data/spec/dummy/log/development.log +1167 -0
  49. data/spec/dummy/log/test.log +342 -0
  50. data/spec/dummy/public/404.html +67 -0
  51. data/spec/dummy/public/422.html +67 -0
  52. data/spec/dummy/public/500.html +66 -0
  53. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  54. data/spec/dummy/public/apple-touch-icon.png +0 -0
  55. data/spec/dummy/public/favicon.ico +0 -0
  56. data/spec/dummy/spec/models/test_container_spec.rb +5 -0
  57. data/spec/dummy/tmp/development_secret.txt +1 -0
  58. data/spec/models/cm_page_builder/rails/page_spec.rb +41 -0
  59. data/spec/rails_helper.rb +62 -0
  60. data/spec/spec_helper.rb +96 -0
  61. metadata +125 -3
@@ -0,0 +1,342 @@
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
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>