micro_cms 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +74 -0
- data/Rakefile +24 -0
- data/app/assets/config/micro_cms_manifest.js +1 -0
- data/app/assets/javascripts/micro_cms.js +51 -0
- data/app/assets/stylesheets/micro_cms/micro_cms.css +30 -0
- data/app/controllers/micro_cms/application_controller.rb +7 -0
- data/app/controllers/micro_cms/content_block_controller.rb +31 -0
- data/app/helpers/micro_cms/application_helper.rb +6 -0
- data/app/helpers/micro_cms/cms_block_helper.rb +28 -0
- data/app/models/micro_cms/application_record.rb +7 -0
- data/app/models/micro_cms/content_block.rb +26 -0
- data/app/views/micro_cms/_content_block.html.erb +19 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20190923103919_create_micro_cms_content_blocks.rb +12 -0
- data/lib/micro_cms.rb +15 -0
- data/lib/micro_cms/engine.rb +25 -0
- data/lib/micro_cms/version.rb +5 -0
- data/spec/dummy/Rakefile +8 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +6 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +6 -0
- data/spec/dummy/app/controllers/application_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +4 -0
- data/spec/dummy/app/javascript/packs/application.js +15 -0
- data/spec/dummy/app/jobs/application_job.rb +9 -0
- data/spec/dummy/app/mailers/application_mailer.rb +6 -0
- data/spec/dummy/app/models/application_record.rb +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/rails +11 -0
- data/spec/dummy/bin/rake +11 -0
- data/spec/dummy/bin/rspec +8 -0
- data/spec/dummy/bin/setup +35 -0
- data/spec/dummy/bin/spring +17 -0
- data/spec/dummy/config.ru +7 -0
- data/spec/dummy/config/application.rb +31 -0
- data/spec/dummy/config/boot.rb +7 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +7 -0
- data/spec/dummy/config/environments/development.rb +64 -0
- data/spec/dummy/config/environments/production.rb +114 -0
- data/spec/dummy/config/environments/test.rb +50 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +10 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +9 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +30 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/spec/dummy/config/initializers/inflections.rb +18 -0
- data/spec/dummy/config/initializers/mime_types.rb +6 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +16 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +40 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/config/spring.rb +8 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20190923150252_create_micro_cms_content_blocks.micro_cms.rb +13 -0
- data/spec/dummy/db/schema.rb +22 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1 -0
- data/spec/dummy/log/test.log +478 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/engine/micro_cms_spec.rb +9 -0
- data/spec/examples.txt +28 -0
- data/spec/factories/micro_cms/content_blocks.rb +8 -0
- data/spec/helpers/micro_cms/cms_block_helper_spec.rb +138 -0
- data/spec/models/micro_cms/content_block_spec.rb +62 -0
- data/spec/rails_helper.rb +75 -0
- data/spec/requests/micro_cms/content_block_controller_spec.rb +57 -0
- data/spec/routing/micro_cms/content_blocks_routing_spec.rb +17 -0
- data/spec/spec_helper.rb +43 -0
- data/spec/support/shared_examples/cms_block_helper_spec_helper.rb +9 -0
- data/spec/views/micro_cms/content_block_spec.rb +25 -0
- metadata +250 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# The test environment is used exclusively to run your application's
|
4
|
+
# test suite. You never need to work with it otherwise. Remember that
|
5
|
+
# your test database is "scratch space" for the test suite and is wiped
|
6
|
+
# and recreated between test runs. Don't rely on the data there!
|
7
|
+
|
8
|
+
Rails.application.configure do
|
9
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
10
|
+
|
11
|
+
config.cache_classes = false
|
12
|
+
|
13
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
14
|
+
# just for the purpose of running a single test. If you are using a tool that
|
15
|
+
# preloads Rails for running tests, you may have to set it to true.
|
16
|
+
config.eager_load = false
|
17
|
+
|
18
|
+
# Configure public file server for tests with Cache-Control for performance.
|
19
|
+
config.public_file_server.enabled = true
|
20
|
+
config.public_file_server.headers = {
|
21
|
+
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
22
|
+
}
|
23
|
+
|
24
|
+
# Show full error reports and disable caching.
|
25
|
+
config.consider_all_requests_local = true
|
26
|
+
config.action_controller.perform_caching = false
|
27
|
+
config.cache_store = :null_store
|
28
|
+
|
29
|
+
# Raise exceptions instead of rendering exception templates.
|
30
|
+
config.action_dispatch.show_exceptions = false
|
31
|
+
|
32
|
+
# Disable request forgery protection in test environment.
|
33
|
+
config.action_controller.allow_forgery_protection = false
|
34
|
+
|
35
|
+
# Store uploaded files on the local file system in a temporary directory.
|
36
|
+
config.active_storage.service = :test
|
37
|
+
|
38
|
+
config.action_mailer.perform_caching = false
|
39
|
+
|
40
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
41
|
+
# The :test delivery method accumulates sent emails in the
|
42
|
+
# ActionMailer::Base.deliveries array.
|
43
|
+
config.action_mailer.delivery_method = :test
|
44
|
+
|
45
|
+
# Print deprecation notices to the stderr.
|
46
|
+
config.active_support.deprecation = :stderr
|
47
|
+
|
48
|
+
# Raises error for missing translations.
|
49
|
+
# config.action_view.raise_on_missing_translations = true
|
50
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Version of your assets, change this if you want to expire all your assets.
|
6
|
+
Rails.application.config.assets.version = '1.0'
|
7
|
+
|
8
|
+
# Add additional assets to the asset load path.
|
9
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
10
|
+
|
11
|
+
# Precompile additional assets.
|
12
|
+
# application.js, application.css, and all non-JS/CSS in the app/assets
|
13
|
+
# folder are already added.
|
14
|
+
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
6
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
7
|
+
|
8
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
9
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Define an application-wide content security policy
|
6
|
+
# For further information see the following documentation
|
7
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
8
|
+
|
9
|
+
# Rails.application.config.content_security_policy do |policy|
|
10
|
+
# policy.default_src :self, :https
|
11
|
+
# policy.font_src :self, :https, :data
|
12
|
+
# policy.img_src :self, :https, :data
|
13
|
+
# policy.object_src :none
|
14
|
+
# policy.script_src :self, :https
|
15
|
+
# policy.style_src :self, :https
|
16
|
+
|
17
|
+
# # Specify URI for violation reports
|
18
|
+
# # policy.report_uri "/csp-violation-report-endpoint"
|
19
|
+
# end
|
20
|
+
|
21
|
+
# If you are using UJS then enable automatic nonce generation
|
22
|
+
# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
|
23
|
+
|
24
|
+
# Set the nonce only to specific directives
|
25
|
+
# Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
|
26
|
+
|
27
|
+
# Report CSP violations to a specified URI
|
28
|
+
# For further information see the following documentation:
|
29
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
|
30
|
+
# Rails.application.config.content_security_policy_report_only = true
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Specify a serializer for the signed and encrypted cookie jars.
|
6
|
+
# Valid options are :json, :marshal, and :hybrid.
|
7
|
+
Rails.application.config.action_dispatch.cookies_serializer = :json
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Add new inflection rules using the following format. Inflections
|
6
|
+
# are locale specific, and you may define rules for as many different
|
7
|
+
# locales as you wish. All of these examples are active by default:
|
8
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
9
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
10
|
+
# inflect.singular /^(ox)en/i, '\1'
|
11
|
+
# inflect.irregular 'person', 'people'
|
12
|
+
# inflect.uncountable %w( fish sheep )
|
13
|
+
# end
|
14
|
+
|
15
|
+
# These inflection rules are supported but not enabled by default:
|
16
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
17
|
+
# inflect.acronym 'RESTful'
|
18
|
+
# end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
6
|
+
# is enabled by default.
|
7
|
+
|
8
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
9
|
+
ActiveSupport.on_load(:action_controller) do
|
10
|
+
wrap_parameters format: [:json]
|
11
|
+
end
|
12
|
+
|
13
|
+
# To enable root element in JSON for ActiveRecord objects.
|
14
|
+
# ActiveSupport.on_load(:active_record) do
|
15
|
+
# self.include_root_in_json = true
|
16
|
+
# end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
29
|
+
# To learn more, please read the Rails Internationalization guide
|
30
|
+
# available at https://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
hello: "Hello world"
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Puma can serve each request in a thread from an internal thread pool.
|
4
|
+
# The `threads` method setting takes two numbers: a minimum and maximum.
|
5
|
+
# Any libraries that use thread pools should be configured to match
|
6
|
+
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
7
|
+
# and maximum; this matches the default thread size of Active Record.
|
8
|
+
#
|
9
|
+
max_threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 }
|
10
|
+
min_threads_count = ENV.fetch('RAILS_MIN_THREADS') { max_threads_count }
|
11
|
+
threads min_threads_count, max_threads_count
|
12
|
+
|
13
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
14
|
+
#
|
15
|
+
port ENV.fetch('PORT') { 3000 }
|
16
|
+
|
17
|
+
# Specifies the `environment` that Puma will run in.
|
18
|
+
#
|
19
|
+
environment ENV.fetch('RAILS_ENV') { 'development' }
|
20
|
+
|
21
|
+
# Specifies the `pidfile` that Puma will use.
|
22
|
+
pidfile ENV.fetch('PIDFILE') { 'tmp/pids/server.pid' }
|
23
|
+
|
24
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
25
|
+
# Workers are forked web server processes. If using threads and workers together
|
26
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
27
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
28
|
+
# processes).
|
29
|
+
#
|
30
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
31
|
+
|
32
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
33
|
+
# This directive tells Puma to first boot the application and load code
|
34
|
+
# before forking the application. This takes advantage of Copy On Write
|
35
|
+
# process behavior so workers use less memory.
|
36
|
+
#
|
37
|
+
# preload_app!
|
38
|
+
|
39
|
+
# Allow puma to be restarted by `rails restart` command.
|
40
|
+
plugin :tmp_restart
|
@@ -0,0 +1,34 @@
|
|
1
|
+
test:
|
2
|
+
service: Disk
|
3
|
+
root: <%= Rails.root.join("tmp/storage") %>
|
4
|
+
|
5
|
+
local:
|
6
|
+
service: Disk
|
7
|
+
root: <%= Rails.root.join("storage") %>
|
8
|
+
|
9
|
+
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
10
|
+
# amazon:
|
11
|
+
# service: S3
|
12
|
+
# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
|
13
|
+
# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
|
14
|
+
# region: us-east-1
|
15
|
+
# bucket: your_own_bucket
|
16
|
+
|
17
|
+
# Remember not to checkin your GCS keyfile to a repository
|
18
|
+
# google:
|
19
|
+
# service: GCS
|
20
|
+
# project: your_project
|
21
|
+
# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
|
22
|
+
# bucket: your_own_bucket
|
23
|
+
|
24
|
+
# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
|
25
|
+
# microsoft:
|
26
|
+
# service: AzureStorage
|
27
|
+
# storage_account_name: your_account_name
|
28
|
+
# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
|
29
|
+
# container: your_container_name
|
30
|
+
|
31
|
+
# mirror:
|
32
|
+
# service: Mirror
|
33
|
+
# primary: local
|
34
|
+
# mirrors: [ amazon, google, microsoft ]
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# This migration comes from micro_cms (originally 20190923103919)
|
3
|
+
|
4
|
+
class CreateMicroCmsContentBlocks < ActiveRecord::Migration[5.2]
|
5
|
+
def change
|
6
|
+
create_table :micro_cms_content_blocks do |t|
|
7
|
+
t.string :path
|
8
|
+
t.text :content
|
9
|
+
|
10
|
+
t.timestamps
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# This file is the source Rails uses to define your schema when running `rails
|
6
|
+
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
|
7
|
+
# be faster and is potentially less error prone than running all of your
|
8
|
+
# migrations from scratch. Old migrations may fail to apply correctly if those
|
9
|
+
# migrations use external dependencies or application code.
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(version: 2019_09_23_150252) do
|
14
|
+
|
15
|
+
create_table "micro_cms_content_blocks", force: :cascade do |t|
|
16
|
+
t.string "path"
|
17
|
+
t.text "content"
|
18
|
+
t.datetime "created_at", null: false
|
19
|
+
t.datetime "updated_at", null: false
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
@@ -0,0 +1,478 @@
|
|
1
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
3
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
7
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
8
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9
|
+
[1m[36mMicroCms::ContentBlock Create (1.0ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2019-09-25 14:44:34.248149"], ["updated_at", "2019-09-25 14:44:34.248149"]]
|
10
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
12
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
13
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
14
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
15
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
16
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2019-09-25 14:44:34.255699"], ["updated_at", "2019-09-25 14:44:34.255699"]]
|
17
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
18
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
19
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
20
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
21
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
22
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
23
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
25
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
27
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
28
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
30
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
31
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
32
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
33
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
34
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
35
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
36
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
37
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2019-09-25 14:47:47.098878"], ["updated_at", "2019-09-25 14:47:47.098878"]]
|
39
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
41
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
42
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
43
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
45
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2019-09-25 14:47:47.105857"], ["updated_at", "2019-09-25 14:47:47.105857"]]
|
46
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
47
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
48
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
49
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
50
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
51
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
52
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
53
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
54
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
55
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
56
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
57
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
58
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
59
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
60
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
61
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
62
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
63
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
65
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
66
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
68
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
69
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
70
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
71
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
72
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
73
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
74
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
75
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2019-09-25 14:48:07.408546"], ["updated_at", "2019-09-25 14:48:07.408546"]]
|
76
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
77
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
78
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
79
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
80
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
81
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
82
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2019-09-25 14:48:07.413684"], ["updated_at", "2019-09-25 14:48:07.413684"]]
|
83
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
84
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
85
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
86
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
87
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
88
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
89
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
90
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
91
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
92
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
93
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
94
|
+
[1m[36mMicroCms::ContentBlock Create (2.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:40:04.779032"], ["updated_at", "2019-09-30 14:40:04.779032"]]
|
95
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
96
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
97
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:04 +0200
|
98
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
99
|
+
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"my-path-de"}
|
100
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 367)
|
101
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
102
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
103
|
+
Started PUT "/micro_cms/content_block/not-existent.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:04 +0200
|
104
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
105
|
+
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"not-existent"}
|
106
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 298)
|
107
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
108
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
109
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
110
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
111
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
112
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
113
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
114
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:40:36.000954"], ["updated_at", "2019-09-30 14:40:36.000954"]]
|
115
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
116
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
117
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:36 +0200
|
118
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
119
|
+
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"my-path-de"}
|
120
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 439)
|
121
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
122
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
123
|
+
Started PUT "/micro_cms/content_block/not-existent.js?authorization_token=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:40:36 +0200
|
124
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
125
|
+
Parameters: {"authorization_token"=>"my-securely-generated-auth-token", "micro_cms_content_block"=>{"content"=>"my new content"}, "path"=>"not-existent"}
|
126
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 369)
|
127
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
128
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
129
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
130
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
131
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
132
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
133
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
134
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:41:23.121076"], ["updated_at", "2019-09-30 14:41:23.121076"]]
|
135
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
136
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
137
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:41:23 +0200
|
138
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
139
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
140
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
141
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
142
|
+
[1m[36mMicroCms::ContentBlock Update (5.7ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2019-09-30 14:41:23.144393"], ["id", 1]]
|
143
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
144
|
+
Completed 204 No Content in 8ms (ActiveRecord: 5.9ms | Allocations: 1001)
|
145
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
146
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
147
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
148
|
+
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 16:41:23 +0200
|
149
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
150
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
151
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
152
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 442)
|
153
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
154
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
155
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
156
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
157
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
158
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
159
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
160
|
+
[1m[36mMicroCms::ContentBlock Create (1.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:43:42.160360"], ["updated_at", "2019-09-30 14:43:42.160360"]]
|
161
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
162
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
163
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2019-09-30 16:43:42 +0200
|
164
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
165
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
166
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 361)
|
167
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
168
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
169
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
170
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
171
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
172
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
174
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:44:08.748528"], ["updated_at", "2019-09-30 14:44:08.748528"]]
|
175
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
176
|
+
[1m[35m (5.7ms)[0m [1m[31mrollback transaction[0m
|
177
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
178
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
179
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
180
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
181
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
182
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
183
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:44:33.886789"], ["updated_at", "2019-09-30 14:44:33.886789"]]
|
184
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
185
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
186
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2019-09-30 16:44:33 +0200
|
187
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
188
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
189
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 361)
|
190
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
191
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
192
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
193
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
194
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
195
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
196
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
197
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:45:04.948044"], ["updated_at", "2019-09-30 14:45:04.948044"]]
|
198
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
199
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2019-09-30 16:45:04 +0200
|
200
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
201
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
202
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 358)
|
203
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
204
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
205
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
206
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
207
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
208
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
209
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
210
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 14:46:03.949440"], ["updated_at", "2019-09-30 14:46:03.949440"]]
|
211
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
212
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2019-09-30 16:46:03 +0200
|
213
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
214
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
215
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 368)
|
216
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
217
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
218
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
219
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
220
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
221
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
222
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
223
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
224
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
225
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
226
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
227
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
228
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
229
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
230
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
231
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
232
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
233
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
234
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
235
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
236
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2019-09-30 15:48:28.548546"], ["updated_at", "2019-09-30 15:48:28.548546"]]
|
237
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
238
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
239
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
240
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
241
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
242
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
243
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2019-09-30 15:48:28.554037"], ["updated_at", "2019-09-30 15:48:28.554037"]]
|
244
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
245
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
246
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
247
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
248
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
249
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
250
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
251
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
252
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
253
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 15:48:34.563982"], ["updated_at", "2019-09-30 15:48:34.563982"]]
|
254
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
255
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
256
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 17:48:34 +0200
|
257
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
258
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
259
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
260
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
261
|
+
[1m[36mMicroCms::ContentBlock Update (0.1ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2019-09-30 15:48:34.595093"], ["id", 1]]
|
262
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
263
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.3ms | Allocations: 1073)
|
264
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
265
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
266
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
267
|
+
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2019-09-30 17:48:34 +0200
|
268
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
269
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
270
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
271
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 513)
|
272
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
273
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
274
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
275
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2019-09-30 15:48:34.616213"], ["updated_at", "2019-09-30 15:48:34.616213"]]
|
276
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
277
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2019-09-30 17:48:34 +0200
|
278
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
279
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
280
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 379)
|
281
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
282
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
283
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
284
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
285
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
286
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
287
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
288
|
+
[1m[36mMicroCms::ContentBlock Load (0.5ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
289
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
290
|
+
[1m[36mMicroCms::ContentBlock Create (0.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2019-09-30 15:54:48.620837"], ["updated_at", "2019-09-30 15:54:48.620837"]]
|
291
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
292
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
293
|
+
[1m[36mMicroCms::ContentBlock Create (0.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2019-09-30 15:54:48.626640"], ["updated_at", "2019-09-30 15:54:48.626640"]]
|
294
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
295
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
296
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
297
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
298
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
299
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
300
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
301
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
302
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2019-09-30 15:55:25.768544"], ["updated_at", "2019-09-30 15:55:25.768544"]]
|
303
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
304
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
305
|
+
[1m[35m (5.6ms)[0m [1m[31mrollback transaction[0m
|
306
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
307
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
308
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
309
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
310
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
311
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
312
|
+
[1m[36mMicroCms::ContentBlock Create (1.1ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2019-09-30 15:59:43.146467"], ["updated_at", "2019-09-30 15:59:43.146467"]]
|
313
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
314
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
315
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
316
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
317
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
318
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
319
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
320
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
321
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
322
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
323
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
324
|
+
[1m[36mMicroCms::ContentBlock Create (0.7ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my default value"], ["created_at", "2019-09-30 16:02:01.617154"], ["updated_at", "2019-09-30 16:02:01.617154"]]
|
325
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
326
|
+
Rendered /Users/lukas/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 2.7ms | Allocations: 726)
|
327
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
328
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
329
|
+
[1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
|
330
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
331
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
332
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
333
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2019-09-30 16:02:01.648836"], ["updated_at", "2019-09-30 16:02:01.648836"]]
|
334
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
335
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
336
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
337
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
338
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
339
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
340
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
341
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2019-09-30 16:02:01.660270"], ["updated_at", "2019-09-30 16:02:01.660270"]]
|
342
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
343
|
+
Rendered /Users/lukas/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 169)
|
344
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
345
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
346
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
347
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
348
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
349
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
350
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
351
|
+
[1m[36mMicroCms::ContentBlock Create (0.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2019-09-30 16:02:01.671854"], ["updated_at", "2019-09-30 16:02:01.671854"]]
|
352
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
353
|
+
Rendered /Users/lukas/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 169)
|
354
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
355
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
356
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
357
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
358
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
359
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2019-09-30 16:02:01.681102"], ["updated_at", "2019-09-30 16:02:01.681102"]]
|
360
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
361
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
362
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
363
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
364
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
365
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
366
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
367
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
368
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
369
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
370
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
371
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
372
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
373
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
374
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
375
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
376
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
377
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
378
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default value"], ["created_at", "2019-09-30 16:03:13.344496"], ["updated_at", "2019-09-30 16:03:13.344496"]]
|
379
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
380
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
381
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
382
|
+
[1m[35m (5.9ms)[0m [1m[31mrollback transaction[0m
|
383
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
384
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
385
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
386
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
387
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
388
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
389
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
390
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
391
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default"], ["created_at", "2019-09-30 16:04:23.575902"], ["updated_at", "2019-09-30 16:04:23.575902"]]
|
392
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
393
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
394
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
395
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
396
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
397
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
398
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
399
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
402
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
403
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
404
|
+
[1m[36mMicroCms::ContentBlock Create (0.8ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2019-09-30 16:04:40.962829"], ["updated_at", "2019-09-30 16:04:40.962829"]]
|
405
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
406
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
407
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
408
|
+
[1m[35m (6.0ms)[0m [1m[31mrollback transaction[0m
|
409
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
411
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
412
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
413
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
414
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
415
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
416
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
417
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2019-09-30 16:05:59.375738"], ["updated_at", "2019-09-30 16:05:59.375738"]]
|
418
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
419
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
420
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
421
|
+
[1m[35m (5.6ms)[0m [1m[31mrollback transaction[0m
|
422
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
423
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
424
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
425
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
426
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
427
|
+
[1m[36mMicroCms::ContentBlock Load (0.4ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
428
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
429
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2019-09-30 16:06:54.883500"], ["updated_at", "2019-09-30 16:06:54.883500"]]
|
430
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
431
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
432
|
+
[1m[35m (6.2ms)[0m [1m[31mrollback transaction[0m
|
433
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
434
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
435
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
436
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
437
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
438
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
439
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
440
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
441
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default"], ["created_at", "2019-09-30 16:07:24.975260"], ["updated_at", "2019-09-30 16:07:24.975260"]]
|
442
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
443
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
444
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
445
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
446
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
447
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
448
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
449
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
450
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
452
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
453
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
454
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2019-09-30 16:07:46.774803"], ["updated_at", "2019-09-30 16:07:46.774803"]]
|
455
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
456
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
457
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
458
|
+
[1m[35m (5.7ms)[0m [1m[31mrollback transaction[0m
|
459
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
460
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
461
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
462
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
463
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
464
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
465
|
+
[1m[36mMicroCms::ContentBlock Create (0.7ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2019-09-30 16:08:14.393651"], ["updated_at", "2019-09-30 16:08:14.393651"]]
|
466
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
467
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
468
|
+
[1m[35m (5.8ms)[0m [1m[31mrollback transaction[0m
|
469
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
470
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
471
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
472
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
473
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
474
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
475
|
+
[1m[36mMicroCms::ContentBlock Create (10.1ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2019-09-30 16:08:24.368635"], ["updated_at", "2019-09-30 16:08:24.368635"]]
|
476
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
477
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
478
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|