Ruby on Rails
Tuesday, June 26, 2018
I add get 'welcome/index', to: 'welcome#index'
On Tuesday, June 26, 2018 at 12:12:37 PM UTC-5, hiref...@gmail.com wrote:
-- On Tuesday, June 26, 2018 at 12:12:37 PM UTC-5, hiref...@gmail.com wrote:
If the welcome page is your root page, you could also write:root 'welcome#index'
On Tuesday, June 26, 2018 at 1:04:59 PM UTC-4, benc...@gmail.com wrote:routes.rb
Rails.application.routes.draw do
#complete this line...
get 'welcome/index', to: 'welcome#index'
El 26-06-2018 a las 12:09, Stephanie_Snowflake escribió:
--rails server/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:90: warning: already initialized constant FileUtils::VERSION /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:92: warning: previous definition of VERSION was here /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:1188: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:1267: warning: previous definition of S_IF_DOOR was here /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:1446: warning: already initialized constant FileUtils::Entry_::DIRECTORY_ TERM /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:1541: warning: previous definition of DIRECTORY_TERM was here /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:1448: warning: already initialized constant FileUtils::Entry_::SYSCASE /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:1543: warning: previous definition of SYSCASE was here /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:1501: warning: already initialized constant FileUtils::OPT_TABLE /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:1596: warning: previous definition of OPT_TABLE was here /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:1555: warning: already initialized constant FileUtils::LOW_METHODS /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:1650: warning: previous definition of LOW_METHODS was here /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ fileutils.rb:1562: warning: already initialized constant FileUtils::METHODS /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/fileutils-1.1.0/lib/ fileutils.rb:1657: warning: previous definition of METHODS was here WARNING: Nokogiri was built against LibXML version 2.9.4, but has dynamically loaded 2.8.0=> Booting Puma=> Rails 5.2.0 application starting in development=> Run `rails server -h` for more startup options[11225] Puma starting in cluster mode...[11225] * Version 3.6.2 (ruby 2.5.1-p57), codename: Sleepy Sunday Serenity[11225] * Min threads: 5, max threads: 5[11225] * Environment: development[11225] * Process workers: 1[11225] * Preloading application[11225] * Listening on tcp://localhost:3000[11225] Use Ctrl-C to stop[11225] - Worker 0 (pid: 11244) booted, phase: 0source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=5000ms state=ready source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=5000ms service=0ms state=active source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=0ms state=ready source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=0ms state=active Started GET "/welcome" for ::1 at 2018-06-26 11:07:41 -0500(1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASCNo route matches [GET] "/welcome" excluded from capture: Not configured to send/capture in environment 'development'
ActionController::RoutingError (No route matches [GET] "/welcome"):
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions. rb:65:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb: 33:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_ middleware.rb:29:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' /Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven- ruby-21669e97ee70/lib/raven/ integrations/rack.rb:51:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/engine.rb:524:in `call'railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' puma (3.6.2) lib/puma/configuration.rb:225:in `call' puma (3.6.2) lib/puma/server.rb:578:in `handle_request'puma (3.6.2) lib/puma/server.rb:415:in `process_client'puma (3.6.2) lib/puma/server.rb:275:in `block in run'puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/nokogiri-1.6.1/lib/ nokogiri/html/document.rb:85: warning: constant ::Fixnum is deprecated source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=446ms state=completed source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=447ms state=completed source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=5000ms state=ready source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=5000ms service=0ms state=active source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=0ms state=ready source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=0ms state=active Started GET "/" for ::1 at 2018-06-26 11:07:41 -0500Processing by Rails::WelcomeController#index as HTMLRendering /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/railties-5.2.0/lib/ rails/templates/rails/welcome/ index.html.erb Rendered /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/railties-5.2.0/lib/ rails/templates/rails/welcome/ index.html.erb (2.7ms) Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.0ms)
source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=35ms state=completed source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=36ms state=completed source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=5000ms state=ready source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=5000ms service=0ms state=active source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=0ms state=ready source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=0ms state=active Started GET "/" for ::1 at 2018-06-26 11:07:47 -0500Processing by Rails::WelcomeController#index as HTMLRendering /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/railties-5.2.0/lib/ rails/templates/rails/welcome/ index.html.erb Rendered /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/railties-5.2.0/lib/ rails/templates/rails/welcome/ index.html.erb (2.3ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms)
source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=19ms state=completed source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=20ms state=completed source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=5000ms state=ready source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=5000ms service=0ms state=active source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=0ms state=ready source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=0ms state=active Started GET "/welcome" for ::1 at 2018-06-26 11:07:48 -0500No route matches [GET] "/welcome" excluded from capture: Not configured to send/capture in environment 'development'
ActionController::RoutingError (No route matches [GET] "/welcome"):
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions. rb:65:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb: 33:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_ middleware.rb:29:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' /Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven- ruby-21669e97ee70/lib/raven/ integrations/rack.rb:51:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/engine.rb:524:in `call'railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' puma (3.6.2) lib/puma/configuration.rb:225:in `call' puma (3.6.2) lib/puma/server.rb:578:in `handle_request'puma (3.6.2) lib/puma/server.rb:415:in `process_client'puma (3.6.2) lib/puma/server.rb:275:in `block in run'puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5. 0/gems/nokogiri-1.6.1/lib/ nokogiri/html/document.rb:85: warning: constant ::Fixnum is deprecated source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=288ms state=completed source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=288ms state=completed source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=5000ms state=ready source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=5000ms service=0ms state=active source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=0ms state=ready source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=0ms state=active Started GET "/welcome" for ::1 at 2018-06-26 11:07:49 -0500No route matches [GET] "/welcome" excluded from capture: Not configured to send/capture in environment 'development'
ActionController::RoutingError (No route matches [GET] "/welcome"):
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions. rb:65:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb: 33:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_ middleware.rb:29:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' /Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven- ruby-21669e97ee70/lib/raven/ integrations/rack.rb:51:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/engine.rb:524:in `call'railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' puma (3.6.2) lib/puma/configuration.rb:225:in `call' puma (3.6.2) lib/puma/server.rb:578:in `handle_request'puma (3.6.2) lib/puma/server.rb:415:in `process_client'puma (3.6.2) lib/puma/server.rb:275:in `block in run'puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=311ms state=completed source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=311ms state=completed source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=5000ms state=ready source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=5000ms service=0ms state=active source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=0ms state=ready source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=0ms state=active Started GET "/welcome/index" for ::1 at 2018-06-26 11:07:57 -0500Processing by WelcomeController#index as HTMLCompleted 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)
Not notifying due to an invalid api_keyundefined method `check_auth' for #<WelcomeController:0x00007fbdd63f6678> Did you mean? check_ip excluded from capture: Not configured to send/capture in environment 'development'
NoMethodError (undefined method `check_auth' for #<WelcomeController:0x00007fbdd63f6678> Did you mean? check_ip):
activesupport (5.2.0) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.0) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.0) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.0) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.0) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.0) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.0) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.0) lib/active_support/callbacks.rb:107:in `block in run_callbacks' /Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven- ruby-21669e97ee70/lib/raven/ integrations/rails/controller_ transaction.rb:7:in `block in included' activesupport (5.2.0) lib/active_support/callbacks.rb:118:in `instance_exec' activesupport (5.2.0) lib/active_support/callbacks.rb:118:in `block in run_callbacks' activesupport (5.2.0) lib/active_support/callbacks.rb:136:in `run_callbacks' actionpack (5.2.0) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.0) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.0) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.0) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.0) lib/active_support/notifications/instrumenter.rb: 23:in `instrument' activesupport (5.2.0) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.0) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.0) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' activerecord (5.2.0) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.0) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.0) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.0) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.0) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.0) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.0) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.0) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:840:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/rack/agent_hooks.rb:30:in `traced_call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/tempfile_reaper.rb:15:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/conditional_get.rb:25:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/http/content_security_policy.rb:18: in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/cookies.rb:670:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' activerecord (5.2.0) lib/active_record/migration.rb:559:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.0) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' raygun4ruby (2.7.1) lib/raygun/middleware/rails_insert_affected_user.rb:11:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' raygun4ruby (2.7.1) lib/raygun/middleware/rack_exception_interceptor.rb:10:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' raygun4ruby (2.7.1) lib/raygun/middleware/breadcrumbs_store_initializer. rb:12:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' bugsnag (6.7.3) lib/bugsnag/integrations/rack.rb:46:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions. rb:61:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb: 33:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call' rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout' rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_ middleware.rb:29:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' /Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven- ruby-21669e97ee70/lib/raven/ integrations/rack.rb:51:in `call' newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' railties (5.2.0) lib/rails/engine.rb:524:in `call'railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_ tracing.rb:92:in `call' puma (3.6.2) lib/puma/configuration.rb:225:in `call' puma (3.6.2) lib/puma/server.rb:578:in `handle_request'puma (3.6.2) lib/puma/server.rb:415:in `process_client'puma (3.6.2) lib/puma/server.rb:275:in `block in run'puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=441ms state=completed source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=449ms state=completed
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .5415cbd4-07e0-4f65-aa90- 6913e1f80574%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f101c53a-a83b-4868-afa6-ab7bdd6386a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment