ecm_contact2 5.1.0 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/lib/ecm/contact/version.rb +1 -1
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +5 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -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/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +38 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +91 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/ecm_contact.rb +83 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +56 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +32 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20170813150718_create_ecm_contact_contact_requests.ecm_contact.rb +16 -0
- data/spec/dummy/db/schema.rb +27 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +193 -0
- data/spec/dummy/log/test.log +2482 -0
- data/spec/dummy/package.json +5 -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/factories/ecm_contact_contact_requests.rb +10 -0
- data/spec/fixtures/ecm/contact/contact_request_mailer/notify +3 -0
- data/spec/jobs/ecm/contact/notify_new_contact_request_job_spec.rb +22 -0
- data/spec/mailers/ecm/contact/contact_request_mailer_spec.rb +24 -0
- data/spec/mailers/previews/ecm/contact/contact_request_mailer_preview.rb +11 -0
- data/spec/models/ecm/contact/contact_request_spec.rb +48 -0
- data/spec/models/generic_spec.rb +34 -0
- data/spec/rails_helper.rb +58 -0
- data/spec/spec_helper.rb +96 -0
- data/spec/support/action_mailer.rb +13 -0
- data/spec/support/active_job.rb +9 -0
- data/spec/support/factory_girl.rb +9 -0
- data/spec/support/shoulda_matchers.rb +8 -0
- metadata +72 -3
- data/app/views/de.yml +0 -47
@@ -0,0 +1,42 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure public file server for tests with Cache-Control for performance.
|
16
|
+
config.public_file_server.enabled = true
|
17
|
+
config.public_file_server.headers = {
|
18
|
+
'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
|
19
|
+
}
|
20
|
+
|
21
|
+
# Show full error reports and disable caching.
|
22
|
+
config.consider_all_requests_local = true
|
23
|
+
config.action_controller.perform_caching = false
|
24
|
+
|
25
|
+
# Raise exceptions instead of rendering exception templates.
|
26
|
+
config.action_dispatch.show_exceptions = false
|
27
|
+
|
28
|
+
# Disable request forgery protection in test environment.
|
29
|
+
config.action_controller.allow_forgery_protection = false
|
30
|
+
config.action_mailer.perform_caching = false
|
31
|
+
|
32
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
33
|
+
# The :test delivery method accumulates sent emails in the
|
34
|
+
# ActionMailer::Base.deliveries array.
|
35
|
+
config.action_mailer.delivery_method = :test
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr.
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Raises error for missing translations
|
41
|
+
# config.action_view.raise_on_missing_translations = true
|
42
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path.
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
# Add Yarn node_modules folder to the asset load path.
|
9
|
+
Rails.application.config.assets.paths << Rails.root.join('node_modules')
|
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,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,83 @@
|
|
1
|
+
Ecm::Contact.configure do |config|
|
2
|
+
# Configure your contact requiest recipients here.
|
3
|
+
#
|
4
|
+
# You can specify multiple recipients and multiple environments.
|
5
|
+
#
|
6
|
+
# Default:
|
7
|
+
#
|
8
|
+
# config.recipients = {
|
9
|
+
# development: %w( info@development.example.com ),
|
10
|
+
# test: %w( info@test.example.com ),
|
11
|
+
# production: %w( info@production.example.com )
|
12
|
+
# }
|
13
|
+
#
|
14
|
+
config.recipients = {
|
15
|
+
development: %w( info@development.example.com ),
|
16
|
+
test: %w( info@test.example.com ),
|
17
|
+
production: %w( info@production.example.com )
|
18
|
+
}
|
19
|
+
|
20
|
+
# Configure your input field css classes here.
|
21
|
+
#
|
22
|
+
# Default: config.input_name_css_classes = 'form-control'
|
23
|
+
#
|
24
|
+
config.input_name_css_classes = 'form-control'
|
25
|
+
|
26
|
+
# Configure your input field css classes here.
|
27
|
+
#
|
28
|
+
# Default: config.input_email_css_classes = 'form-control'
|
29
|
+
#
|
30
|
+
config.input_email_css_classes = 'form-control'
|
31
|
+
|
32
|
+
# Configure your input field css classes here.
|
33
|
+
#
|
34
|
+
# Default: config.input_phone_css_classes = 'form-control'
|
35
|
+
#
|
36
|
+
config.input_phone_css_classes = 'form-control'
|
37
|
+
|
38
|
+
# Configure your input field css classes here.
|
39
|
+
#
|
40
|
+
# Default: config.input_message_css_classes = 'form-control'
|
41
|
+
#
|
42
|
+
config.input_message_css_classes = 'form-control'
|
43
|
+
|
44
|
+
# Configure your input field css classes here.
|
45
|
+
#
|
46
|
+
# Default: config.input_terms_of_service_css_classes = 'form-control'
|
47
|
+
#
|
48
|
+
config.input_terms_of_service_css_classes = ''
|
49
|
+
|
50
|
+
# Configure your form action wrapper div css classes here.
|
51
|
+
#
|
52
|
+
# Default: config.form_actions_wrapper_css_classes = 'controls form-actions well'
|
53
|
+
#
|
54
|
+
config.form_actions_wrapper_css_classes = 'controls form-actions well'
|
55
|
+
|
56
|
+
# set the base controller for the contact form
|
57
|
+
#
|
58
|
+
# Default: config.base_controller = 'ApplicationController'
|
59
|
+
#
|
60
|
+
config.base_controller = 'ApplicationController'
|
61
|
+
|
62
|
+
# Add additional information to the contact form. This will be printed
|
63
|
+
# between the heading and the form. You should provide a proc, or
|
64
|
+
# an object, that reponds to #call. The view ist provided as paramter.
|
65
|
+
#
|
66
|
+
# Example: config.additional_contact_information = lambda { |view| view.render 'additional_contact_information' }
|
67
|
+
#
|
68
|
+
# Default: config.additional_contact_information = nil
|
69
|
+
#
|
70
|
+
config.additional_contact_information = nil
|
71
|
+
|
72
|
+
# url to redirect to after successful contact request.
|
73
|
+
#
|
74
|
+
# default: config.after_create_url = ->(controller) { controller.url_for(action: :index) }
|
75
|
+
#
|
76
|
+
config.after_create_url = ->(controller) { controller.url_for(action: :index) }
|
77
|
+
|
78
|
+
# Set the sender address.
|
79
|
+
#
|
80
|
+
# default: config.sender = ->(mail_form) { %("#{mail_form.name}" <#{mail_form.email}>) }
|
81
|
+
#
|
82
|
+
config.sender = ->(mail_form) { %("#{mail_form.name}" <#{mail_form.email}>) }
|
83
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# 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 http://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Puma can serve each request in a thread from an internal thread pool.
|
2
|
+
# The `threads` method setting takes two numbers: a minimum and maximum.
|
3
|
+
# Any libraries that use thread pools should be configured to match
|
4
|
+
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
|
+
# and maximum; this matches the default thread size of Active Record.
|
6
|
+
#
|
7
|
+
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
+
threads threads_count, threads_count
|
9
|
+
|
10
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
|
+
#
|
12
|
+
port ENV.fetch("PORT") { 3000 }
|
13
|
+
|
14
|
+
# Specifies the `environment` that Puma will run in.
|
15
|
+
#
|
16
|
+
environment ENV.fetch("RAILS_ENV") { "development" }
|
17
|
+
|
18
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
+
# Workers are forked webserver processes. If using threads and workers together
|
20
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
21
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
22
|
+
# processes).
|
23
|
+
#
|
24
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
25
|
+
|
26
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
27
|
+
# This directive tells Puma to first boot the application and load code
|
28
|
+
# before forking the application. This takes advantage of Copy On Write
|
29
|
+
# process behavior so workers use less memory. If you use this option
|
30
|
+
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
31
|
+
# block.
|
32
|
+
#
|
33
|
+
# preload_app!
|
34
|
+
|
35
|
+
# If you are preloading your application and using Active Record, it's
|
36
|
+
# recommended that you close any connections to the database before workers
|
37
|
+
# are forked to prevent connection leakage.
|
38
|
+
#
|
39
|
+
# before_fork do
|
40
|
+
# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
|
41
|
+
# end
|
42
|
+
|
43
|
+
# The code in the `on_worker_boot` will be called if you are using
|
44
|
+
# clustered mode by specifying a number of `workers`. After each worker
|
45
|
+
# process is booted, this block will be run. If you are using the `preload_app!`
|
46
|
+
# option, you will want to use this block to reconnect to any threads
|
47
|
+
# or connections that may have been created at application boot, as Ruby
|
48
|
+
# cannot share connections between processes.
|
49
|
+
#
|
50
|
+
# on_worker_boot do
|
51
|
+
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
|
55
|
+
# Allow puma to be restarted by `rails restart` command.
|
56
|
+
plugin :tmp_restart
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rails secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
# Shared secrets are available across all environments.
|
14
|
+
|
15
|
+
# shared:
|
16
|
+
# api_key: a1B2c3D4e5F6
|
17
|
+
|
18
|
+
# Environmental secrets are only available for that specific environment.
|
19
|
+
|
20
|
+
development:
|
21
|
+
secret_key_base: 241f847afccb2567430dbf443fade9ac321e66fef59b5052793e2b1229d769003f62688e485ada8949f94d1e85db974c799b9aa502f5184c93959047810e5eb0
|
22
|
+
|
23
|
+
test:
|
24
|
+
secret_key_base: 2c6bde11801fe960880a1c688afa20a42576f899622cb6327ec5aaa3988b8bf74f70be5803c6467440c8ec69cc44ed8d8d383fda78da36bdf1d3ca942e2e48b7
|
25
|
+
|
26
|
+
# Do not keep production secrets in the unencrypted secrets file.
|
27
|
+
# Instead, either read values from the environment.
|
28
|
+
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
29
|
+
# and move the `production:` environment over there.
|
30
|
+
|
31
|
+
production:
|
32
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This migration comes from ecm_contact (originally 20170813142704)
|
2
|
+
class CreateEcmContactContactRequests < ActiveRecord::Migration[5.1]
|
3
|
+
def change
|
4
|
+
create_table :ecm_contact_contact_requests do |t|
|
5
|
+
t.string :name
|
6
|
+
t.string :email
|
7
|
+
t.string :phone
|
8
|
+
t.string :ip_address
|
9
|
+
t.text :message
|
10
|
+
t.boolean :accept_terms_of_service
|
11
|
+
t.timestamp :notified_at
|
12
|
+
|
13
|
+
t.timestamps
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,27 @@
|
|
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
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(version: 20170813150718) do
|
14
|
+
|
15
|
+
create_table "ecm_contact_contact_requests", force: :cascade do |t|
|
16
|
+
t.string "name"
|
17
|
+
t.string "email"
|
18
|
+
t.string "phone"
|
19
|
+
t.string "ip_address"
|
20
|
+
t.text "message"
|
21
|
+
t.boolean "accept_terms_of_service"
|
22
|
+
t.datetime "notified_at"
|
23
|
+
t.datetime "created_at", null: false
|
24
|
+
t.datetime "updated_at", null: false
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
Binary file
|
@@ -0,0 +1,193 @@
|
|
1
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
+
Migrating to CreateEcmContactContactRequests (20170813150718)
|
6
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "ecm_contact_contact_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "phone" varchar, "ip_address" varchar, "message" text, "accept_terms_of_service" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
8
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170813150718"]]
|
9
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
10
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
11
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12
|
+
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-08-13 15:07:33.794410"], ["updated_at", "2017-08-13 15:07:33.794410"]]
|
13
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
14
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
15
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
16
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
17
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
19
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
20
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
21
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "ecm_contact_contact_requests"[0m
|
22
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
23
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "ecm_contact_contact_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "phone" varchar, "ip_address" varchar, "message" text, "accept_terms_of_service" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
24
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
25
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
26
|
+
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170813150718)[0m
|
27
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
28
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
29
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
30
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-08-13 15:07:35.896570"], ["updated_at", "2017-08-13 15:07:35.896570"]]
|
31
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
32
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
33
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
35
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
36
|
+
[i18n-debug] de.routes.ecm_contact_engine => "kontakt"
|
37
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
38
|
+
[i18n-debug] de.routes.contact_requests => "anfrage"
|
39
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
40
|
+
[i18n-debug] en.routes.ecm_contact_engine => "contact"
|
41
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
42
|
+
[i18n-debug] en.routes.contact_requests => "request"
|
43
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
44
|
+
[i18n-debug] de.routes.ecm_contact_engine => "kontakt"
|
45
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
46
|
+
[i18n-debug] de.routes.contact_requests => "anfrage"
|
47
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
48
|
+
[i18n-debug] en.routes.ecm_contact_engine => "contact"
|
49
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
50
|
+
[i18n-debug] en.routes.contact_requests => "request"
|
51
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
52
|
+
[i18n-debug] de.routes.ecm_contact_engine => "kontakt"
|
53
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
54
|
+
[i18n-debug] en.routes.ecm_contact_engine => "contact"
|
55
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
56
|
+
[i18n-debug] de.routes.ecm_contact_engine => "kontakt"
|
57
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
58
|
+
[i18n-debug] de.routes.contact_requests => "anfrage"
|
59
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
60
|
+
[i18n-debug] en.routes.ecm_contact_engine => "contact"
|
61
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
62
|
+
[i18n-debug] en.routes.contact_requests => "request"
|
63
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
64
|
+
[i18n-debug] de.routes.ecm_contact_engine => "kontakt"
|
65
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
66
|
+
[i18n-debug] de.routes.contact_requests => "anfrage"
|
67
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
68
|
+
[i18n-debug] en.routes.ecm_contact_engine => "contact"
|
69
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
70
|
+
[i18n-debug] en.routes.contact_requests => "request"
|
71
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
72
|
+
[i18n-debug] de.routes.ecm_contact_engine => "kontakt"
|
73
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
74
|
+
[i18n-debug] en.routes.ecm_contact_engine => "contact"
|
75
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
76
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
77
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
78
|
+
[i18n-debug] de.routes.contact_requests => nil
|
79
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
80
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
81
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
82
|
+
[i18n-debug] en.routes.contact_requests => nil
|
83
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
84
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
85
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
86
|
+
[i18n-debug] de.routes.contact_requests => nil
|
87
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
88
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
89
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
90
|
+
[i18n-debug] en.routes.contact_requests => nil
|
91
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
92
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
93
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
94
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
95
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
96
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
97
|
+
Migrating to CreateEcmContactContactRequests (20170813150718)
|
98
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
99
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "ecm_contact_contact_requests"[0m
|
100
|
+
[1m[35mSQL (0.0ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ?[0m [["version", "20170813150718"]]
|
101
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
102
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
103
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
104
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
105
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
106
|
+
[i18n-debug] de.routes.contact_requests => nil
|
107
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
108
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
109
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
110
|
+
[i18n-debug] en.routes.contact_requests => nil
|
111
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
112
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
113
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
114
|
+
[i18n-debug] de.routes.contact_requests => nil
|
115
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
116
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
117
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
118
|
+
[i18n-debug] en.routes.contact_requests => nil
|
119
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
120
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
121
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
122
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
123
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
124
|
+
Migrating to CreateEcmContactContactRequests (20170813150718)
|
125
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
126
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
127
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "ecm_contact_contact_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "phone" varchar, "ip_address" varchar, "message" text, "accept_terms_of_service" boolean, "notified_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
128
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170813150718"]]
|
129
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
130
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
131
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
132
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
133
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
134
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
135
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
136
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
137
|
+
[i18n-debug] de.routes.contact_requests => nil
|
138
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
139
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
140
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
141
|
+
[i18n-debug] en.routes.contact_requests => nil
|
142
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
143
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
144
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
145
|
+
[i18n-debug] de.routes.contact_requests => nil
|
146
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
147
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
148
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
149
|
+
[i18n-debug] en.routes.contact_requests => nil
|
150
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
151
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
152
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
153
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
154
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
155
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
156
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
157
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
158
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
159
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
160
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "ecm_contact_contact_requests"[0m
|
161
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
162
|
+
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "ecm_contact_contact_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "phone" varchar, "ip_address" varchar, "message" text, "accept_terms_of_service" boolean, "notified_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
163
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
164
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
165
|
+
[1m[35m (2.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170813150718)[0m
|
166
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
167
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
169
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-03 11:45:37.999482"], ["updated_at", "2017-09-03 11:45:37.999482"]]
|
170
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
171
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
172
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
174
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
175
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
176
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
177
|
+
[i18n-debug] de.routes.contact_requests => nil
|
178
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
179
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
180
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
181
|
+
[i18n-debug] en.routes.contact_requests => nil
|
182
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
183
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
184
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
185
|
+
[i18n-debug] de.routes.contact_requests => nil
|
186
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
187
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|
188
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.contact_requests => nil
|
189
|
+
[i18n-debug] en.routes.contact_requests => nil
|
190
|
+
[i18n-debug] de.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
191
|
+
[i18n-debug] de.routes.ecm_contact_engine => nil
|
192
|
+
[i18n-debug] en.routes.controllers.ecm.contact.contact_requests.ecm_contact_engine => nil
|
193
|
+
[i18n-debug] en.routes.ecm_contact_engine => nil
|