micro_cms 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +74 -0
  3. data/Rakefile +24 -0
  4. data/app/assets/config/micro_cms_manifest.js +1 -0
  5. data/app/assets/javascripts/micro_cms.js +51 -0
  6. data/app/assets/stylesheets/micro_cms/micro_cms.css +30 -0
  7. data/app/controllers/micro_cms/application_controller.rb +7 -0
  8. data/app/controllers/micro_cms/content_block_controller.rb +31 -0
  9. data/app/helpers/micro_cms/application_helper.rb +6 -0
  10. data/app/helpers/micro_cms/cms_block_helper.rb +28 -0
  11. data/app/models/micro_cms/application_record.rb +7 -0
  12. data/app/models/micro_cms/content_block.rb +26 -0
  13. data/app/views/micro_cms/_content_block.html.erb +19 -0
  14. data/config/routes.rb +5 -0
  15. data/db/migrate/20190923103919_create_micro_cms_content_blocks.rb +12 -0
  16. data/lib/micro_cms.rb +15 -0
  17. data/lib/micro_cms/engine.rb +25 -0
  18. data/lib/micro_cms/version.rb +5 -0
  19. data/spec/dummy/Rakefile +8 -0
  20. data/spec/dummy/app/assets/config/manifest.js +3 -0
  21. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  22. data/spec/dummy/app/channels/application_cable/channel.rb +6 -0
  23. data/spec/dummy/app/channels/application_cable/connection.rb +6 -0
  24. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  25. data/spec/dummy/app/helpers/application_helper.rb +4 -0
  26. data/spec/dummy/app/javascript/packs/application.js +15 -0
  27. data/spec/dummy/app/jobs/application_job.rb +9 -0
  28. data/spec/dummy/app/mailers/application_mailer.rb +6 -0
  29. data/spec/dummy/app/models/application_record.rb +5 -0
  30. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  32. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  33. data/spec/dummy/bin/rails +11 -0
  34. data/spec/dummy/bin/rake +11 -0
  35. data/spec/dummy/bin/rspec +8 -0
  36. data/spec/dummy/bin/setup +35 -0
  37. data/spec/dummy/bin/spring +17 -0
  38. data/spec/dummy/config.ru +7 -0
  39. data/spec/dummy/config/application.rb +31 -0
  40. data/spec/dummy/config/boot.rb +7 -0
  41. data/spec/dummy/config/cable.yml +10 -0
  42. data/spec/dummy/config/database.yml +25 -0
  43. data/spec/dummy/config/environment.rb +7 -0
  44. data/spec/dummy/config/environments/development.rb +64 -0
  45. data/spec/dummy/config/environments/production.rb +114 -0
  46. data/spec/dummy/config/environments/test.rb +50 -0
  47. data/spec/dummy/config/initializers/application_controller_renderer.rb +10 -0
  48. data/spec/dummy/config/initializers/assets.rb +14 -0
  49. data/spec/dummy/config/initializers/backtrace_silencers.rb +9 -0
  50. data/spec/dummy/config/initializers/content_security_policy.rb +30 -0
  51. data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
  52. data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  53. data/spec/dummy/config/initializers/inflections.rb +18 -0
  54. data/spec/dummy/config/initializers/mime_types.rb +6 -0
  55. data/spec/dummy/config/initializers/wrap_parameters.rb +16 -0
  56. data/spec/dummy/config/locales/en.yml +33 -0
  57. data/spec/dummy/config/puma.rb +40 -0
  58. data/spec/dummy/config/routes.rb +5 -0
  59. data/spec/dummy/config/spring.rb +8 -0
  60. data/spec/dummy/config/storage.yml +34 -0
  61. data/spec/dummy/db/development.sqlite3 +0 -0
  62. data/spec/dummy/db/migrate/20190923150252_create_micro_cms_content_blocks.micro_cms.rb +13 -0
  63. data/spec/dummy/db/schema.rb +22 -0
  64. data/spec/dummy/db/test.sqlite3 +0 -0
  65. data/spec/dummy/log/development.log +1 -0
  66. data/spec/dummy/log/test.log +478 -0
  67. data/spec/dummy/public/404.html +67 -0
  68. data/spec/dummy/public/422.html +67 -0
  69. data/spec/dummy/public/500.html +66 -0
  70. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  71. data/spec/dummy/public/apple-touch-icon.png +0 -0
  72. data/spec/dummy/public/favicon.ico +0 -0
  73. data/spec/dummy/tmp/development_secret.txt +1 -0
  74. data/spec/engine/micro_cms_spec.rb +9 -0
  75. data/spec/examples.txt +28 -0
  76. data/spec/factories/micro_cms/content_blocks.rb +8 -0
  77. data/spec/helpers/micro_cms/cms_block_helper_spec.rb +138 -0
  78. data/spec/models/micro_cms/content_block_spec.rb +62 -0
  79. data/spec/rails_helper.rb +75 -0
  80. data/spec/requests/micro_cms/content_block_controller_spec.rb +57 -0
  81. data/spec/routing/micro_cms/content_blocks_routing_spec.rb +17 -0
  82. data/spec/spec_helper.rb +43 -0
  83. data/spec/support/shared_examples/cms_block_helper_spec_helper.rb +9 -0
  84. data/spec/views/micro_cms/content_block_spec.rb +25 -0
  85. 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,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Be sure to restart your server when you modify this file.
