kms_seo 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/app/assets/javascripts/templates/help/seo_variables.html.slim +35 -0
- data/app/controllers/kms/pages_controller_decorator.rb +11 -0
- data/app/serializers/kms/page_serializer_decorator.rb +4 -0
- data/config/initializers/externals.rb +1 -1
- data/config/initializers/help.rb +1 -0
- data/config/locales/en.yml +9 -0
- data/config/locales/ru.yml +9 -0
- data/lib/generators/kms_seo/install/install_generator.rb +4 -0
- data/lib/kms/seo/version.rb +1 -1
- data/spec/drops/kms/seo_wrapper_drop_spec.rb +1 -1
- data/spec/internal/log/test.log +893 -0
- metadata +8 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a281bc9d4b55fe13bf041790079e3aa4c267072
|
4
|
+
data.tar.gz: 7824126b013a5d4b6ddab355c3b304ab42c09aba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 764681d438a7782fd559ce405151dfcc5715fd30a4c1251f455d5df422faffe065bc5dab4570d7855ecffac177e7acce36d56f2d09756f998271f6190215d5d8
|
7
|
+
data.tar.gz: 52d191c3564b41349adfd874fb6a1f3ef789c5f98268dee772648efb4a76dcdd4274239e7be6c52be6ed1ab450b7ffbb7e4d2cc0e0800ee61d07cdf61e3a64d4
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
##
|
1
|
+
## APIQ SEO
|
2
|
+
[![Build Status](https://travis-ci.org/apiqcms/kms_seo.svg?branch=master)](https://travis-ci.org/apiqcms/kms_seo)
|
2
3
|
|
3
|
-
Adds SEO support to
|
4
|
+
Adds SEO support to APIQ: additional fields for Pages (meta tags, h1), sitemap.xml generating, redirects, special {{ seo }} variable.
|
4
5
|
|
5
6
|
Use "seo" object for accessing SEO settings for page or object.
|
6
7
|
|
@@ -36,7 +37,7 @@ Also, this adds sitemap generation support (at /sitemap.xml)
|
|
36
37
|
|
37
38
|
bundle exec rails assets:precompile
|
38
39
|
|
39
|
-
6. Restart
|
40
|
+
6. Restart APIQ instance
|
40
41
|
|
41
42
|
## Contributing
|
42
43
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
h4 = I18n.t("liquor_help.variables_title")
|
2
|
+
p
|
3
|
+
ul
|
4
|
+
li
|
5
|
+
var seo
|
6
|
+
p
|
7
|
+
span = I18n.t('liquor_help.variables.seo.main_description')
|
8
|
+
p
|
9
|
+
code ng-non-bindable=''
|
10
|
+
| <title>{{ seo.title }}</title>
|
11
|
+
br
|
12
|
+
| <meta name="keywords" content="{{ seo.keywords }}">
|
13
|
+
br
|
14
|
+
| <meta name="description" content="{{ seo.description }}">
|
15
|
+
br
|
16
|
+
| ...
|
17
|
+
br
|
18
|
+
| <h1>{{ seo.h1 }}</h1>
|
19
|
+
p
|
20
|
+
table.table
|
21
|
+
tr
|
22
|
+
th #{ I18n.t('liquor_help.property') } seo
|
23
|
+
th = I18n.t('liquor_help.description')
|
24
|
+
tr
|
25
|
+
td title
|
26
|
+
td = I18n.t('liquor_help.variables.seo.properties.title')
|
27
|
+
tr
|
28
|
+
td keywords
|
29
|
+
td = I18n.t('liquor_help.variables.seo.properties.keywords')
|
30
|
+
tr
|
31
|
+
td description
|
32
|
+
td = I18n.t('liquor_help.variables.seo.properties.description')
|
33
|
+
tr
|
34
|
+
td h1
|
35
|
+
td = I18n.t('liquor_help.variables.seo.properties.h1')
|
@@ -1,3 +1,14 @@
|
|
1
1
|
Kms::PagesController.class_eval do
|
2
2
|
wrap_parameters :page, include: [:title, :slug, :content, :published, :template_id, :templatable,:templatable_type,:position,:hidden, :parent_id, :seo_title, :seo_keywords, :seo_description, :seo_h1]
|
3
|
+
|
4
|
+
protected
|
5
|
+
|
6
|
+
def page_params
|
7
|
+
params.require(:page).permit(
|
8
|
+
:title, :slug, :content,
|
9
|
+
:published, :hidden, :template_id, :parent_id,
|
10
|
+
:position, :templatable, :templatable_type,
|
11
|
+
:seo_title, :seo_keywords, :seo_description, :seo_h1
|
12
|
+
)
|
13
|
+
end
|
3
14
|
end
|
@@ -2,7 +2,7 @@ Kms::ExternalsRegistry.register(:seo) do |request, controller|
|
|
2
2
|
page = Kms::ExternalsRegistry.externals[:page].call(request, controller)
|
3
3
|
return nil unless page
|
4
4
|
if page.source.templatable?
|
5
|
-
item = page.source.fetch_item
|
5
|
+
item = page.source.fetch_item(File.basename(request.params[:path]))
|
6
6
|
Kms::SeoWrapper.new(item).to_drop
|
7
7
|
else
|
8
8
|
Kms::SeoWrapper.new(page.source).to_drop
|
@@ -0,0 +1 @@
|
|
1
|
+
Kms::HelpService.register_templates Kms::Seo::Engine, 'help/seo_variables.html'
|
data/config/locales/en.yml
CHANGED
@@ -2,6 +2,15 @@ en:
|
|
2
2
|
seo: "SEO"
|
3
3
|
add_redirect: "Add Redirect"
|
4
4
|
robots_txt: "Robots.txt"
|
5
|
+
liquor_help:
|
6
|
+
variables:
|
7
|
+
seo:
|
8
|
+
main_description: 'Object "seo" gives access to SEO properties of current page (or object). You can specify these properties in "SEO" section while editing your Page. If you have a Templatable Page (with enabled "Use as object template" option) and APIQ Models installed, you would probably want to have "title", "description" and etc. specified for each Model entry. And APIQ SEO still works for this: just follow a convention of adding special text fields to your Model: "seo_title", "seo_description", "seo_keywords" and "seo_h1" - and "seo" object for item/entry page will show you a content of these fields'
|
9
|
+
properties:
|
10
|
+
title: "Content for <title> tag"
|
11
|
+
keywords: "Content for <meta name='keywords'... tag"
|
12
|
+
description: "Content for <meta name='description'... tag"
|
13
|
+
h1: "Content for page main header (h1)"
|
5
14
|
activerecord:
|
6
15
|
models:
|
7
16
|
kms/redirect:
|
data/config/locales/ru.yml
CHANGED
@@ -2,6 +2,15 @@ ru:
|
|
2
2
|
seo: "SEO"
|
3
3
|
add_redirect: "Добавить редирект"
|
4
4
|
robots_txt: "Robots.txt"
|
5
|
+
liquor_help:
|
6
|
+
variables:
|
7
|
+
seo:
|
8
|
+
main_description: 'Объект "seo" предоставляет доступ к SEO-свойствам текущей страницы (или объекта). Эти свойства вы можете задать при редактировании страницы в разделе "SEO". Если у вас есть Страница-шаблон (со включенной опцией "Использовать как шаблон" и выбранным объектом) и установлено расширение APIQ Models, вы вероятно хотели бы иметь "title", "description" и остальные свойства для каждого элемента Модели. И APIQ SEO учитывает это: просто следуйте соглашению добавив текстовые поля в вашу Модель: "seo_title", "seo_description", "seo_keywords" and "seo_h1" - и объект "seo" для страницы элемента Модели отобразит содержимое этих полей'
|
9
|
+
properties:
|
10
|
+
title: "Содержимое тэга <title>"
|
11
|
+
keywords: "Содержимое тэга <meta name='keywords'..."
|
12
|
+
description: "Содержимое тэга <meta name='description'..."
|
13
|
+
h1: "Содержимое основного заголовка страницы (h1)"
|
5
14
|
activerecord:
|
6
15
|
models:
|
7
16
|
kms/redirect:
|
data/lib/kms/seo/version.rb
CHANGED
@@ -4,7 +4,7 @@ module Kms
|
|
4
4
|
describe SeoWrapperDrop do
|
5
5
|
let!(:page) { FactoryGirl.create(:page) }
|
6
6
|
|
7
|
-
let(:request) { ActionController::TestRequest.new({host: 'example.com', "rack.input" => "wtf"}, ActionController::TestRequest.new_session) }
|
7
|
+
let(:request) { ActionController::TestRequest.new({host: 'example.com', "rack.input" => "wtf"}, ActionController::TestRequest.new_session, Kms::Public::PagesController) }
|
8
8
|
let(:controller) do
|
9
9
|
controller = Kms::Public::PagesController.new
|
10
10
|
controller.request = request
|
data/spec/internal/log/test.log
CHANGED
@@ -4281,3 +4281,896 @@ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
|
4281
4281
|
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
4282
4282
|
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4283
4283
|
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
|
4284
|
+
[1m[35m (234.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "kms_test"[0m
|
4285
|
+
[1m[35m (631.5ms)[0m [1m[35mCREATE DATABASE "kms_test" ENCODING = 'utf-8'[0m
|
4286
|
+
[1m[35m (29.5ms)[0m [1m[35mCREATE TABLE "kms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "content" text DEFAULT '', "published" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "template_id" integer, "ancestry" character varying, "fullpath" character varying, "templatable" boolean DEFAULT 'f', "templatable_type" character varying, "hidden" boolean DEFAULT 'f', "position" integer DEFAULT 0 NOT NULL)[0m
|
4287
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_kms_pages_on_ancestry" ON "kms_pages" USING btree ("ancestry")[0m
|
4288
|
+
[1m[35m (28.4ms)[0m [1m[35mCREATE TABLE "kms_settings" ("id" serial primary key, "values" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4289
|
+
[1m[35m (21.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4290
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4291
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4292
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-08-08 08:13:49 UTC], ["updated_at", 2017-08-08 08:13:49 UTC]]
|
4293
|
+
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
|
4294
|
+
[1m[35m (27.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
4295
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(7029803947170562740);[0m
|
4296
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4297
|
+
Migrating to AddSeoFieldsToPages (20150727192219)
|
4298
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4299
|
+
[1m[35m (1.3ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_title" character varying[0m
|
4300
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_keywords" character varying[0m
|
4301
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_description" character varying[0m
|
4302
|
+
[1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150727192219"]]
|
4303
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
4304
|
+
Migrating to CreateRedirects (20150903135219)
|
4305
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
4306
|
+
[1m[35m (23.8ms)[0m [1m[35mCREATE TABLE "kms_redirects" ("id" serial primary key, "source" character varying, "destination" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
4307
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150903135219"]]
|
4308
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
4309
|
+
Migrating to AddSeoH1ToPages (20170202090601)
|
4310
|
+
[1m[35m (11.4ms)[0m [1m[35mBEGIN[0m
|
4311
|
+
[1m[35m (7.2ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_h1" character varying[0m
|
4312
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170202090601"]]
|
4313
|
+
[1m[35m (3.8ms)[0m [1m[35mCOMMIT[0m
|
4314
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4315
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4316
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
4317
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(7029803947170562740)[0m
|
4318
|
+
[1m[36mKms::Page Load (0.9ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages"[0m
|
4319
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
4320
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4321
|
+
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4322
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC]]
|
4323
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4324
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4325
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:13:50 UTC], ["id", 1]]
|
4326
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4327
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4328
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4329
|
+
Rendering text template
|
4330
|
+
Rendered text template (0.0ms)
|
4331
|
+
Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.4ms)
|
4332
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4333
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
4334
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4335
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4336
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4337
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC]]
|
4338
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4339
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4340
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:13:50 UTC], ["id", 2]]
|
4341
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4342
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4343
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4344
|
+
Rendering text template
|
4345
|
+
Rendered text template (0.0ms)
|
4346
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
4347
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4348
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4349
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4350
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4351
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4352
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4353
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4354
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4355
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4356
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4357
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4358
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4359
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4360
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4361
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4362
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4363
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4364
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4365
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4366
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4367
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4368
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4369
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4370
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4371
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4372
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4373
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4374
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4375
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4376
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4377
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4378
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4379
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4380
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4381
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4382
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4383
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4384
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4385
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4386
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4387
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4388
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4389
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4390
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4391
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4392
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4393
|
+
[1m[36mKms::Page Load (0.6ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4394
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
4395
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4396
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4397
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4398
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
4399
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4400
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
4401
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4402
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
4403
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4404
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4405
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4406
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4407
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4408
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4409
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4410
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4411
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4412
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4413
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4414
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4415
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4416
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4417
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4418
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4419
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4420
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4421
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4422
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4423
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4424
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4425
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4426
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4427
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4428
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:13:50 UTC], ["updated_at", 2017-08-08 08:13:50 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4429
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4430
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4431
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4432
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4433
|
+
[1m[35m (214.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "kms_test"[0m
|
4434
|
+
[1m[35m (567.0ms)[0m [1m[35mCREATE DATABASE "kms_test" ENCODING = 'utf-8'[0m
|
4435
|
+
[1m[35m (26.1ms)[0m [1m[35mCREATE TABLE "kms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "content" text DEFAULT '', "published" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "template_id" integer, "ancestry" character varying, "fullpath" character varying, "templatable" boolean DEFAULT 'f', "templatable_type" character varying, "hidden" boolean DEFAULT 'f', "position" integer DEFAULT 0 NOT NULL)[0m
|
4436
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE INDEX "index_kms_pages_on_ancestry" ON "kms_pages" USING btree ("ancestry")[0m
|
4437
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "kms_settings" ("id" serial primary key, "values" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4438
|
+
[1m[35m (16.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4439
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4440
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4441
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-08-08 08:27:33 UTC], ["updated_at", 2017-08-08 08:27:33 UTC]]
|
4442
|
+
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
|
4443
|
+
[1m[35m (20.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
4444
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(7029803947170562740);[0m
|
4445
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4446
|
+
Migrating to AddSeoFieldsToPages (20150727192219)
|
4447
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4448
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_title" character varying[0m
|
4449
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_keywords" character varying[0m
|
4450
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_description" character varying[0m
|
4451
|
+
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150727192219"]]
|
4452
|
+
[1m[35m (6.5ms)[0m [1m[35mCOMMIT[0m
|
4453
|
+
Migrating to CreateRedirects (20150903135219)
|
4454
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4455
|
+
[1m[35m (16.9ms)[0m [1m[35mCREATE TABLE "kms_redirects" ("id" serial primary key, "source" character varying, "destination" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
4456
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150903135219"]]
|
4457
|
+
[1m[35m (5.2ms)[0m [1m[35mCOMMIT[0m
|
4458
|
+
Migrating to AddSeoH1ToPages (20170202090601)
|
4459
|
+
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
|
4460
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_h1" character varying[0m
|
4461
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170202090601"]]
|
4462
|
+
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
|
4463
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4464
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
4465
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
4466
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(7029803947170562740)[0m
|
4467
|
+
[1m[36mKms::Page Load (1.0ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages"[0m
|
4468
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
4469
|
+
[1m[36mKms::Settings Load (0.6ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4470
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4471
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:27:33 UTC], ["updated_at", 2017-08-08 08:27:33 UTC]]
|
4472
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4473
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4474
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:27:33 UTC], ["id", 1]]
|
4475
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4476
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4477
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4478
|
+
Rendering text template
|
4479
|
+
Rendered text template (0.0ms)
|
4480
|
+
Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.5ms)
|
4481
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4482
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
4483
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4484
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4485
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4486
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:27:33 UTC], ["updated_at", 2017-08-08 08:27:33 UTC]]
|
4487
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4488
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4489
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:27:33 UTC], ["id", 2]]
|
4490
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4491
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4492
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4493
|
+
Rendering text template
|
4494
|
+
Rendered text template (0.0ms)
|
4495
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
4496
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4497
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4498
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4499
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4500
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4501
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:33 UTC], ["updated_at", 2017-08-08 08:27:33 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4502
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4503
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4504
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4505
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4506
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4507
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4508
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:33 UTC], ["updated_at", 2017-08-08 08:27:33 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4509
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4510
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4511
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4512
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
4513
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4514
|
+
[1m[36mKms::Page Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4515
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4516
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:33 UTC], ["updated_at", 2017-08-08 08:27:33 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4517
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4518
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4519
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
4520
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4521
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4522
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4523
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4524
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4525
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4526
|
+
[1m[36mKms::Page Load (0.7ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4527
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4528
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4529
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4530
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4531
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4532
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4533
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4534
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4535
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4536
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4537
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4538
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4539
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4540
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4541
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4542
|
+
[1m[36mKms::Page Load (0.6ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4543
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4544
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4545
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4546
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4547
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4548
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4549
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4550
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4551
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4552
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4553
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4554
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4555
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4556
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4557
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4558
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4559
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4560
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4561
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4562
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4563
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4564
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4565
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4566
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4567
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4568
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4569
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4570
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4571
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4572
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4573
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4574
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4575
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4576
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4577
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:27:34 UTC], ["updated_at", 2017-08-08 08:27:34 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4578
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4579
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4580
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4581
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4582
|
+
[1m[35m (196.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "kms_test"[0m
|
4583
|
+
[1m[35m (380.7ms)[0m [1m[35mCREATE DATABASE "kms_test" ENCODING = 'utf-8'[0m
|
4584
|
+
[1m[35m (26.9ms)[0m [1m[35mCREATE TABLE "kms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "content" text DEFAULT '', "published" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "template_id" integer, "ancestry" character varying, "fullpath" character varying, "templatable" boolean DEFAULT 'f', "templatable_type" character varying, "hidden" boolean DEFAULT 'f', "position" integer DEFAULT 0 NOT NULL)[0m
|
4585
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_kms_pages_on_ancestry" ON "kms_pages" USING btree ("ancestry")[0m
|
4586
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "kms_settings" ("id" serial primary key, "values" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4587
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4588
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4589
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
4590
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-08-08 08:29:29 UTC], ["updated_at", 2017-08-08 08:29:29 UTC]]
|
4591
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
4592
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
4593
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(7029803947170562740);[0m
|
4594
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4595
|
+
Migrating to AddSeoFieldsToPages (20150727192219)
|
4596
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4597
|
+
[1m[35m (5.9ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_title" character varying[0m
|
4598
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_keywords" character varying[0m
|
4599
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_description" character varying[0m
|
4600
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150727192219"]]
|
4601
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
4602
|
+
Migrating to CreateRedirects (20150903135219)
|
4603
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4604
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "kms_redirects" ("id" serial primary key, "source" character varying, "destination" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
4605
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150903135219"]]
|
4606
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
4607
|
+
Migrating to AddSeoH1ToPages (20170202090601)
|
4608
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
4609
|
+
[1m[35m (1.0ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_h1" character varying[0m
|
4610
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170202090601"]]
|
4611
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
4612
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4613
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4614
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
4615
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(7029803947170562740)[0m
|
4616
|
+
[1m[36mKms::Page Load (2.4ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages"[0m
|
4617
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
4618
|
+
[1m[36mKms::Settings Load (0.8ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4619
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4620
|
+
[1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:29:29 UTC], ["updated_at", 2017-08-08 08:29:29 UTC]]
|
4621
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4622
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4623
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:29:29 UTC], ["id", 1]]
|
4624
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4625
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4626
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4627
|
+
Rendering text template
|
4628
|
+
Rendered text template (0.0ms)
|
4629
|
+
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.4ms)
|
4630
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4631
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
4632
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4633
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4634
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4635
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:29:29 UTC], ["updated_at", 2017-08-08 08:29:29 UTC]]
|
4636
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4637
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4638
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:29:29 UTC], ["id", 2]]
|
4639
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4640
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4641
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4642
|
+
Rendering text template
|
4643
|
+
Rendered text template (0.0ms)
|
4644
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
4645
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
4646
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4647
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4648
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4649
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4650
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:29 UTC], ["updated_at", 2017-08-08 08:29:29 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4651
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4652
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4653
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4654
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4655
|
+
[1m[36mKms::Page Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4656
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4657
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4658
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4659
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4660
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4661
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4662
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4663
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4664
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4665
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4666
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4667
|
+
[1m[36mKms::Page Load (0.7ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4668
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
4669
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4670
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4671
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4672
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4673
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4674
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4675
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4676
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4677
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4678
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4679
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4680
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4681
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4682
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4683
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4684
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4685
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4686
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4687
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4688
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4689
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4690
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4691
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4692
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4693
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4694
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4695
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4696
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4697
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4698
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4699
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4700
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4701
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4702
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4703
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4704
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4705
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4706
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4707
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4708
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4709
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4710
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4711
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4712
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4713
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4714
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4715
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4716
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4717
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4718
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4719
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4720
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4721
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4722
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4723
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4724
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4725
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4726
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:29:30 UTC], ["updated_at", 2017-08-08 08:29:30 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4727
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4728
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4729
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4730
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4731
|
+
[1m[35m (221.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "kms_test"[0m
|
4732
|
+
[1m[35m (748.9ms)[0m [1m[35mCREATE DATABASE "kms_test" ENCODING = 'utf-8'[0m
|
4733
|
+
[1m[35m (29.0ms)[0m [1m[35mCREATE TABLE "kms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "content" text DEFAULT '', "published" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "template_id" integer, "ancestry" character varying, "fullpath" character varying, "templatable" boolean DEFAULT 'f', "templatable_type" character varying, "hidden" boolean DEFAULT 'f', "position" integer DEFAULT 0 NOT NULL)[0m
|
4734
|
+
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_kms_pages_on_ancestry" ON "kms_pages" USING btree ("ancestry")[0m
|
4735
|
+
[1m[35m (24.7ms)[0m [1m[35mCREATE TABLE "kms_settings" ("id" serial primary key, "values" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4736
|
+
[1m[35m (21.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4737
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4738
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4739
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-08-08 08:46:42 UTC], ["updated_at", 2017-08-08 08:46:42 UTC]]
|
4740
|
+
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
|
4741
|
+
[1m[35m (21.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
4742
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(7029803947170562740);[0m
|
4743
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4744
|
+
Migrating to AddSeoFieldsToPages (20150727192219)
|
4745
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4746
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_title" character varying[0m
|
4747
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_keywords" character varying[0m
|
4748
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_description" character varying[0m
|
4749
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150727192219"]]
|
4750
|
+
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
|
4751
|
+
Migrating to CreateRedirects (20150903135219)
|
4752
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4753
|
+
[1m[35m (16.2ms)[0m [1m[35mCREATE TABLE "kms_redirects" ("id" serial primary key, "source" character varying, "destination" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
4754
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150903135219"]]
|
4755
|
+
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
|
4756
|
+
Migrating to AddSeoH1ToPages (20170202090601)
|
4757
|
+
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
|
4758
|
+
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_h1" character varying[0m
|
4759
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170202090601"]]
|
4760
|
+
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
|
4761
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
4762
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4763
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
4764
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(7029803947170562740)[0m
|
4765
|
+
[1m[36mKms::Page Load (1.2ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages"[0m
|
4766
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4767
|
+
[1m[36mKms::Settings Load (0.7ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4768
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4769
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC]]
|
4770
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4771
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4772
|
+
[1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:46:43 UTC], ["id", 1]]
|
4773
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4774
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4775
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4776
|
+
Rendering text template
|
4777
|
+
Rendered text template (0.0ms)
|
4778
|
+
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.4ms)
|
4779
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4780
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
4781
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4782
|
+
[1m[36mKms::Settings Load (0.4ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4783
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4784
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC]]
|
4785
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4786
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4787
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", 2017-08-08 08:46:43 UTC], ["id", 2]]
|
4788
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4789
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4790
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4791
|
+
Rendering text template
|
4792
|
+
Rendered text template (0.0ms)
|
4793
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
4794
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
4795
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4796
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4797
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4798
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4799
|
+
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4800
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4801
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4802
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4803
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4804
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4805
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4806
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4807
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4808
|
+
[1m[36mKms::Page Load (0.8ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4809
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4810
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4811
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4812
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4813
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4814
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4815
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4816
|
+
[1m[36mKms::Page Load (0.6ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4817
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
4818
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4819
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4820
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4821
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4822
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4823
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4824
|
+
[1m[36mKms::Page Load (0.5ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4825
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4826
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4827
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4828
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4829
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4830
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4831
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4832
|
+
[1m[36mKms::Page Load (0.7ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4833
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4834
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4835
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4836
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4837
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4838
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4839
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4840
|
+
[1m[36mKms::Page Load (0.7ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", true], ["fullpath", ""], ["LIMIT", 1]]
|
4841
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4842
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4843
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4844
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4845
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4846
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4847
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4848
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4849
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4850
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4851
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4852
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4853
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4854
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4855
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4856
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4857
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4858
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4859
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4860
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4861
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4862
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4863
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4864
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4865
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4866
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4867
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4868
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4869
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4870
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4871
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4872
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4873
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4874
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4875
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", true], ["created_at", 2017-08-08 08:46:43 UTC], ["updated_at", 2017-08-08 08:46:43 UTC], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4876
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4877
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4878
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4879
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4880
|
+
[1m[35m (195.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "kms_test"[0m
|
4881
|
+
[1m[35m (571.1ms)[0m [1m[35mCREATE DATABASE "kms_test" ENCODING = 'utf-8'[0m
|
4882
|
+
[1m[35m (2.0ms)[0m [1m[35mDROP TABLE IF EXISTS "kms_pages" CASCADE[0m
|
4883
|
+
[1m[35m (10.2ms)[0m [1m[35mCREATE TABLE "kms_pages" ("id" bigserial primary key, "title" character varying, "slug" character varying, "content" text DEFAULT '', "published" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "template_id" integer, "ancestry" character varying, "fullpath" character varying, "templatable" boolean DEFAULT 'f', "templatable_type" character varying, "hidden" boolean DEFAULT 'f', "position" integer DEFAULT 0 NOT NULL)[0m
|
4884
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_kms_pages_on_ancestry" ON "kms_pages" USING btree ("ancestry")[0m
|
4885
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "kms_settings" CASCADE[0m
|
4886
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "kms_settings" ("id" bigserial primary key, "values" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4887
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
4888
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
4889
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4890
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 08:48:58.096949"], ["updated_at", "2017-08-08 08:48:58.096949"]]
|
4891
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
4892
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
4893
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(7029803947170562740)[0m
|
4894
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4895
|
+
Migrating to AddSeoFieldsToPages (20150727192219)
|
4896
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4897
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_title" character varying[0m
|
4898
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_keywords" character varying[0m
|
4899
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_description" character varying[0m
|
4900
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150727192219"]]
|
4901
|
+
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
|
4902
|
+
Migrating to CreateRedirects (20150903135219)
|
4903
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4904
|
+
[1m[35m (15.9ms)[0m [1m[35mCREATE TABLE "kms_redirects" ("id" serial NOT NULL PRIMARY KEY, "source" character varying, "destination" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
4905
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150903135219"]]
|
4906
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
4907
|
+
Migrating to AddSeoH1ToPages (20170202090601)
|
4908
|
+
[1m[35m (6.3ms)[0m [1m[35mBEGIN[0m
|
4909
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_h1" character varying[0m
|
4910
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170202090601"]]
|
4911
|
+
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
|
4912
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
4913
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4914
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
4915
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(7029803947170562740)[0m
|
4916
|
+
[1m[36mKms::Page Load (0.9ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages"[0m
|
4917
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4918
|
+
[1m[36mKms::Settings Load (0.6ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4919
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4920
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2017-08-08 08:48:58.663084"], ["updated_at", "2017-08-08 08:48:58.663084"]]
|
4921
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4922
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4923
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", "2017-08-08 08:48:58.666896"], ["id", 1]]
|
4924
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4925
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4926
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4927
|
+
Rendering text template
|
4928
|
+
Rendered text template (0.0ms)
|
4929
|
+
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.5ms)
|
4930
|
+
[1m[36mKms::Settings Load (1.1ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4931
|
+
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
|
4932
|
+
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
|
4933
|
+
[1m[36mKms::Settings Load (16.1ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4934
|
+
[1m[35m (2.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4935
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2017-08-08 08:48:58.712805"], ["updated_at", "2017-08-08 08:48:58.712805"]]
|
4936
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4937
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4938
|
+
[1m[35mSQL (0.8ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", "2017-08-08 08:48:58.716961"], ["id", 2]]
|
4939
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4940
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
4941
|
+
[1m[36mKms::Settings Load (0.8ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
4942
|
+
Rendering text template
|
4943
|
+
Rendered text template (0.0ms)
|
4944
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.8ms)
|
4945
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
4946
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
4947
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4948
|
+
[1m[36mKms::Page Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4949
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4950
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:58.956545"], ["updated_at", "2017-08-08 08:48:58.956545"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4951
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4952
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4953
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4954
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4955
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4956
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4957
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:58.969093"], ["updated_at", "2017-08-08 08:48:58.969093"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4958
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4959
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4960
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4961
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4962
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4963
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4964
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:58.978284"], ["updated_at", "2017-08-08 08:48:58.978284"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4965
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4966
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4967
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4968
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4969
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4970
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4971
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:58.987980"], ["updated_at", "2017-08-08 08:48:58.987980"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4972
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4973
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4974
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4975
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4976
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4977
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4978
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:58.998189"], ["updated_at", "2017-08-08 08:48:58.998189"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4979
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4980
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4981
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4982
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4983
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4984
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
4985
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:59.010063"], ["updated_at", "2017-08-08 08:48:59.010063"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
4986
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4987
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
4988
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4989
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4990
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4991
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4992
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4993
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
4994
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4995
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
4996
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4997
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4998
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
4999
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5000
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:59.027185"], ["updated_at", "2017-08-08 08:48:59.027185"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5001
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5002
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5003
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5004
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5005
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5006
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5007
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:59.038562"], ["updated_at", "2017-08-08 08:48:59.038562"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5008
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5009
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5010
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5011
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5012
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5013
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5014
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:59.050056"], ["updated_at", "2017-08-08 08:48:59.050056"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5015
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5016
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5017
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5018
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5019
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5020
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5021
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 08:48:59.061040"], ["updated_at", "2017-08-08 08:48:59.061040"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5022
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5023
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5024
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5025
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5026
|
+
[1m[35m (212.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "kms_test"[0m
|
5027
|
+
[1m[35m (605.9ms)[0m [1m[35mCREATE DATABASE "kms_test" ENCODING = 'utf-8'[0m
|
5028
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "kms_pages" CASCADE[0m
|
5029
|
+
[1m[35m (13.8ms)[0m [1m[35mCREATE TABLE "kms_pages" ("id" bigserial primary key, "title" character varying, "slug" character varying, "content" text DEFAULT '', "published" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "template_id" integer, "ancestry" character varying, "fullpath" character varying, "templatable" boolean DEFAULT 'f', "templatable_type" character varying, "hidden" boolean DEFAULT 'f', "position" integer DEFAULT 0 NOT NULL)[0m
|
5030
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "index_kms_pages_on_ancestry" ON "kms_pages" USING btree ("ancestry")[0m
|
5031
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "kms_settings" CASCADE[0m
|
5032
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "kms_settings" ("id" bigserial primary key, "values" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
5033
|
+
[1m[35m (21.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
5034
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
5035
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
5036
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 09:00:39.315365"], ["updated_at", "2017-08-08 09:00:39.315365"]]
|
5037
|
+
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
|
5038
|
+
[1m[35m (22.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
5039
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(7029803947170562740)[0m
|
5040
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5041
|
+
Migrating to AddSeoFieldsToPages (20150727192219)
|
5042
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5043
|
+
[1m[35m (1.0ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_title" character varying[0m
|
5044
|
+
[1m[35m (1.1ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_keywords" character varying[0m
|
5045
|
+
[1m[35m (1.2ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_description" character varying[0m
|
5046
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150727192219"]]
|
5047
|
+
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
|
5048
|
+
Migrating to CreateRedirects (20150903135219)
|
5049
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5050
|
+
[1m[35m (16.9ms)[0m [1m[35mCREATE TABLE "kms_redirects" ("id" serial NOT NULL PRIMARY KEY, "source" character varying, "destination" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
5051
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20150903135219"]]
|
5052
|
+
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
|
5053
|
+
Migrating to AddSeoH1ToPages (20170202090601)
|
5054
|
+
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
|
5055
|
+
[1m[35m (1.0ms)[0m [1m[35mALTER TABLE "kms_pages" ADD "seo_h1" character varying[0m
|
5056
|
+
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170202090601"]]
|
5057
|
+
[1m[35m (11.7ms)[0m [1m[35mCOMMIT[0m
|
5058
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
5059
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5060
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
5061
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(7029803947170562740)[0m
|
5062
|
+
[1m[36mKms::Page Load (2.0ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages"[0m
|
5063
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5064
|
+
[1m[36mKms::Settings Load (0.8ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5065
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5066
|
+
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2017-08-08 09:00:40.030717"], ["updated_at", "2017-08-08 09:00:40.030717"]]
|
5067
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5068
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5069
|
+
[1m[35mSQL (0.8ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", "2017-08-08 09:00:40.035931"], ["id", 1]]
|
5070
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5071
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
5072
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5073
|
+
Rendering text template
|
5074
|
+
Rendered text template (0.0ms)
|
5075
|
+
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.5ms)
|
5076
|
+
[1m[36mKms::Settings Load (0.6ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5077
|
+
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
|
5078
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5079
|
+
[1m[36mKms::Settings Load (0.8ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5080
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5081
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "kms_settings" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2017-08-08 09:00:40.063117"], ["updated_at", "2017-08-08 09:00:40.063117"]]
|
5082
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5083
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5084
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "kms_settings" SET "values" = $1, "updated_at" = $2 WHERE "kms_settings"."id" = $3[0m [["values", "{\"robots\":\"User-agent: *\"}"], ["updated_at", "2017-08-08 09:00:40.065812"], ["id", 2]]
|
5085
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5086
|
+
Processing by Kms::Public::RobotsController#show as TEXT
|
5087
|
+
[1m[36mKms::Settings Load (0.5ms)[0m [1m[34mSELECT "kms_settings".* FROM "kms_settings" ORDER BY "kms_settings"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5088
|
+
Rendering text template
|
5089
|
+
Rendered text template (0.0ms)
|
5090
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
5091
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5092
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5093
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5094
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5095
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5096
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.307516"], ["updated_at", "2017-08-08 09:00:40.307516"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5097
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5098
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5099
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5100
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5101
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5102
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5103
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.320598"], ["updated_at", "2017-08-08 09:00:40.320598"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5104
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5105
|
+
[1m[36mKms::Page Load (1.0ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", "t"], ["fullpath", ""], ["LIMIT", 1]]
|
5106
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5107
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5108
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5109
|
+
[1m[36mKms::Page Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5110
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5111
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.337977"], ["updated_at", "2017-08-08 09:00:40.337977"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5112
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5113
|
+
[1m[36mKms::Page Load (0.6ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", "t"], ["fullpath", ""], ["LIMIT", 1]]
|
5114
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5115
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5116
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5117
|
+
[1m[36mKms::Page Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5118
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5119
|
+
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.354301"], ["updated_at", "2017-08-08 09:00:40.354301"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5120
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5121
|
+
[1m[36mKms::Page Load (0.6ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", "t"], ["fullpath", ""], ["LIMIT", 1]]
|
5122
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5123
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5124
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5125
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5126
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5127
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.369847"], ["updated_at", "2017-08-08 09:00:40.369847"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5128
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5129
|
+
[1m[36mKms::Page Load (0.9ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", "t"], ["fullpath", ""], ["LIMIT", 1]]
|
5130
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
5131
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
5132
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5133
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5134
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5135
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.386376"], ["updated_at", "2017-08-08 09:00:40.386376"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5136
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5137
|
+
[1m[36mKms::Page Load (0.7ms)[0m [1m[34mSELECT "kms_pages".* FROM "kms_pages" WHERE "kms_pages"."published" = $1 AND "kms_pages"."fullpath" = $2 LIMIT $3[0m [["published", "t"], ["fullpath", ""], ["LIMIT", 1]]
|
5138
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5139
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
5140
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5141
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5142
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5143
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5144
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5145
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
5146
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
5147
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5148
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5149
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5150
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5151
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.413258"], ["updated_at", "2017-08-08 09:00:40.413258"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5152
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5153
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
5154
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
5155
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5156
|
+
[1m[36mKms::Page Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5157
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5158
|
+
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.426120"], ["updated_at", "2017-08-08 09:00:40.426120"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5159
|
+
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5160
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5161
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
5162
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5163
|
+
[1m[36mKms::Page Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5164
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5165
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.443308"], ["updated_at", "2017-08-08 09:00:40.443308"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5166
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5167
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5168
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5169
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5170
|
+
[1m[36mKms::Page Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "kms_pages" WHERE "kms_pages"."slug" = $1 LIMIT $2[0m [["slug", "index"], ["LIMIT", 1]]
|
5171
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT MAX("kms_pages"."position") FROM "kms_pages" WHERE (ancestry IS NULL)[0m
|
5172
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "kms_pages" ("title", "slug", "published", "created_at", "updated_at", "fullpath", "seo_title", "seo_keywords", "seo_description", "seo_h1") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["title", "Home"], ["slug", "index"], ["published", "t"], ["created_at", "2017-08-08 09:00:40.457904"], ["updated_at", "2017-08-08 09:00:40.457904"], ["fullpath", ""], ["seo_title", "Home"], ["seo_keywords", "home, page"], ["seo_description", "Home Page"], ["seo_h1", "Home Page"]]
|
5173
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5174
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
5175
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5176
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|