DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from load at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/bin/rake:23)  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-01-25 10:39:46 UTC], ["updated_at", 2017-01-25 10:39:46 UTC]]  (1.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for ::1 at 2017-01-25 19:39:58 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (5.2ms) Completed 200 OK in 19ms (Views: 14.7ms | ActiveRecord: 0.0ms) DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from require at bin/rails:4) DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from require at bin/rails:4) DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from load at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/bin/rake:23) ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20170125104217)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170125104217"]]  (1.5ms) commit transaction Migrating to CreateMakers (20170125104249)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "makers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name_ja" varchar, "name_en" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170125104249"]]  (2.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/producsts" for ::1 at 2017-01-25 19:43:29 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActionController::RoutingError (No route matches [GET] "/producsts"): vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered collection of vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [16 times] (11.6ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (13.4ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.7ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (137.6ms) Started GET "/products" for ::1 at 2017-01-25 19:43:31 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (4.6ms) Completed 200 OK in 342ms (Views: 329.0ms | ActiveRecord: 1.7ms) Started GET "/assets/makers.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/products.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/scaffold.self-f87869baadacf2097cd85c60bf8679819cf7c448b74b7458a3e8c392eceb33be.css?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/autocompl.self-6d7fab9e736b5a64ab2fd063444bc8737b54f6e0a559c2a6a04149d952a75017.css?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/application.self-89655ea40500a342dad2ac571974c28abab3e3897c63fef4c2d06d7564836879.js?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/makers.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/autocompl.self-67ff99923044b044d08314ce8b3a574a554220a0d2ecffeb9a914a9cbb11255c.js?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/assets/products.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2017-01-25 19:43:31 +0900 Started GET "/products/new" for ::1 at 2017-01-25 19:43:34 +0900 Processing by ProductsController#new as HTML Rendering products/new.html.erb within layouts/application Rendered products/_form.html.erb (20.0ms) Rendered products/new.html.erb within layouts/application (23.0ms) Completed 200 OK in 45ms (Views: 38.8ms | ActiveRecord: 0.4ms) Started POST "/products" for ::1 at 2017-01-25 19:43:40 +0900 Processing by ProductsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YNmMwy4VP877atbiEriNhiLof7Yf7cQvE29k0d9BvLfOdtgXHZRwzfTlpGyDZmH9TxEj6R/uFAsJTWCJTTtrGg==", "product"=>{"name"=>"みかん"}, "commit"=>"Create Product"}  (0.1ms) begin transaction SQL (1.9ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "みかん"], ["created_at", 2017-01-25 10:43:40 UTC], ["updated_at", 2017-01-25 10:43:40 UTC]]  (1.6ms) commit transaction Redirected to http://localhost:3000/products/1 Completed 302 Found in 11ms (ActiveRecord: 3.5ms) Started GET "/products/1" for ::1 at 2017-01-25 19:43:40 +0900 Processing by ProductsController#show as HTML Parameters: {"id"=>"1"} Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering products/show.html.erb within layouts/application Rendered products/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 24ms (Views: 16.0ms | ActiveRecord: 0.2ms) Started GET "/products/1/edit" for ::1 at 2017-01-25 19:43:42 +0900 Processing by ProductsController#edit as HTML Parameters: {"id"=>"1"} Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering products/edit.html.erb within layouts/application Rendered products/_form.html.erb (3.1ms) Rendered products/edit.html.erb within layouts/application (6.1ms) Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.1ms) Started GET "/products" for ::1 at 2017-01-25 19:43:43 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.4ms) Started GET "/products/new" for ::1 at 2017-01-25 19:43:44 +0900 Processing by ProductsController#new as HTML Rendering products/new.html.erb within layouts/application Rendered products/_form.html.erb (3.7ms) Rendered products/new.html.erb within layouts/application (6.8ms) Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.0ms) Started POST "/products" for ::1 at 2017-01-25 19:43:47 +0900 Processing by ProductsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gr5Aaz8NJS01R4+g0utXsC23fePQ67kRlDjZd1yzF320ERS/DIxqLjrI/S5DNbvLQE4hvNDoaTWOGt0vzsnA0A==", "product"=>{"name"=>"りんご"}, "commit"=>"Create Product"}  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "りんご"], ["created_at", 2017-01-25 10:43:47 UTC], ["updated_at", 2017-01-25 10:43:47 UTC]]  (0.7ms) commit transaction Redirected to http://localhost:3000/products/2 Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET "/products/2" for ::1 at 2017-01-25 19:43:47 +0900 Processing by ProductsController#show as HTML Parameters: {"id"=>"2"} Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendering products/show.html.erb within layouts/application Rendered products/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.1ms) Started GET "/products" for ::1 at 2017-01-25 19:43:48 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (3.4ms) Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 0.1ms) Started GET "/products/new" for ::1 at 2017-01-25 19:43:49 +0900 Processing by ProductsController#new as HTML Rendering products/new.html.erb within layouts/application Rendered products/_form.html.erb (2.2ms) Rendered products/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms) Started POST "/products" for ::1 at 2017-01-25 19:43:52 +0900 Processing by ProductsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XIL+51KhyhiW3hE/EjuULL8HYOUft+FuhSuwKzT87WfyLaozYSCFG5lRY7GD5XhX0v48uh+0MUqfCbRzpoY6yg==", "product"=>{"name"=>"メロン"}, "commit"=>"Create Product"}  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "メロン"], ["created_at", 2017-01-25 10:43:52 UTC], ["updated_at", 2017-01-25 10:43:52 UTC]]  (1.6ms) commit transaction Redirected to http://localhost:3000/products/3 Completed 302 Found in 4ms (ActiveRecord: 2.0ms) Started GET "/products/3" for ::1 at 2017-01-25 19:43:52 +0900 Processing by ProductsController#show as HTML Parameters: {"id"=>"3"} Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] Rendering products/show.html.erb within layouts/application Rendered products/show.html.erb within layouts/application (2.4ms) Completed 200 OK in 19ms (Views: 15.9ms | ActiveRecord: 0.2ms) Started GET "/products" for ::1 at 2017-01-25 19:43:53 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.1ms) Started GET "/" for ::1 at 2017-01-25 19:44:03 +0900 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (3.5ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2017-01-25 19:44:48 +0900 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:44:51 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (6.9ms) Completed 200 OK in 53ms (Views: 45.4ms | ActiveRecord: 0.6ms) Started GET "/products" for ::1 at 2017-01-25 19:45:25 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.7ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (11.1ms) Completed 200 OK in 61ms (Views: 51.6ms | ActiveRecord: 2.1ms) Started GET "/products" for ::1 at 2017-01-25 19:45:39 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (24.3ms) Completed 200 OK in 314ms (Views: 303.2ms | ActiveRecord: 0.6ms) Started GET "/products" for ::1 at 2017-01-25 19:49:26 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.3ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (27.3ms) Completed 200 OK in 510ms (Views: 502.5ms | ActiveRecord: 1.9ms) Started GET "/assets/products.self-d63cae49211ca0e9af84e6ae81e03d741e45a0448a4186866052415ecf4217a8.js?body=1" for ::1 at 2017-01-25 19:49:27 +0900 Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2017-01-25 19:49:27 +0900 Started GET "/products" for ::1 at 2017-01-25 19:51:03 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (2.0ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (8.0ms) Completed 200 OK in 131ms (Views: 127.0ms | ActiveRecord: 2.0ms) Started GET "/assets/products.self-7bb0b66347d7625db19081a451b3265730d495237d2c707f8e78089c5fe193a1.js?body=1" for ::1 at 2017-01-25 19:51:03 +0900 Started GET "/products" for ::1 at 2017-01-25 19:51:47 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (24.3ms) Completed 200 OK in 415ms (Views: 407.2ms | ActiveRecord: 1.7ms) Started GET "/products" for ::1 at 2017-01-25 19:52:06 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 86ms (Views: 84.4ms | ActiveRecord: 0.1ms) Started GET "/products" for ::1 at 2017-01-25 19:52:08 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.1ms) Started GET "/products" for ::1 at 2017-01-25 19:52:39 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (4.5ms) Completed 200 OK in 99ms (Views: 97.5ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?q=pro" for ::1 at 2017-01-25 19:52:42 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"pro"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=prog" for ::1 at 2017-01-25 19:52:43 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"prog"} Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:53:26 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (28.9ms) Completed 200 OK in 390ms (Views: 382.1ms | ActiveRecord: 2.0ms) Started GET "/products/autocomplete_endpoint?q=pro" for ::1 at 2017-01-25 19:53:30 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"pro"} Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=prog" for ::1 at 2017-01-25 19:53:30 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"prog"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:54:20 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (10.6ms) Completed 200 OK in 59ms (Views: 53.0ms | ActiveRecord: 0.5ms) Started GET "/products/autocomplete_endpoint?q=Ruby" for ::1 at 2017-01-25 19:54:32 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Ruby"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Rub" for ::1 at 2017-01-25 19:54:57 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Rub"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Rub" for ::1 at 2017-01-25 19:54:59 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Rub"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=BASIC" for ::1 at 2017-01-25 19:55:02 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"BASIC"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=R%E9%9B%A8by" for ::1 at 2017-01-25 19:55:03 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"R雨by"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=R%E3%81%86b" for ::1 at 2017-01-25 19:55:03 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Rうb"} Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Ruy" for ::1 at 2017-01-25 19:55:04 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Ruy"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=BASIC" for ::1 at 2017-01-25 19:55:05 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"BASIC"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Assemb" for ::1 at 2017-01-25 19:55:10 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Assemb"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:56:27 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (27.5ms) Completed 200 OK in 500ms (Views: 491.8ms | ActiveRecord: 1.7ms) Started GET "/assets/products.self-bed475b6e1b5d36805db4b2af6df135a62daccf3163390f0445b01147fc76e34.js?body=1" for ::1 at 2017-01-25 19:56:28 +0900 Started GET "/products/autocomplete_endpoint?q=prog" for ::1 at 2017-01-25 19:56:30 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"prog"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=progra" for ::1 at 2017-01-25 19:56:31 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"progra"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Assemblydsf" for ::1 at 2017-01-25 19:56:41 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Assemblydsf"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Assemblydsfok" for ::1 at 2017-01-25 19:56:41 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Assemblydsfok"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Assemblydsfokkk" for ::1 at 2017-01-25 19:56:42 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Assemblydsfokkk"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:57:25 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 83ms (Views: 81.2ms | ActiveRecord: 0.1ms) Started GET "/assets/products.self-ab66853a317e76834d4457da31e54a5598147ce0cca59880d86b592031f35d7c.js?body=1" for ::1 at 2017-01-25 19:57:25 +0900 Started GET "/products/autocomplete_endpoint?q=Actio" for ::1 at 2017-01-25 19:57:34 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Actio"} Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Action" for ::1 at 2017-01-25 19:57:34 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Action"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:57:48 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 86ms (Views: 84.2ms | ActiveRecord: 0.1ms) Started GET "/assets/products.self-6bd155a2928d99ac9e402a9254fb15cdd6992761f3d53e538a7c0a63d1108fa5.js?body=1" for ::1 at 2017-01-25 19:57:48 +0900 Started GET "/products/autocomplete_endpoint?q=Action" for ::1 at 2017-01-25 19:57:52 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Action"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=ActionScriptS" for ::1 at 2017-01-25 19:57:53 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"ActionScriptS"} Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=ActionScriptS" for ::1 at 2017-01-25 19:57:54 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"ActionScriptS"} Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Has" for ::1 at 2017-01-25 19:58:00 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Has"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Haske" for ::1 at 2017-01-25 19:58:01 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Haske"} Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:58:15 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 96ms (Views: 94.9ms | ActiveRecord: 0.1ms) Started GET "/assets/products.self-68858651f475c1ce03e611db3fd51b16b208ff546f83f78deb6460905ad1fc6f.js?body=1" for ::1 at 2017-01-25 19:58:15 +0900 Started GET "/products/autocomplete_endpoint?q=Act" for ::1 at 2017-01-25 19:58:17 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Act"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Actio" for ::1 at 2017-01-25 19:58:18 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Actio"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Act" for ::1 at 2017-01-25 19:58:20 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Act"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Rub" for ::1 at 2017-01-25 19:58:23 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Rub"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:58:35 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 80ms (Views: 78.3ms | ActiveRecord: 0.2ms) Started GET "/assets/products.self-4b82b3c55aa3cca4bb74b7623132f8ca3fe4b79627a8a6915f73a6f9cd4992f9.js?body=1" for ::1 at 2017-01-25 19:58:35 +0900 Started GET "/products/autocomplete_endpoint?q=Ruby" for ::1 at 2017-01-25 19:58:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Ruby"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Asp" for ::1 at 2017-01-25 19:58:50 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Asp"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 19:59:38 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 78ms (Views: 76.4ms | ActiveRecord: 0.1ms) Started GET "/assets/products.self-135457bdde0fb7e8524d93e66ff89c1233efeee483b3622bf48929cca6d37ea2.js?body=1" for ::1 at 2017-01-25 19:59:38 +0900 Started GET "/products/autocomplete_endpoint?q=fa%C2%A5" for ::1 at 2017-01-25 19:59:41 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"fa¥"} Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Act" for ::1 at 2017-01-25 19:59:43 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Act"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=ActionScript" for ::1 at 2017-01-25 19:59:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"ActionScript"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Aci" for ::1 at 2017-01-25 19:59:47 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Aci"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Acti" for ::1 at 2017-01-25 19:59:47 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Acti"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?q=Actio" for ::1 at 2017-01-25 19:59:47 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"Actio"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 20:07:23 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (29.0ms) Completed 200 OK in 381ms (Views: 372.5ms | ActiveRecord: 2.1ms) Started GET "/products/autocomplete_endpoint?q=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 20:07:28 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"q"=>"みかん"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 20:08:03 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (3.6ms) Completed 200 OK in 100ms (Views: 98.5ms | ActiveRecord: 0.4ms) Started GET "/assets/products.self-ff3bac2348e428e445c8b99709cc7e83b7afa96e2b0e20795d1c94a7698fa94d.js?body=1" for ::1 at 2017-01-25 20:08:04 +0900 Started GET "/products/autocomplete_endpoint?term=%E3%83%9F%E3%82%ABn" for ::1 at 2017-01-25 20:08:06 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"ミカn"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-25 20:08:09 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%9F%E3%82%ABn" for ::1 at 2017-01-25 20:08:13 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"ミカn"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%81%A0" for ::1 at 2017-01-25 20:08:17 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんだ"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 20:09:00 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.3ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 46ms (Views: 44.1ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 20:09:05 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93a" for ::1 at 2017-01-25 20:09:14 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんa"} Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=Act" for ::1 at 2017-01-25 20:09:15 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"Act"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=Action" for ::1 at 2017-01-25 20:09:15 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"Action"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=ActionScrip" for ::1 at 2017-01-25 20:09:17 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"ActionScrip"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 20:13:34 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 77ms (Views: 74.8ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%9F%E3%82%ABn" for ::1 at 2017-01-25 20:13:40 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"ミカn"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 20:13:40 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 20:13:58 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 47ms (Views: 45.3ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:14:03 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-25 20:14:41 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.0ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (25.4ms) Completed 200 OK in 407ms (Views: 397.4ms | ActiveRecord: 1.6ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93g" for ::1 at 2017-01-25 20:14:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんg"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `each' for :name:Symbol): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.4ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (67.6ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:14:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `each' for :name:Symbol): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (1.0ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.9ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (56.9ms) Started GET "/products" for ::1 at 2017-01-25 20:17:04 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.3ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (27.8ms) Completed 200 OK in 355ms (Views: 348.6ms | ActiveRecord: 1.8ms) Started GET "/products/autocomplete_endpoint?term=%E6%9D%8Egn" for ::1 at 2017-01-25 20:17:06 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"李gn"} Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) ArgumentError (wrong number of arguments (given 0, expected 1)): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `is_a?' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.9ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.4ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (66.9ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:17:08 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) ArgumentError (wrong number of arguments (given 0, expected 1)): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `is_a?' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.6ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (65.8ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-25 20:17:13 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごあ"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) ArgumentError (wrong number of arguments (given 0, expected 1)): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `is_a?' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.6ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (65.7ms) Started GET "/products" for ::1 at 2017-01-25 20:18:18 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (28.9ms) Completed 200 OK in 349ms (Views: 339.9ms | ActiveRecord: 2.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:18:20 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `each' for :name:Symbol): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.8ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.1ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (69.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-25 20:18:46 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごあ"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `each' for :name:Symbol): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.9ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (68.8ms) Started GET "/products" for ::1 at 2017-01-25 20:18:58 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.3ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (28.5ms) Completed 200 OK in 289ms (Views: 281.3ms | ActiveRecord: 2.0ms) Started GET "/products/autocomplete_endpoint?term=%E6%84%9B%E3%81%86%E3%81%82" for ::1 at 2017-01-25 20:19:02 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"愛うあ"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `each' for :name:Symbol): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:7:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.1ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (71.9ms) Started GET "/products" for ::1 at 2017-01-25 20:19:49 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.3ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (25.2ms) Completed 200 OK in 344ms (Views: 334.4ms | ActiveRecord: 2.4ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%82%E3%81%86%E3%81%84" for ::1 at 2017-01-25 20:19:52 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"あうい"} Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `each' for :name:Symbol): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:7:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:20:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.5ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (73.0ms) Started GET "/products" for ::1 at 2017-01-25 20:20:37 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (30.0ms) Completed 200 OK in 345ms (Views: 337.7ms | ActiveRecord: 2.2ms) Started GET "/products/autocomplete_endpoint?term=%E9%9D%92%E3%81%86%E3%81%84" for ::1 at 2017-01-25 20:20:41 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"青うい"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) TypeError (no implicit conversion of Symbol into Integer): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `initialize' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `new' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:19:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.7ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.2ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (76.9ms) Started GET "/products" for ::1 at 2017-01-25 20:24:01 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (31.2ms) Completed 200 OK in 445ms (Views: 435.2ms | ActiveRecord: 1.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:24:04 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `get_columns' for # Did you mean? get_collection): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:18:in `block (2 levels) in autocomplete' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/definder.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.9ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (2.0ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (79.6ms) Started GET "/products" for ::1 at 2017-01-25 20:25:19 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (27.8ms) Completed 200 OK in 358ms (Views: 351.0ms | ActiveRecord: 2.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93g" for ::1 at 2017-01-25 20:25:22 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんg"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:25:22 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93g" for ::1 at 2017-01-25 20:25:26 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんg"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94p" for ::1 at 2017-01-25 20:25:26 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごp"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%AD%E3%82%93" for ::1 at 2017-01-25 20:25:31 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%ADn" for ::1 at 2017-01-25 20:25:33 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%AD%E3%83%B3" for ::1 at 2017-01-25 20:25:33 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロン"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms) Started GET "/makers" for ::1 at 2017-01-25 20:25:54 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.6ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (5.7ms) Completed 200 OK in 34ms (Views: 24.8ms | ActiveRecord: 2.0ms) Started GET "/makers/new" for ::1 at 2017-01-25 20:25:56 +0900 Processing by MakersController#new as HTML Rendering makers/new.html.erb within layouts/application Rendered makers/_form.html.erb (30.3ms) Rendered makers/new.html.erb within layouts/application (33.2ms) Completed 200 OK in 69ms (Views: 62.4ms | ActiveRecord: 0.3ms) Started POST "/makers" for ::1 at 2017-01-25 20:26:14 +0900 Processing by MakersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8d9iXaSTQ+bRAbT1G7SdxKHyqwIB49OUZ/G9/kKt/ZdfcDaJlxIM5d6OxnuKanG/zAv3XQHgA7B907mm0NcqOg==", "maker"=>{"name_ja"=>"青山の農家", "name_en"=>"Aoyama no nouka"}, "commit"=>"Create Maker"}  (0.1ms) begin transaction SQL (1.6ms) INSERT INTO "makers" ("name_ja", "name_en", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name_ja", "青山の農家"], ["name_en", "Aoyama no nouka"], ["created_at", 2017-01-25 11:26:14 UTC], ["updated_at", 2017-01-25 11:26:14 UTC]]  (1.6ms) commit transaction Redirected to http://localhost:3000/makers/1 Completed 302 Found in 11ms (ActiveRecord: 3.2ms) Started GET "/makers/1" for ::1 at 2017-01-25 20:26:14 +0900 Processing by MakersController#show as HTML Parameters: {"id"=>"1"} Maker Load (0.1ms) SELECT "makers".* FROM "makers" WHERE "makers"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendering makers/show.html.erb within layouts/application Rendered makers/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 42ms (Views: 34.8ms | ActiveRecord: 0.1ms) Started GET "/makers" for ::1 at 2017-01-25 20:26:16 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.1ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.1ms) Started GET "/makers/new" for ::1 at 2017-01-25 20:26:17 +0900 Processing by MakersController#new as HTML Rendering makers/new.html.erb within layouts/application Rendered makers/_form.html.erb (1.9ms) Rendered makers/new.html.erb within layouts/application (4.9ms) Completed 200 OK in 31ms (Views: 27.2ms | ActiveRecord: 0.0ms) Started POST "/makers" for ::1 at 2017-01-25 20:26:27 +0900 Processing by MakersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9bB9wU1r6PtTuoPguOvcrS43TTs2W2vIPijdNR81HQZbHykVfuqn+Fw18W4pNTDWQ84RZDZYu+wkCtltjU/Kqw==", "maker"=>{"name_ja"=>"岩手の農家", "name_en"=>"Iwate no nouka"}, "commit"=>"Create Maker"}  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "makers" ("name_ja", "name_en", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name_ja", "岩手の農家"], ["name_en", "Iwate no nouka"], ["created_at", 2017-01-25 11:26:27 UTC], ["updated_at", 2017-01-25 11:26:27 UTC]]  (2.1ms) commit transaction Redirected to http://localhost:3000/makers/2 Completed 302 Found in 7ms (ActiveRecord: 2.8ms) Started GET "/makers/2" for ::1 at 2017-01-25 20:26:27 +0900 Processing by MakersController#show as HTML Parameters: {"id"=>"2"} Maker Load (0.2ms) SELECT "makers".* FROM "makers" WHERE "makers"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendering makers/show.html.erb within layouts/application Rendered makers/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 20ms (Views: 16.7ms | ActiveRecord: 0.2ms) Started GET "/makers" for ::1 at 2017-01-25 20:26:29 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.2ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.2ms) Started GET "/makers" for ::1 at 2017-01-25 20:27:45 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.2ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 104ms (Views: 94.4ms | ActiveRecord: 0.6ms) Started GET "/assets/makers.self-ba2492a5adc36258bb3d6077928e6e6a59a416fda423e3c77d8c58c1eaa2cab3.js?body=1" for ::1 at 2017-01-25 20:27:46 +0900 Started GET "/makers" for ::1 at 2017-01-25 20:28:07 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.1ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (25.7ms) Completed 200 OK in 380ms (Views: 374.1ms | ActiveRecord: 0.8ms) Started GET "/products/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-25 20:28:10 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoya"} Product Load (1.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.7ms) Started GET "/makers" for ::1 at 2017-01-25 20:28:41 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.1ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 88ms (Views: 86.5ms | ActiveRecord: 0.1ms) Started GET "/assets/makers.self-4a32955dc63ced7af496ebd8618205f91cd577ed037385edcf09598a27e0b577.js?body=1" for ::1 at 2017-01-25 20:28:41 +0900 Started GET "/products/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-25 20:28:43 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoya"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=Aoyam" for ::1 at 2017-01-25 20:28:43 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoyam"} Product Load (0.5ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.5ms) Started GET "/makers" for ::1 at 2017-01-25 20:28:57 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.2ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 102ms (Views: 99.7ms | ActiveRecord: 0.2ms) Started GET "/assets/makers.self-d1b144ed86554ea4e22376e377d8ecdf67aeb0aee10316d7282a6f84019bdb27.js?body=1" for ::1 at 2017-01-25 20:28:57 +0900 Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-25 20:29:00 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoya"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.3ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/makers/autocomplete_endpoint?term=Aoyama+no+nouka" for ::1 at 2017-01-25 20:29:01 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoyama no nouka"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.3ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.9ms) Started GET "/makers/autocomplete_endpoint?term=%E9%9D%92%E5%B1%B1%E3%81%AE" for ::1 at 2017-01-25 20:29:04 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"青山の"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 20:29:06 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms) Started GET "/products" for ::1 at 2017-01-25 21:59:11 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.6ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (29.8ms) Completed 200 OK in 434ms (Views: 424.6ms | ActiveRecord: 2.7ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%9F%E3%82%ABn" for ::1 at 2017-01-25 21:59:15 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"ミカn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 21:59:15 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93k" for ::1 at 2017-01-25 21:59:16 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんk"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 21:59:19 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products" for ::1 at 2017-01-25 22:08:31 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (26.5ms) Completed 200 OK in 397ms (Views: 388.4ms | ActiveRecord: 2.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 22:08:35 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Started GET "/products" for ::1 at 2017-01-25 22:47:40 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (27.8ms) Completed 200 OK in 382ms (Views: 371.7ms | ActiveRecord: 1.9ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 22:47:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Started GET "/makers" for ::1 at 2017-01-25 22:47:52 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.7ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (7.6ms) Completed 200 OK in 32ms (Views: 22.5ms | ActiveRecord: 2.1ms) Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-25 22:47:55 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoya"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms) Started GET "/makers/autocomplete_endpoint?term=Aoyama" for ::1 at 2017-01-25 22:47:55 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoyama"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms) Started GET "/makers/autocomplete_endpoint?term=aoyam" for ::1 at 2017-01-25 22:47:56 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"aoyam"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms) Started GET "/products" for ::1 at 2017-01-25 23:35:33 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (2.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (45.6ms) Completed 200 OK in 431ms (Views: 421.0ms | ActiveRecord: 3.5ms) Started GET "/products/autocomplete_endpoint?term=test" for ::1 at 2017-01-25 23:35:35 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"test"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=tes" for ::1 at 2017-01-25 23:35:36 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"tes"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%82%93k" for ::1 at 2017-01-25 23:35:38 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みんk"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 23:35:38 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products" for ::1 at 2017-01-25 23:35:50 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.1ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 23:35:53 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/" for ::1 at 2017-01-26 08:53:21 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (5.5ms) Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-26 08:53:28 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.4ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (25.3ms) Completed 200 OK in 348ms (Views: 337.8ms | ActiveRecord: 2.0ms) Started GET "/assets/makers.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/scaffold.self-f87869baadacf2097cd85c60bf8679819cf7c448b74b7458a3e8c392eceb33be.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/products.self-ff3bac2348e428e445c8b99709cc7e83b7afa96e2b0e20795d1c94a7698fa94d.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/autocompl.self-6d7fab9e736b5a64ab2fd063444bc8737b54f6e0a559c2a6a04149d952a75017.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/autocompl.self-67ff99923044b044d08314ce8b3a574a554220a0d2ecffeb9a914a9cbb11255c.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/products.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/assets/makers.self-d1b144ed86554ea4e22376e377d8ecdf67aeb0aee10316d7282a6f84019bdb27.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900 Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%81%82" for ::1 at 2017-01-26 08:53:49 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんあ"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products" for ::1 at 2017-01-26 08:54:23 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (5.0ms) Completed 200 OK in 60ms (Views: 57.2ms | ActiveRecord: 0.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 08:54:29 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%82%8A" for ::1 at 2017-01-26 08:54:36 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんり"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93g" for ::1 at 2017-01-26 08:54:39 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんg"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 08:54:39 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-26 08:56:01 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (26.8ms) Completed 200 OK in 353ms (Views: 344.0ms | ActiveRecord: 1.7ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%9F%E3%82%ABn" for ::1 at 2017-01-26 08:56:04 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"ミカn"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93m" for ::1 at 2017-01-26 08:56:08 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんm"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93m" for ::1 at 2017-01-26 08:56:08 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんm"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93n" for ::1 at 2017-01-26 08:56:09 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんn"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%82%93" for ::1 at 2017-01-26 08:56:09 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんん"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%81%82" for ::1 at 2017-01-26 08:56:11 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんあ"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%81%82" for ::1 at 2017-01-26 08:56:12 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかあ"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-26 08:57:43 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (19.8ms) Completed 200 OK in 284ms (Views: 280.3ms | ActiveRecord: 0.7ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 08:57:46 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products" for ::1 at 2017-01-26 08:58:59 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (18.7ms) Completed 200 OK in 286ms (Views: 282.5ms | ActiveRecord: 0.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 08:59:02 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products" for ::1 at 2017-01-26 08:59:35 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (24.0ms) Completed 200 OK in 301ms (Views: 295.5ms | ActiveRecord: 1.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 08:59:37 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms) DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from require at bin/rails:4) Started GET "/products" for ::1 at 2017-01-26 09:06:00 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (25.4ms) Completed 200 OK in 493ms (Views: 485.9ms | ActiveRecord: 0.6ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 09:06:05 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" CACHE (0.0ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products" for ::1 at 2017-01-26 09:06:10 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.1ms) Started GET "/products/autocomplete_endpoint?term=%E6%9D%8Ebn" for ::1 at 2017-01-26 09:06:13 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"李bn"} Product Load (0.1ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:06:14 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:06:23 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms) Started GET "/products" for ::1 at 2017-01-26 09:08:26 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (31.3ms) Completed 200 OK in 372ms (Views: 363.4ms | ActiveRecord: 0.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 09:08:29 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms) NameError (uninitialized constant Autocompl::Base::BASE_CACHE_KEY): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:42:in `get_cache_key' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:19:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.9ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.1ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.5ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (72.4ms) Started GET "/products" for ::1 at 2017-01-26 09:09:06 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (25.5ms) Completed 200 OK in 356ms (Views: 350.5ms | ActiveRecord: 0.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:09:08 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:09:14 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:09:17 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%ADn" for ::1 at 2017-01-26 09:09:36 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロn"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%AD%E3%83%B3" for ::1 at 2017-01-26 09:09:38 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロン"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/makers" for ::1 at 2017-01-26 09:09:49 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.5ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (8.6ms) Completed 200 OK in 46ms (Views: 33.2ms | ActiveRecord: 2.0ms) Started GET "/makers/autocomplete_endpoint?term=Aoy" for ::1 at 2017-01-26 09:09:54 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoy"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.3ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.3ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.9ms) Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-26 09:09:59 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoya"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/makers" for ::1 at 2017-01-26 09:10:03 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.1ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.1ms) Started GET "/makers/autocomplete_endpoint?term=Aoay" for ::1 at 2017-01-26 09:10:05 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoay"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-26 09:10:06 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoya"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Aoyama" for ::1 at 2017-01-26 09:10:06 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoyama"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Aoyama+no+nouka" for ::1 at 2017-01-26 09:10:08 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoyama no nouka"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Iwa" for ::1 at 2017-01-26 09:10:09 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Iwa"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Iwate" for ::1 at 2017-01-26 09:10:10 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Iwate"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers" for ::1 at 2017-01-26 09:33:20 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.4ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (28.1ms) Completed 200 OK in 368ms (Views: 359.4ms | ActiveRecord: 1.9ms) Started GET "/makers/autocomplete_endpoint?term=Iwa" for ::1 at 2017-01-26 09:33:23 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Iwa"} Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `cache_autocomplete' for # Did you mean? cache_store): vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/railtie/configuration.rb:95:in `method_missing' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:40:in `cacheable?' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:19:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.8ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.6ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (64.1ms) Started GET "/makers/autocomplete_endpoint?term=Iwate" for ::1 at 2017-01-26 09:33:24 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Iwate"} Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `cache_autocomplete' for # Did you mean? cache_store): vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/railtie/configuration.rb:95:in `method_missing' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:40:in `cacheable?' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:19:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (59.5ms) Started GET "/makers" for ::1 at 2017-01-26 09:39:20 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.4ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (29.0ms) Completed 200 OK in 429ms (Views: 418.4ms | ActiveRecord: 1.9ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:39:23 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `cache_autocomplete' for # Did you mean? cache_store): vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/railtie/configuration.rb:95:in `method_missing' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:38:in `cacheable?' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:17:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.4ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (64.7ms) Started GET "/makers" for ::1 at 2017-01-26 09:40:22 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.3ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (31.3ms) Completed 200 OK in 393ms (Views: 382.1ms | ActiveRecord: 2.0ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94r" for ::1 at 2017-01-26 09:40:25 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごr"} Product Load (1.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.3ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 2.2ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%82%8A%E3%82%93g" for ::1 at 2017-01-26 09:40:25 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごりんg"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%82%8A%E3%82%93" for ::1 at 2017-01-26 09:40:26 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごりん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.3ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%82%8A" for ::1 at 2017-01-26 09:40:26 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごり"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.4ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.4ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 1.2ms) Started GET "/makers" for ::1 at 2017-01-26 09:41:18 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.2ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (18.9ms) Completed 200 OK in 288ms (Views: 284.2ms | ActiveRecord: 0.6ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:41:21 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-26 09:41:24 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごあ"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/makers" for ::1 at 2017-01-26 09:42:08 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (1.1ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (28.4ms) Completed 200 OK in 383ms (Views: 374.1ms | ActiveRecord: 1.6ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:42:11 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (1.4ms) SELECT DISTINCT "products"."name" FROM "products" Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers" Maker Load (0.6ms) SELECT DISTINCT "makers"."name_en" FROM "makers" Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 2.8ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-26 09:42:12 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごあ"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%BF" for ::1 at 2017-01-26 09:42:15 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんみ"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:42:17 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers" for ::1 at 2017-01-26 09:42:55 +0900 Processing by MakersController#index as HTML Rendering makers/index.html.erb within layouts/application Maker Load (0.1ms) SELECT "makers".* FROM "makers" Rendered makers/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 106ms (Views: 101.2ms | ActiveRecord: 0.1ms) Started GET "/assets/products.self-bbcb94d3a0d5bcf6c07b22138897d08cbb40bd52d52c699d9fa0fc2200dc35e0.js?body=1" for ::1 at 2017-01-26 09:42:55 +0900 Started GET "/assets/makers.self-08dba1ca5eca7ae6468c13bb588e6b0aa62676d80e307c312855bcac16be80a3.js?body=1" for ::1 at 2017-01-26 09:42:55 +0900 Started GET "/makers/autocomplete_endpoint?term=%E3%81%BF" for ::1 at 2017-01-26 09:42:58 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"み"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B" for ::1 at 2017-01-26 09:42:59 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"みか"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=I" for ::1 at 2017-01-26 09:43:00 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"I"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Iwa" for ::1 at 2017-01-26 09:43:01 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Iwa"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=OA" for ::1 at 2017-01-26 09:43:03 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"OA"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=O" for ::1 at 2017-01-26 09:43:03 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"O"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Ao" for ::1 at 2017-01-26 09:43:04 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Ao"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/makers/autocomplete_endpoint?term=Aoyama+no+nouka" for ::1 at 2017-01-26 09:43:06 +0900 Processing by MakersController#autocomplete_endpoint as JSON Parameters: {"term"=>"Aoyama no nouka"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/products" for ::1 at 2017-01-26 23:44:15 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.3ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (64.1ms) Started GET "/products" for ::1 at 2017-01-26 23:44:16 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 160ms (Views: 158.2ms | ActiveRecord: 0.2ms) Completed 200 OK in 609ms (Views: 597.8ms | ActiveRecord: 1.8ms) Started GET "/assets/makers.self-08dba1ca5eca7ae6468c13bb588e6b0aa62676d80e307c312855bcac16be80a3.js?body=1" for ::1 at 2017-01-26 23:44:16 +0900 Started GET "/assets/products.self-bbcb94d3a0d5bcf6c07b22138897d08cbb40bd52d52c699d9fa0fc2200dc35e0.js?body=1" for ::1 at 2017-01-26 23:44:16 +0900 Started GET "/products/autocomplete_endpoint?term=a" for ::1 at 2017-01-26 23:44:23 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"a"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%a%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.2ms) Started GET "/products" for ::1 at 2017-01-26 23:44:23 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 20ms (Views: 17.2ms | ActiveRecord: 0.1ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF" for ::1 at 2017-01-26 23:44:26 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"み"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%み%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93a" for ::1 at 2017-01-26 23:44:29 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかんa"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みかんa%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 23:44:29 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みかん%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B" for ::1 at 2017-01-26 23:44:30 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みか"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みか%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bf" for ::1 at 2017-01-26 23:44:31 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかf"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みかf%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A" for ::1 at 2017-01-26 23:44:36 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"り"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%り%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8An" for ::1 at 2017-01-26 23:44:37 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りn%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93" for ::1 at 2017-01-26 23:44:39 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りん"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りん%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93" for ::1 at 2017-01-26 23:44:42 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りん"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りん%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%82" for ::1 at 2017-01-26 23:44:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんあ"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りんあ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 23:44:44 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんご"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りんご%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-26 23:44:45 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんごあ"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りんごあ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%81" for ::1 at 2017-01-26 23:44:47 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"め"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%め%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%AD" for ::1 at 2017-01-26 23:44:48 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロ"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%メロ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms) Started GET "/products" for ::1 at 2017-01-27 08:14:25 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.5ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (26.4ms) Completed 200 OK in 352ms (Views: 341.9ms | ActiveRecord: 2.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF" for ::1 at 2017-01-27 08:14:28 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"み"} Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `model' for #): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:15:in `like_clause' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:7:in `block in get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:32:in `block in get_items' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:30:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:30:in `get_items' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:20:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.8ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.1ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.5ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (92.4ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-27 08:14:28 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `model' for #): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:15:in `like_clause' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:7:in `block in get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:32:in `block in get_items' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:30:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:30:in `get_items' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:20:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (67.8ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-27 08:14:29 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `model' for #): /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:15:in `like_clause' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:7:in `block in get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/repository.rb:6:in `get_collection' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:32:in `block in get_items' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:30:in `each' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:30:in `get_items' /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:20:in `block in autocomplete' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (1.4ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.2ms) Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (2.0ms) Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (86.9ms) Started GET "/products" for ::1 at 2017-01-27 08:15:08 +0900 DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113) ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (1.1ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (32.3ms) Completed 200 OK in 363ms (Views: 354.6ms | ActiveRecord: 1.7ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF" for ::1 at 2017-01-27 08:15:10 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"み"} Product Load (1.5ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%み%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-27 08:15:11 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みかn%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-27 08:15:11 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みかん"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みかん%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B" for ::1 at 2017-01-27 08:15:12 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みか"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みか%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%81" for ::1 at 2017-01-27 08:15:14 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"め"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%め%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B" for ::1 at 2017-01-27 08:15:16 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みか"} Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みか%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%81r" for ::1 at 2017-01-27 08:15:16 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"めr"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%めr%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%81" for ::1 at 2017-01-27 08:15:27 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"め"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%め%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1" for ::1 at 2017-01-27 08:15:43 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メ"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%メ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1" for ::1 at 2017-01-27 08:15:51 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メ"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%メ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%84n" for ::1 at 2017-01-27 08:15:52 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"いn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%いn%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%84" for ::1 at 2017-01-27 08:15:52 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"い"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%い%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93gn" for ::1 at 2017-01-27 08:15:53 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんgn"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りんgn%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93g" for ::1 at 2017-01-27 08:15:53 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りんg"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りんg%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93" for ::1 at 2017-01-27 08:15:54 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りん"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りん%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products" for ::1 at 2017-01-27 08:15:59 +0900 Processing by ProductsController#index as HTML Rendering products/index.html.erb within layouts/application Product Load (0.2ms) SELECT "products".* FROM "products" Rendered products/index.html.erb within layouts/application (10.5ms) Completed 200 OK in 57ms (Views: 54.5ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A" for ::1 at 2017-01-27 08:16:02 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"り"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%り%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8An" for ::1 at 2017-01-27 08:16:03 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りn"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りn%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93" for ::1 at 2017-01-27 08:16:03 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"りん"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%りん%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%8A" for ::1 at 2017-01-27 08:16:03 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"り"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%り%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%82%81" for ::1 at 2017-01-27 08:16:04 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"め"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%め%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%AD" for ::1 at 2017-01-27 08:16:04 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メロ"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%メロ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms) Started GET "/products/autocomplete_endpoint?term=%E3%83%A1" for ::1 at 2017-01-27 08:16:05 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"メ"} Product Load (0.5ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%メ%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF" for ::1 at 2017-01-27 08:16:06 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"み"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%み%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BFk" for ::1 at 2017-01-27 08:16:06 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みk"} Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みk%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B" for ::1 at 2017-01-27 08:16:07 +0900 Processing by ProductsController#autocomplete_endpoint as JSON Parameters: {"term"=>"みか"} Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products" WHERE (name LIKE '%みか%') LIMIT ? [["LIMIT", 20]] Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)