katgut 0.0.1
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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +107 -0
- data/Rakefile +34 -0
- data/app/assets/javascripts/katgut/application.js +13 -0
- data/app/assets/stylesheets/katgut/application.css +15 -0
- data/app/controllers/katgut/application_controller.rb +5 -0
- data/app/controllers/katgut/rules_controller.rb +21 -0
- data/app/helpers/katgut/application_helper.rb +4 -0
- data/app/models/katgut/rule.rb +57 -0
- data/app/views/layouts/katgut/application.html.erb +14 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20160704065128_create_katgut_rules.rb +13 -0
- data/lib/generators/katgut/initializer/USAGE +9 -0
- data/lib/generators/katgut/initializer/initializer_generator.rb +9 -0
- data/lib/generators/katgut/initializer/templates/initializer.rb +4 -0
- data/lib/katgut.rb +12 -0
- data/lib/katgut/config.rb +11 -0
- data/lib/katgut/engine.rb +14 -0
- data/lib/katgut/version.rb +3 -0
- data/lib/tasks/katgut_tasks.rake +4 -0
- data/public/katgut_success.html +14 -0
- data/spec/controllers/rules_controller_spec.rb +35 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -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 +29 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -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/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +26 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +753 -0
- data/spec/dummy/log/test.log +6697 -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/favicon.ico +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/rules.rb +7 -0
- data/spec/integration/navigation_test.rb +8 -0
- data/spec/katgut_test.rb +7 -0
- data/spec/models/katgut/rule_spec.rb +67 -0
- data/spec/rails_helper.rb +30 -0
- data/spec/requests/rules_spec.rb +50 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/factory_girl.rb +3 -0
- data/spec/test_helper.rb +21 -0
- metadata +241 -0
@@ -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] if respond_to?(:wrap_parameters)
|
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,23 @@
|
|
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
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,22 @@
|
|
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 `rake 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
|
+
development:
|
14
|
+
secret_key_base: 961c6a6d17bb6911a31eb2c7e7c4f9c6740a8f9453e3d4a96a256902ca33604d2d871a6fee059664aff2421f419d3fcb6b8f2a94da24104b6e38869d95ec8f97
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 35581303f941a8739890a9ba24e2048bb91fe568d56ee4c5fe5dac78ef6cb031f1f796b1e7588b0797ffd21c3db14b36b4aafbead2f57cea6d9874dce2b7ac44
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20160704065128) do
|
15
|
+
|
16
|
+
create_table "katgut_rules", force: :cascade do |t|
|
17
|
+
t.string "source", null: false
|
18
|
+
t.string "destination", null: false
|
19
|
+
t.boolean "active", default: false, null: false
|
20
|
+
t.datetime "created_at", null: false
|
21
|
+
t.datetime "updated_at", null: false
|
22
|
+
end
|
23
|
+
|
24
|
+
add_index "katgut_rules", ["source"], name: "idx_katgut_source", unique: true
|
25
|
+
|
26
|
+
end
|
Binary file
|
@@ -0,0 +1,753 @@
|
|
1
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateKatgutRules (20160704065128)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "katgut_rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source" varchar NOT NULL, "destination" varchar NOT NULL, "active" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
8
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
9
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
|
+
Migrating to CreateKatgutRules (20160704065128)
|
11
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "katgut_rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source" varchar NOT NULL, "destination" varchar NOT NULL, "active" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
13
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
14
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "idx_katgut_source" ON "katgut_rules" ("source")[0m
|
15
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160704065128"]]
|
16
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
17
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
18
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
19
|
+
FROM sqlite_master
|
20
|
+
WHERE name='idx_katgut_source' AND type='index'
|
21
|
+
UNION ALL
|
22
|
+
SELECT sql
|
23
|
+
FROM sqlite_temp_master
|
24
|
+
WHERE name='idx_katgut_source' AND type='index'
|
25
|
+
[0m
|
26
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
28
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29
|
+
FROM sqlite_master
|
30
|
+
WHERE name='idx_katgut_source' AND type='index'
|
31
|
+
UNION ALL
|
32
|
+
SELECT sql
|
33
|
+
FROM sqlite_temp_master
|
34
|
+
WHERE name='idx_katgut_source' AND type='index'
|
35
|
+
[0m
|
36
|
+
[1m[36mKatgut::Rule Load (1.9ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules"[0m
|
37
|
+
[1m[35m (0.2ms)[0m begin transaction
|
38
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "oishii"], ["destination", "https://kenko.cookpad.com/recipes/4327"], ["active", "t"], ["created_at", "2016-07-05 13:36:42.677941"], ["updated_at", "2016-07-05 13:36:42.677941"]]
|
39
|
+
[1m[35m (0.7ms)[0m commit transaction
|
40
|
+
|
41
|
+
|
42
|
+
Started GET "/" for ::1 at 2016-07-05 22:36:57 +0900
|
43
|
+
Processing by Rails::WelcomeController#index as HTML
|
44
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
|
45
|
+
Completed 200 OK in 37ms (Views: 37.1ms | ActiveRecord: 0.0ms)
|
46
|
+
|
47
|
+
|
48
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-05 22:37:09 +0900
|
49
|
+
Processing by Katgut::RulesController#show as HTML
|
50
|
+
Parameters: {"id"=>"oishii"}
|
51
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishii"]]
|
52
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
53
|
+
Completed 302 Found in 64ms (ActiveRecord: 1.9ms)
|
54
|
+
|
55
|
+
|
56
|
+
Started GET "/" for ::1 at 2016-07-06 14:22:58 +0900
|
57
|
+
Processing by Rails::WelcomeController#index as HTML
|
58
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
|
59
|
+
Completed 200 OK in 33ms (Views: 33.1ms | ActiveRecord: 0.0ms)
|
60
|
+
[1m[36mKatgut::Rule Load (1.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules"[0m
|
61
|
+
|
62
|
+
|
63
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-06 17:39:30 +0900
|
64
|
+
Processing by Katgut::RulesController#show as HTML
|
65
|
+
Parameters: {"id"=>"oishii"}
|
66
|
+
[1m[36mKatgut::Rule Load (0.4ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishii"]]
|
67
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
68
|
+
Completed 302 Found in 57ms (ActiveRecord: 2.4ms)
|
69
|
+
|
70
|
+
|
71
|
+
Started GET "/" for ::1 at 2016-07-11 13:15:36 +0900
|
72
|
+
Processing by Rails::WelcomeController#index as HTML
|
73
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (4.3ms)
|
74
|
+
Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms)
|
75
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
76
|
+
[1m[35mKatgut::Rule Load (3.7ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
|
77
|
+
[1m[36mKatgut::Rule Load (3.4ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
78
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
|
79
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
80
|
+
[1m[35mKatgut::Rule Load (2.5ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
|
81
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
82
|
+
[1m[35mKatgut::Rule Load (0.3ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
|
83
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
84
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
85
|
+
[1m[36mKatgut::Rule Load (0.3ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
86
|
+
[1m[35mKatgut::Rule Load (0.3ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
|
87
|
+
[1m[36mKatgut::Rule Load (0.5ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
88
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
89
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
90
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
91
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
92
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
93
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1[0m
|
94
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE ("katgut_rules"."source" = 'oishii' AND "katgut_rules"."id" != 1) LIMIT 1
|
95
|
+
[1m[36mKatgut::Rule Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1[0m
|
96
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
|
97
|
+
[1m[36mKatgut::Rule Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1[0m
|
98
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1[0m
|
99
|
+
[1m[36mKatgut::Rule Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1[0m
|
100
|
+
[1m[36mKatgut::Rule Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1[0m
|
101
|
+
|
102
|
+
|
103
|
+
Started GET "/katgut_success.html" for ::1 at 2016-07-12 19:01:54 +0900
|
104
|
+
Processing by Katgut::RulesController#show as HTML
|
105
|
+
Parameters: {"id"=>"_success"}
|
106
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "_success"]]
|
107
|
+
Rendered text template (0.0ms)
|
108
|
+
Completed 200 OK in 49ms (Views: 18.9ms | ActiveRecord: 1.4ms)
|
109
|
+
|
110
|
+
|
111
|
+
Started GET "/katgut_success.html" for ::1 at 2016-07-12 19:02:08 +0900
|
112
|
+
Processing by Katgut::RulesController#show as HTML
|
113
|
+
Parameters: {"id"=>"_success"}
|
114
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "_success"]]
|
115
|
+
Rendered text template (0.0ms)
|
116
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
117
|
+
|
118
|
+
|
119
|
+
Started GET "/katgut_success.html" for ::1 at 2016-07-12 19:34:49 +0900
|
120
|
+
Processing by Katgut::RulesController#show as HTML
|
121
|
+
Parameters: {"id"=>"_success"}
|
122
|
+
[1m[36mKatgut::Rule Load (0.6ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "_success"]]
|
123
|
+
Rendered text template (0.0ms)
|
124
|
+
Completed 500 Internal Server Error in 11ms (Views: 3.4ms | ActiveRecord: 0.8ms)
|
125
|
+
|
126
|
+
NoMethodError (undefined method `config' for Katgut:Module
|
127
|
+
Did you mean? concerning):
|
128
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:15:in `after_redirection_callback'
|
129
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:9:in `show'
|
130
|
+
actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
131
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
|
132
|
+
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
133
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
134
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
|
135
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
136
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
|
137
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
138
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
139
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
140
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
141
|
+
actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
142
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
143
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
|
144
|
+
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
145
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
|
146
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
147
|
+
actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
148
|
+
activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
149
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
|
150
|
+
actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
|
151
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
|
152
|
+
actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
153
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
|
154
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
155
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
156
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
157
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
158
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
159
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
160
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
161
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
|
162
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
|
163
|
+
actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
164
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
165
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
166
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
167
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
168
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
169
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
170
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
171
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
172
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
173
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
174
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
175
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
176
|
+
activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
|
177
|
+
activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
178
|
+
activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
|
179
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
180
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
181
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
182
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
183
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
184
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
185
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
186
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
187
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
188
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
189
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
190
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
191
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
192
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
193
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
194
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
195
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
196
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
197
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
198
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
199
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
200
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
201
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
202
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
203
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
204
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
205
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
206
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
207
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
208
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
209
|
+
|
210
|
+
|
211
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms)
|
212
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
|
213
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.0ms)
|
214
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (74.9ms)
|
215
|
+
|
216
|
+
|
217
|
+
Started GET "/katgut_success.html" for ::1 at 2016-07-12 19:35:53 +0900
|
218
|
+
Processing by Katgut::RulesController#show as HTML
|
219
|
+
Parameters: {"id"=>"_success"}
|
220
|
+
[1m[36mKatgut::Rule Load (0.9ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "_success"]]
|
221
|
+
Rendered text template (0.0ms)
|
222
|
+
Completed 200 OK in 53ms (Views: 7.5ms | ActiveRecord: 2.2ms)
|
223
|
+
|
224
|
+
|
225
|
+
Started GET "/public/katgut_success.html" for ::1 at 2016-07-12 19:36:17 +0900
|
226
|
+
|
227
|
+
ActionController::RoutingError (No route matches [GET] "/public/katgut_success.html"):
|
228
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
229
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
230
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
231
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
232
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
233
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
234
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
235
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
236
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
237
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
238
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
239
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
240
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
241
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
242
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
243
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
244
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
245
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
246
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
247
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
248
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
249
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
250
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
251
|
+
|
252
|
+
|
253
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
254
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
255
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
|
256
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (30.3ms)
|
257
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.8ms)
|
258
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (160.3ms)
|
259
|
+
|
260
|
+
|
261
|
+
Started GET "/katgut_success.html" for ::1 at 2016-07-12 19:36:23 +0900
|
262
|
+
Processing by Katgut::RulesController#show as HTML
|
263
|
+
Parameters: {"id"=>"_success"}
|
264
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "_success"]]
|
265
|
+
Rendered text template (0.0ms)
|
266
|
+
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.4ms)
|
267
|
+
|
268
|
+
|
269
|
+
Started GET "/katgut_success.html" for ::1 at 2016-07-12 19:36:48 +0900
|
270
|
+
Processing by Katgut::RulesController#show as HTML
|
271
|
+
Parameters: {"id"=>"_success"}
|
272
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "_success"]]
|
273
|
+
Rendered text template (0.0ms)
|
274
|
+
Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 0.4ms)
|
275
|
+
|
276
|
+
|
277
|
+
Started GET "/sadf" for ::1 at 2016-07-12 19:38:35 +0900
|
278
|
+
|
279
|
+
ActionController::RoutingError (No route matches [GET] "/sadf"):
|
280
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
281
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
282
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
283
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
284
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
285
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
286
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
287
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
288
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
289
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
290
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
291
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
292
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
293
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
294
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
295
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
296
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
297
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
298
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
299
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
300
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
301
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
302
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
303
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
304
|
+
|
305
|
+
|
306
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
|
307
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
308
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
|
309
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.9ms)
|
310
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.4ms)
|
311
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.7ms)
|
312
|
+
|
313
|
+
|
314
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-12 19:38:43 +0900
|
315
|
+
Processing by Katgut::RulesController#show as HTML
|
316
|
+
Parameters: {"id"=>"oishii"}
|
317
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishii"]]
|
318
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
319
|
+
Completed 302 Found in 46ms (ActiveRecord: 2.1ms)
|
320
|
+
|
321
|
+
|
322
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-12 19:42:31 +0900
|
323
|
+
Processing by Katgut::RulesController#show as HTML
|
324
|
+
Parameters: {"id"=>"oishii"}
|
325
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "oishii"]]
|
326
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
327
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
328
|
+
|
329
|
+
|
330
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-12 19:43:14 +0900
|
331
|
+
Processing by Katgut::RulesController#show as HTML
|
332
|
+
Parameters: {"id"=>"oishii"}
|
333
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishii"]]
|
334
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
335
|
+
Completed 302 Found in 34ms (ActiveRecord: 1.5ms)
|
336
|
+
|
337
|
+
|
338
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-12 19:48:31 +0900
|
339
|
+
Processing by Katgut::RulesController#show as HTML
|
340
|
+
Parameters: {"id"=>"oishii"}
|
341
|
+
[1m[35mKatgut::Rule Load (0.2ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "oishii"]]
|
342
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
343
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
344
|
+
|
345
|
+
|
346
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-12 19:48:38 +0900
|
347
|
+
Processing by Katgut::RulesController#show as HTML
|
348
|
+
Parameters: {"id"=>"oishii"}
|
349
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishii"]]
|
350
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
351
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
352
|
+
|
353
|
+
|
354
|
+
Started GET "/katgut/oishiioishii" for ::1 at 2016-07-12 19:48:40 +0900
|
355
|
+
Processing by Katgut::RulesController#show as HTML
|
356
|
+
Parameters: {"id"=>"oishiioishii"}
|
357
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "oishiioishii"]]
|
358
|
+
Redirected to
|
359
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
360
|
+
|
361
|
+
ActionController::ActionControllerError (Cannot redirect to nil!):
|
362
|
+
actionpack (4.2.6) lib/action_controller/metal/redirecting.rb:70:in `redirect_to'
|
363
|
+
actionpack (4.2.6) lib/action_controller/metal/flash.rb:57:in `redirect_to'
|
364
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to'
|
365
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
|
366
|
+
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
367
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
|
368
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to'
|
369
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:7:in `rescue in show'
|
370
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:10:in `show'
|
371
|
+
actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
372
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
|
373
|
+
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
374
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
375
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
|
376
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
377
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
|
378
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
379
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
380
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
381
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
382
|
+
actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
383
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
384
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
|
385
|
+
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
386
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
|
387
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
388
|
+
actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
389
|
+
activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
390
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
|
391
|
+
actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
|
392
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
|
393
|
+
actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
394
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
|
395
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
396
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
397
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
398
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
399
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
400
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
401
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
402
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
|
403
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
|
404
|
+
actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
405
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
406
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
407
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
408
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
409
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
410
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
411
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
412
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
413
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
414
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
415
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
416
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
417
|
+
activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
|
418
|
+
activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
419
|
+
activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
|
420
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
421
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
422
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
423
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
424
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
425
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
426
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
427
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
428
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
429
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
430
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
431
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
432
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
433
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
434
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
435
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
436
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
437
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
438
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
439
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
440
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
441
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
442
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
443
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
444
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
445
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
446
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
447
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
448
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
449
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
450
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
451
|
+
|
452
|
+
|
453
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
|
454
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
|
455
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.3ms)
|
456
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.7ms)
|
457
|
+
|
458
|
+
|
459
|
+
Started GET "/katgut/oishiioishii" for ::1 at 2016-07-12 19:48:54 +0900
|
460
|
+
Processing by Katgut::RulesController#show as HTML
|
461
|
+
Parameters: {"id"=>"oishiioishii"}
|
462
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishiioishii"]]
|
463
|
+
Redirected to
|
464
|
+
Completed 500 Internal Server Error in 30ms (ActiveRecord: 1.3ms)
|
465
|
+
|
466
|
+
ActionController::ActionControllerError (Cannot redirect to nil!):
|
467
|
+
actionpack (4.2.6) lib/action_controller/metal/redirecting.rb:70:in `redirect_to'
|
468
|
+
actionpack (4.2.6) lib/action_controller/metal/flash.rb:57:in `redirect_to'
|
469
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to'
|
470
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
|
471
|
+
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
472
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
|
473
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to'
|
474
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:7:in `rescue in show'
|
475
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:10:in `show'
|
476
|
+
actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
477
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
|
478
|
+
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
479
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
480
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
|
481
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
482
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
|
483
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
484
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
485
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
486
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
487
|
+
actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
488
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
489
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
|
490
|
+
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
491
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
|
492
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
493
|
+
actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
494
|
+
activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
495
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
|
496
|
+
actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
|
497
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
|
498
|
+
actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
499
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
|
500
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
501
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
502
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
503
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
504
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
505
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
506
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
507
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
|
508
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
|
509
|
+
actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
510
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
511
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
512
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
513
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
514
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
515
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
516
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
517
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
518
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
519
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
520
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
521
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
522
|
+
activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
|
523
|
+
activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
524
|
+
activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
|
525
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
526
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
527
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
528
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
529
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
530
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
531
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
532
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
533
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
534
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
535
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
536
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
537
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
538
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
539
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
540
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
541
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
542
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
543
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
544
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
545
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
546
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
547
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
548
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
549
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
550
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
551
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
552
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
553
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
554
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
555
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
556
|
+
|
557
|
+
|
558
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms)
|
559
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
|
560
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.2ms)
|
561
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.7ms)
|
562
|
+
|
563
|
+
|
564
|
+
Started GET "/katgut/oishiioishii" for ::1 at 2016-07-12 19:49:26 +0900
|
565
|
+
Processing by Katgut::RulesController#show as HTML
|
566
|
+
Parameters: {"id"=>"oishiioishii"}
|
567
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "oishiioishii"]]
|
568
|
+
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.3ms)
|
569
|
+
|
570
|
+
NoMethodError (undefined method `fall_back_path' for #<Katgut::Config:0x007f9adb840738 @_config={}>):
|
571
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:7:in `rescue in show'
|
572
|
+
/Users/kazuki-hamada/work/katgut/app/controllers/katgut/rules_controller.rb:10:in `show'
|
573
|
+
actionpack (4.2.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
574
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:198:in `process_action'
|
575
|
+
actionpack (4.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
576
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
577
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:117:in `call'
|
578
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
579
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:505:in `call'
|
580
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
581
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
582
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
583
|
+
actionpack (4.2.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
584
|
+
actionpack (4.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
585
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
586
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `block in instrument'
|
587
|
+
activesupport (4.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
588
|
+
activesupport (4.2.6) lib/active_support/notifications.rb:164:in `instrument'
|
589
|
+
actionpack (4.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
590
|
+
actionpack (4.2.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
591
|
+
activerecord (4.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
592
|
+
actionpack (4.2.6) lib/abstract_controller/base.rb:137:in `process'
|
593
|
+
actionview (4.2.6) lib/action_view/rendering.rb:30:in `process'
|
594
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:196:in `dispatch'
|
595
|
+
actionpack (4.2.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
596
|
+
actionpack (4.2.6) lib/action_controller/metal.rb:237:in `block in action'
|
597
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
598
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
599
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
600
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
601
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
602
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
603
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
604
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `public_send'
|
605
|
+
railties (4.2.6) lib/rails/railtie.rb:194:in `method_missing'
|
606
|
+
actionpack (4.2.6) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
607
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
608
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `each'
|
609
|
+
actionpack (4.2.6) lib/action_dispatch/journey/router.rb:30:in `serve'
|
610
|
+
actionpack (4.2.6) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
611
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
612
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
613
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
614
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
615
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
616
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
617
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
618
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
619
|
+
activerecord (4.2.6) lib/active_record/query_cache.rb:36:in `call'
|
620
|
+
activerecord (4.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
621
|
+
activerecord (4.2.6) lib/active_record/migration.rb:377:in `call'
|
622
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
623
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
624
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
625
|
+
activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
626
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
627
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
628
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
629
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
630
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
631
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
632
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
633
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
634
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
635
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
636
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
637
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
638
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
639
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
640
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
641
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
642
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
643
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
644
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
645
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
646
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
647
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
648
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
649
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
650
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
651
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
652
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
653
|
+
|
654
|
+
|
655
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
|
656
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
|
657
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
|
658
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (41.6ms)
|
659
|
+
|
660
|
+
|
661
|
+
Started GET "/katgut/oishiioishii" for ::1 at 2016-07-12 19:49:55 +0900
|
662
|
+
Processing by Katgut::RulesController#show as HTML
|
663
|
+
Parameters: {"id"=>"oishiioishii"}
|
664
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishiioishii"]]
|
665
|
+
Redirected to http://localhost:4000/
|
666
|
+
Completed 302 Found in 31ms (ActiveRecord: 1.4ms)
|
667
|
+
|
668
|
+
|
669
|
+
Started GET "/" for ::1 at 2016-07-12 19:49:55 +0900
|
670
|
+
Processing by Rails::WelcomeController#index as HTML
|
671
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (2.0ms)
|
672
|
+
Completed 200 OK in 33ms (Views: 32.4ms | ActiveRecord: 0.0ms)
|
673
|
+
|
674
|
+
|
675
|
+
Started GET "/katgut/oishii" for ::1 at 2016-07-12 19:51:02 +0900
|
676
|
+
Processing by Katgut::RulesController#show as HTML
|
677
|
+
Parameters: {"id"=>"oishii"}
|
678
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["source", "oishii"]]
|
679
|
+
Redirected to https://kenko.cookpad.com/recipes/4327
|
680
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
681
|
+
|
682
|
+
|
683
|
+
Started GET "/katgut/oishiioishii" for ::1 at 2016-07-12 19:51:14 +0900
|
684
|
+
Processing by Katgut::RulesController#show as HTML
|
685
|
+
Parameters: {"id"=>"oishiioishii"}
|
686
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1[0m [["source", "oishiioishii"]]
|
687
|
+
Redirected to http://localhost:4000/
|
688
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
689
|
+
|
690
|
+
|
691
|
+
Started GET "/" for ::1 at 2016-07-12 19:51:14 +0900
|
692
|
+
Processing by Rails::WelcomeController#index as HTML
|
693
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
694
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
695
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
696
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
697
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
698
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
699
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
700
|
+
Migrating to CreateKatgutRules (20160704065128)
|
701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
702
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "katgut_rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source" varchar NOT NULL, "destination" varchar NOT NULL, "active" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
703
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
704
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "idx_katgut_source" ON "katgut_rules" ("source")[0m
|
705
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160704065128"]]
|
706
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
707
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
708
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
709
|
+
FROM sqlite_master
|
710
|
+
WHERE name='idx_katgut_source' AND type='index'
|
711
|
+
UNION ALL
|
712
|
+
SELECT sql
|
713
|
+
FROM sqlite_temp_master
|
714
|
+
WHERE name='idx_katgut_source' AND type='index'
|
715
|
+
[0m
|
716
|
+
[1m[36mKatgut::Rule Load (1.7ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules"[0m
|
717
|
+
|
718
|
+
|
719
|
+
Started GET "/toritsugi_success.html" for ::1 at 2016-07-14 11:32:10 +0900
|
720
|
+
|
721
|
+
ActionController::RoutingError (No route matches [GET] "/toritsugi_success.html"):
|
722
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
723
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
724
|
+
railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
|
725
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
|
726
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
727
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
728
|
+
activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
729
|
+
railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
|
730
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
731
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
732
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
733
|
+
activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
734
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
735
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
736
|
+
actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
|
737
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
738
|
+
railties (4.2.6) lib/rails/engine.rb:518:in `call'
|
739
|
+
railties (4.2.6) lib/rails/application.rb:165:in `call'
|
740
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
741
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
742
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
743
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
|
744
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
|
745
|
+
/Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
|
746
|
+
|
747
|
+
|
748
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
749
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
750
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
|
751
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (27.1ms)
|
752
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.3ms)
|
753
|
+
Rendered /Users/kazuki-hamada/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (164.8ms)
|