4
+
5
+ # ActiveSupport::Reloader.to_prepare do
6
+ # ApplicationController.renderer.defaults.merge!(
7
+ # http_host: 'example.org',
8
+ # https: false
9
+ # )
10
+ # 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,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Be sure to restart your server when you modify this file.
4
+
5
+ # Configure sensitive parameters which will be filtered from the log file.
6
+ Rails.application.config.filter_parameters += [:password]
@@ -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,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Be sure to restart your server when you modify this file.
4
+
5
+ # Add new mime types for use in respond_to blocks:
6
+ # Mime::Type.register "text/richtext", :rtf
@@ -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,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ Rails.application.routes.draw do
4
+ mount MicroCms::Engine => '/micro_cms'
5
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ Spring.watch(
4
+ '.ruby-version',
5
+ '.rbenv-vars',
6
+ 'tmp/restart.txt',
7
+ 'tmp/caching-dev.txt'
8
+ )
@@ -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
+  (1.7ms) SELECT sqlite_version(*)
@@ -0,0 +1,478 @@
1
+  (1.8ms) SELECT sqlite_version(*)
2
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
3
+  (0.1ms) SELECT sqlite_version(*)
4
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
+  (0.1ms) begin transaction
6
+  (0.6ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
7
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
8
+  (0.0ms) SAVEPOINT active_record_1
9
+ MicroCms::ContentBlock Create (1.0ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
12
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
13
+  (0.5ms) rollback transaction
14
+  (0.1ms) begin transaction
15
+  (0.1ms) SAVEPOINT active_record_1
16
+ MicroCms::ContentBlock Create (0.3ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
19
+  (0.5ms) rollback transaction
20
+  (0.1ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+  (0.1ms) begin transaction
23
+  (0.0ms) rollback transaction
24
+  (0.0ms) begin transaction
25
+  (0.0ms) rollback transaction
26
+  (0.0ms) begin transaction
27
+  (0.1ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+  (1.4ms) SELECT sqlite_version(*)
31
+  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
32
+  (0.1ms) SELECT sqlite_version(*)
33
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34
+  (0.1ms) begin transaction
35
+  (0.4ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
36
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
37
+  (0.0ms) SAVEPOINT active_record_1
38
+ MicroCms::ContentBlock Create (0.6ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
40
+  (0.0ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
41
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
42
+  (0.5ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+  (0.1ms) SAVEPOINT active_record_1
45
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
48
+  (0.6ms) rollback transaction
49
+  (0.1ms) begin transaction
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+  (0.1ms) rollback transaction
53
+  (0.1ms) begin transaction
54
+  (0.0ms) rollback transaction
55
+  (0.1ms) begin transaction
56
+  (0.1ms) rollback transaction
57
+  (0.0ms) begin transaction
58
+  (0.1ms) rollback transaction
59
+  (1.9ms) SELECT sqlite_version(*)
60
+  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
61
+  (0.0ms) SELECT sqlite_version(*)
62
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
63
+  (0.1ms) begin transaction
64
+  (0.1ms) rollback transaction
65
+  (0.1ms) begin transaction
66
+  (0.1ms) rollback transaction
67
+  (0.1ms) begin transaction
68
+  (0.1ms) rollback transaction
69
+  (0.1ms) begin transaction
70
+  (0.1ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+  (0.5ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
73
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
74
+  (0.1ms) SAVEPOINT active_record_1
75
+ MicroCms::ContentBlock Create (0.6ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
77
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
78
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
79
+  (0.3ms) rollback transaction
80
+  (0.1ms) begin transaction
81
+  (0.1ms) SAVEPOINT active_record_1
82
+ MicroCms::ContentBlock Create (0.3ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
84
+ MicroCms::ContentBlock Load (0.0ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
85
+  (0.3ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+  (0.1ms) rollback transaction
88
+  (1.4ms) SELECT sqlite_version(*)
89
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
90
+  (0.1ms) SELECT sqlite_version(*)
91
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
92
+  (0.1ms) begin transaction
93
+  (0.0ms) SAVEPOINT active_record_1
94
+ MicroCms::ContentBlock Create (2.2ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
97
+ Started PUT "/micro_cms/content_block/my-path-de.js?authorization_token=my-securely-generated-auth-token&micro_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
+  (0.5ms) rollback transaction
102
+  (0.1ms) begin transaction
103
+ Started PUT "/micro_cms/content_block/not-existent.js?authorization_token=my-securely-generated-auth-token&micro_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
+  (0.1ms) rollback transaction
108
+  (1.0ms) SELECT sqlite_version(*)
109
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
110
+  (0.0ms) SELECT sqlite_version(*)
111
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
112
+  (0.1ms) begin transaction
113
+  (0.2ms) SAVEPOINT active_record_1
114
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
116
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
117
+ Started PUT "/micro_cms/content_block/my-path-de.js?authorization_token=my-securely-generated-auth-token&micro_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
+  (0.4ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+ Started PUT "/micro_cms/content_block/not-existent.js?authorization_token=my-securely-generated-auth-token&micro_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
+  (0.1ms) rollback transaction
128
+  (1.0ms) SELECT sqlite_version(*)
129
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
130
+  (0.0ms) SELECT sqlite_version(*)
131
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
132
+  (0.1ms) begin transaction
133
+  (0.0ms) SAVEPOINT active_record_1
134
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
136
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["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&micro_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
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-path-de"], ["LIMIT", 1]]
141
+  (0.0ms) SAVEPOINT active_record_1
142
+ MicroCms::ContentBlock Update (5.7ms) UPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ? [["content", "my new content"], ["updated_at", "2019-09-30 14:41:23.144393"], ["id", 1]]
143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
144
+ Completed 204 No Content in 8ms (ActiveRecord: 5.9ms | Allocations: 1001)
145
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
146
+  (0.3ms) rollback transaction
147
+  (0.0ms) begin transaction
148
+ Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-token&micro_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
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "not-existent"], ["LIMIT", 1]]
152
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 442)
153
+  (0.0ms) rollback transaction
154
+  (2.0ms) SELECT sqlite_version(*)
155
+  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
156
+  (0.1ms) SELECT sqlite_version(*)
157
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
158
+  (0.1ms) begin transaction
159
+  (0.0ms) SAVEPOINT active_record_1
160
+ MicroCms::ContentBlock Create (1.8ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
162
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["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&micro_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
+  (0.5ms) rollback transaction
168
+  (1.0ms) SELECT sqlite_version(*)
169
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
170
+  (0.0ms) SELECT sqlite_version(*)
171
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
172
+  (0.1ms) begin transaction
173
+  (0.0ms) SAVEPOINT active_record_1
174
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
176
+  (5.7ms) rollback transaction
177
+  (0.9ms) SELECT sqlite_version(*)
178
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
179
+  (0.0ms) SELECT sqlite_version(*)
180
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
181
+  (0.1ms) begin transaction
182
+  (0.1ms) SAVEPOINT active_record_1
183
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
185
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["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&micro_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
+  (0.6ms) rollback transaction
191
+  (0.9ms) SELECT sqlite_version(*)
192
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
193
+  (0.0ms) SELECT sqlite_version(*)
194
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
195
+  (0.1ms) begin transaction
196
+  (0.1ms) SAVEPOINT active_record_1
197
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
199
+ Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-token&micro_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
+  (0.4ms) rollback transaction
204
+  (0.9ms) SELECT sqlite_version(*)
205
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
206
+  (0.0ms) SELECT sqlite_version(*)
207
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
208
+  (0.1ms) begin transaction
209
+  (0.0ms) SAVEPOINT active_record_1
210
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
212
+ Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-token&micro_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
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
217
+  (0.7ms) rollback transaction
218
+  (1.3ms) SELECT sqlite_version(*)
219
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
220
+  (0.0ms) SELECT sqlite_version(*)
221
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
222
+  (0.1ms) begin transaction
223
+  (0.1ms) rollback transaction
224
+  (0.0ms) begin transaction
225
+  (0.1ms) rollback transaction
226
+  (0.0ms) begin transaction
227
+  (0.0ms) rollback transaction
228
+  (0.0ms) begin transaction
229
+  (0.1ms) rollback transaction
230
+  (0.0ms) begin transaction
231
+  (0.0ms) rollback transaction
232
+  (0.1ms) begin transaction
233
+  (0.2ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
234
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
235
+  (0.0ms) SAVEPOINT active_record_1
236
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
238
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
239
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
240
+  (0.4ms) rollback transaction
241
+  (0.1ms) begin transaction
242
+  (0.1ms) SAVEPOINT active_record_1
243
+ MicroCms::ContentBlock Create (0.3ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245
+ MicroCms::ContentBlock Load (0.0ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-content-block-en"], ["LIMIT", 1]]
246
+  (0.4ms) rollback transaction
247
+  (0.9ms) SELECT sqlite_version(*)
248
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
249
+  (0.0ms) SELECT sqlite_version(*)
250
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
251
+  (0.1ms) begin transaction
252
+  (0.0ms) SAVEPOINT active_record_1
253
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
255
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["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&micro_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
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-path-de"], ["LIMIT", 1]]
260
+  (0.0ms) SAVEPOINT active_record_1
261
+ MicroCms::ContentBlock Update (0.1ms) UPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ? [["content", "my new content"], ["updated_at", "2019-09-30 15:48:34.595093"], ["id", 1]]
262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
263
+ Completed 204 No Content in 3ms (ActiveRecord: 0.3ms | Allocations: 1073)
264
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
265
+  (0.5ms) rollback transaction
266
+  (0.1ms) begin transaction
267
+ Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-token&micro_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
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "not-existent"], ["LIMIT", 1]]
271
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 513)
272
+  (0.0ms) rollback transaction
273
+  (0.0ms) begin transaction
274
+  (0.1ms) SAVEPOINT active_record_1
275
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
277
+ Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-token&micro_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
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
282
+  (0.3ms) rollback transaction
283
+  (2.0ms) SELECT sqlite_version(*)
284
+  (2.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
285
+  (0.1ms) SELECT sqlite_version(*)
286
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
287
+  (0.1ms) begin transaction
288
+ MicroCms::ContentBlock Load (0.5ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
289
+  (0.1ms) SAVEPOINT active_record_1
290
+ MicroCms::ContentBlock Create (0.8ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
292
+  (0.1ms) SAVEPOINT active_record_1
293
+ MicroCms::ContentBlock Create (0.2ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
295
+  (0.7ms) rollback transaction
296
+  (1.9ms) SELECT sqlite_version(*)
297
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
298
+  (0.1ms) SELECT sqlite_version(*)
299
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
300
+  (0.1ms) begin transaction
301
+  (0.1ms) SAVEPOINT active_record_1
302
+ MicroCms::ContentBlock Create (0.5ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
304
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
305
+  (5.6ms) rollback transaction
306
+  (2.2ms) SELECT sqlite_version(*)
307
+  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
308
+  (0.1ms) SELECT sqlite_version(*)
309
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
310
+  (0.2ms) begin transaction
311
+  (0.1ms) SAVEPOINT active_record_1
312
+ MicroCms::ContentBlock Create (1.1ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
314
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
315
+  (0.7ms) rollback transaction
316
+  (1.9ms) SELECT sqlite_version(*)
317
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
318
+  (0.1ms) SELECT sqlite_version(*)
319
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
320
+  (0.1ms) begin transaction
321
+  (0.2ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
322
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
323
+  (0.1ms) SAVEPOINT active_record_1
324
+ MicroCms::ContentBlock Create (0.7ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
326
+ Rendered /Users/lukas/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 2.7ms | Allocations: 726)
327
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
328
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
329
+  (1.5ms) rollback transaction
330
+  (0.1ms) begin transaction
331
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
332
+  (0.1ms) SAVEPOINT active_record_1
333
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
335
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
336
+  (0.5ms) rollback transaction
337
+  (0.1ms) begin transaction
338
+  (0.3ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
339
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
340
+  (0.1ms) SAVEPOINT active_record_1
341
+ MicroCms::ContentBlock Create (0.5ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["path", "my-custom-path-en"], ["content", " &lt;p&gt;This is my custom content&lt;/p&gt;"], ["created_at", "2019-09-30 16:02:01.660270"], ["updated_at", "2019-09-30 16:02:01.660270"]]
342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343
+ Rendered /Users/lukas/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 169)
344
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
345
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
346
+  (0.6ms) rollback transaction
347
+  (0.2ms) begin transaction
348
+  (0.2ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
349
+ MicroCms::ContentBlock Load (0.3ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
350
+  (0.1ms) SAVEPOINT active_record_1
351
+ MicroCms::ContentBlock Create (0.8ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
353
+ Rendered /Users/lukas/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 169)
354
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
355
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
356
+  (0.6ms) rollback transaction
357
+  (0.1ms) begin transaction
358
+  (0.1ms) SAVEPOINT active_record_1
359
+ MicroCms::ContentBlock Create (0.5ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
361
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
362
+  (0.5ms) rollback transaction
363
+  (1.8ms) SELECT sqlite_version(*)
364
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
365
+  (0.1ms) SELECT sqlite_version(*)
366
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
367
+  (0.3ms) begin transaction
368
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
369
+  (0.1ms) rollback transaction
370
+  (2.0ms) SELECT sqlite_version(*)
371
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
372
+  (0.1ms) SELECT sqlite_version(*)
373
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
374
+  (0.1ms) begin transaction
375
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
376
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
377
+  (0.1ms) SAVEPOINT active_record_1
378
+ MicroCms::ContentBlock Create (0.6ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
380
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
381
+ MicroCms::ContentBlock Load (0.3ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
382
+  (5.9ms) rollback transaction
383
+  (1.8ms) SELECT sqlite_version(*)
384
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
385
+  (0.1ms) SELECT sqlite_version(*)
386
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
387
+  (0.1ms) begin transaction
388
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
389
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
390
+  (0.1ms) SAVEPOINT active_record_1
391
+ MicroCms::ContentBlock Create (0.6ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
393
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
394
+ MicroCms::ContentBlock Load (0.3ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
395
+  (0.7ms) rollback transaction
396
+  (1.9ms) SELECT sqlite_version(*)
397
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
398
+  (0.1ms) SELECT sqlite_version(*)
399
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
400
+  (0.1ms) begin transaction
401
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
402
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
403
+  (0.1ms) SAVEPOINT active_record_1
404
+ MicroCms::ContentBlock Create (0.8ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["path", "my-nonexistent-path-en"], ["content", " &lt;p&gt;This is my custom content&lt;/p&gt;"], ["created_at", "2019-09-30 16:04:40.962829"], ["updated_at", "2019-09-30 16:04:40.962829"]]
405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
406
+  (0.2ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
407
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
408
+  (6.0ms) rollback transaction
409
+  (1.9ms) SELECT sqlite_version(*)
410
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
411
+  (0.1ms) SELECT sqlite_version(*)
412
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
413
+  (0.1ms) begin transaction
414
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
415
+ MicroCms::ContentBlock Load (0.1ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
416
+  (0.1ms) SAVEPOINT active_record_1
417
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["path", "my-nonexistent-path-en"], ["content", " &lt;p&gt;This is my custom content&lt;/p&gt;"], ["created_at", "2019-09-30 16:05:59.375738"], ["updated_at", "2019-09-30 16:05:59.375738"]]
418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
419
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
420
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
421
+  (5.6ms) rollback transaction
422
+  (2.0ms) SELECT sqlite_version(*)
423
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
424
+  (0.1ms) SELECT sqlite_version(*)
425
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
426
+  (0.1ms) begin transaction
427
+ MicroCms::ContentBlock Load (0.4ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
428
+  (0.2ms) SAVEPOINT active_record_1
429
+ MicroCms::ContentBlock Create (0.6ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
431
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
432
+  (6.2ms) rollback transaction
433
+  (1.2ms) SELECT sqlite_version(*)
434
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
435
+  (0.1ms) SELECT sqlite_version(*)
436
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
437
+  (0.1ms) begin transaction
438
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
439
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
440
+  (0.1ms) SAVEPOINT active_record_1
441
+ MicroCms::ContentBlock Create (0.4ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
443
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
444
+ MicroCms::ContentBlock Load (0.3ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
445
+  (2.0ms) rollback transaction
446
+  (2.0ms) SELECT sqlite_version(*)
447
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
448
+  (0.1ms) SELECT sqlite_version(*)
449
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
450
+  (0.1ms) begin transaction
451
+  (0.1ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
452
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
453
+  (0.1ms) SAVEPOINT active_record_1
454
+ MicroCms::ContentBlock Create (0.6ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
456
+  (0.2ms) SELECT COUNT(*) FROM "micro_cms_content_blocks"
457
+ MicroCms::ContentBlock Load (0.3ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ? [["LIMIT", 1]]
458
+  (5.7ms) rollback transaction
459
+  (1.0ms) SELECT sqlite_version(*)
460
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
461
+  (0.0ms) SELECT sqlite_version(*)
462
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
463
+  (0.1ms) begin transaction
464
+  (0.1ms) SAVEPOINT active_record_1
465
+ MicroCms::ContentBlock Create (0.7ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
467
+ MicroCms::ContentBlock Load (0.3ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
468
+  (5.8ms) rollback transaction
469
+  (2.0ms) SELECT sqlite_version(*)
470
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
471
+  (0.1ms) SELECT sqlite_version(*)
472
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
473
+  (0.1ms) begin transaction
474
+  (0.1ms) SAVEPOINT active_record_1
475
+ MicroCms::ContentBlock Create (10.1ms) INSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
477
+ MicroCms::ContentBlock Load (0.2ms) SELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ? [["path", "my-custom-path-en"], ["LIMIT", 1]]
478
+  (0.8ms) rollback transaction