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.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +107 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/javascripts/katgut/application.js +13 -0
  6. data/app/assets/stylesheets/katgut/application.css +15 -0
  7. data/app/controllers/katgut/application_controller.rb +5 -0
  8. data/app/controllers/katgut/rules_controller.rb +21 -0
  9. data/app/helpers/katgut/application_helper.rb +4 -0
  10. data/app/models/katgut/rule.rb +57 -0
  11. data/app/views/layouts/katgut/application.html.erb +14 -0
  12. data/config/routes.rb +3 -0
  13. data/db/migrate/20160704065128_create_katgut_rules.rb +13 -0
  14. data/lib/generators/katgut/initializer/USAGE +9 -0
  15. data/lib/generators/katgut/initializer/initializer_generator.rb +9 -0
  16. data/lib/generators/katgut/initializer/templates/initializer.rb +4 -0
  17. data/lib/katgut.rb +12 -0
  18. data/lib/katgut/config.rb +11 -0
  19. data/lib/katgut/engine.rb +14 -0
  20. data/lib/katgut/version.rb +3 -0
  21. data/lib/tasks/katgut_tasks.rake +4 -0
  22. data/public/katgut_success.html +14 -0
  23. data/spec/controllers/rules_controller_spec.rb +35 -0
  24. data/spec/dummy/README.rdoc +28 -0
  25. data/spec/dummy/Rakefile +6 -0
  26. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  28. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  29. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  30. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/spec/dummy/bin/bundle +3 -0
  32. data/spec/dummy/bin/rails +4 -0
  33. data/spec/dummy/bin/rake +4 -0
  34. data/spec/dummy/bin/setup +29 -0
  35. data/spec/dummy/config.ru +4 -0
  36. data/spec/dummy/config/application.rb +26 -0
  37. data/spec/dummy/config/boot.rb +5 -0
  38. data/spec/dummy/config/database.yml +25 -0
  39. data/spec/dummy/config/environment.rb +5 -0
  40. data/spec/dummy/config/environments/development.rb +41 -0
  41. data/spec/dummy/config/environments/production.rb +79 -0
  42. data/spec/dummy/config/environments/test.rb +42 -0
  43. data/spec/dummy/config/initializers/assets.rb +11 -0
  44. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  46. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/spec/dummy/config/initializers/inflections.rb +16 -0
  48. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  49. data/spec/dummy/config/initializers/session_store.rb +3 -0
  50. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/spec/dummy/config/locales/en.yml +23 -0
  52. data/spec/dummy/config/routes.rb +4 -0
  53. data/spec/dummy/config/secrets.yml +22 -0
  54. data/spec/dummy/db/development.sqlite3 +0 -0
  55. data/spec/dummy/db/schema.rb +26 -0
  56. data/spec/dummy/db/test.sqlite3 +0 -0
  57. data/spec/dummy/log/development.log +753 -0
  58. data/spec/dummy/log/test.log +6697 -0
  59. data/spec/dummy/public/404.html +67 -0
  60. data/spec/dummy/public/422.html +67 -0
  61. data/spec/dummy/public/500.html +66 -0
  62. data/spec/dummy/public/favicon.ico +0 -0
  63. data/spec/dummy/tmp/pids/server.pid +1 -0
  64. data/spec/factories/rules.rb +7 -0
  65. data/spec/integration/navigation_test.rb +8 -0
  66. data/spec/katgut_test.rb +7 -0
  67. data/spec/models/katgut/rule_spec.rb +67 -0
  68. data/spec/rails_helper.rb +30 -0
  69. data/spec/requests/rules_spec.rb +50 -0
  70. data/spec/spec_helper.rb +12 -0
  71. data/spec/support/factory_girl.rb +3 -0
  72. data/spec/test_helper.rb +21 -0
  73. metadata +241 -0
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -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,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount Katgut::Engine => "/katgut"
4
+ end
@@ -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
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.4ms) select sqlite_version(*)
3
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateKatgutRules (20160704065128)
6
+  (0.1ms) begin transaction
7
+  (0.7ms) 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
+  (0.6ms) rollback transaction
9
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+ Migrating to CreateKatgutRules (20160704065128)
11
+  (0.1ms) begin transaction
12
+  (0.4ms) 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) 
13
+  (0.1ms) select sqlite_version(*)
14
+  (0.4ms) CREATE UNIQUE INDEX "idx_katgut_source" ON "katgut_rules" ("source")
15
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160704065128"]]
16
+  (1.3ms) commit transaction
17
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
+  (0.1ms)  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
+ 
26
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
28
+  (0.1ms)  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
+ 
36
+ Katgut::Rule Load (1.9ms) SELECT "katgut_rules".* FROM "katgut_rules"
37
+  (0.2ms) begin transaction
38
+ SQL (1.0ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.7ms) 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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (1.2ms) SELECT "katgut_rules".* FROM "katgut_rules"
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
+ Katgut::Rule Load (0.4ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
76
+ Katgut::Rule Load (3.7ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
77
+ Katgut::Rule Load (3.4ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
78
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
79
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
80
+ Katgut::Rule Load (2.5ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
81
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
82
+ Katgut::Rule Load (0.3ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
83
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
84
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
85
+ Katgut::Rule Load (0.3ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
86
+ Katgut::Rule Load (0.3ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
87
+ Katgut::Rule Load (0.5ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
88
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
89
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
90
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
91
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
92
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
93
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" ASC LIMIT 1
94
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE ("katgut_rules"."source" = 'oishii' AND "katgut_rules"."id" != 1) LIMIT 1
95
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
96
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
97
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
98
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
99
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
100
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'hellohello' LIMIT 1
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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.1ms) 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
+ Katgut::Rule Load (0.6ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.9ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.1ms) 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
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.1ms) 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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.2ms) 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
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.1ms) 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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.1ms) 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
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+ Katgut::Rule Load (0.1ms) 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
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."source" = ? LIMIT 1 [["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
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
696
+  (0.1ms) select sqlite_version(*)
697
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
698
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
699
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
700
+ Migrating to CreateKatgutRules (20160704065128)
701
+  (0.1ms) begin transaction
702
+  (0.6ms) 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) 
703
+  (0.1ms) select sqlite_version(*)
704
+  (0.6ms) CREATE UNIQUE INDEX "idx_katgut_source" ON "katgut_rules" ("source")
705
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160704065128"]]
706
+  (8.2ms) commit transaction
707
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
708
+  (0.2ms)  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
+ 
716
+ Katgut::Rule Load (1.7ms) SELECT "katgut_rules".* FROM "katgut_rules"
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)