Localhost ISSUES

  1. Inside project folder

  2. Postgresql server is running

  3. at Localhost:3000 -> is working (Yay! You’re on Rails!)

I’m unable to get beyond this page. So I can actually see the app, like it looks on the live feed.

routes.rb

Rails.application.routes.draw do

get ‘welcome/index’

resources :feedbacks, only: [:post]

$ Rake Routes

Prefix Verb URI Pattern Controller#Action

welcome_index GET /welcome/index(.:format) welcome#index

rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show

rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show

rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show

update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update

rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create

I should be able to view my app from

localhost:3000/welcome/index

I get a Welcome Controller Error!

Please Help!

Hi Stephanie,

Could you post here some screenshot from your browser ?

You posted about this yesterday, but since you keep ignoring
questions it's hard to help you.

The "error" shows that your app expects you to authenticate and
redirects to a "login_url" that apparently is not now defined.

YOU have to fix that. Only you know how the app authenticates.

Also, it's almost always better to copy/paste (or gist) text output than
posting screenshots of text.

I have no clue on how app authenticates. I didn’t write the app. This is the only app that I have problems with. I don’t understand the login_url. I even went back to my ROR book and read about routes. url should be /welcome/index like it states in the routes.rb.

about this routing “welcome#index” do you have in folder “app/view/” template for that controller/action ?

You should have template with name "index.html.erb" in this path: “app/views/welcome/index.html.erb

this is localhost:3000/welcome/index

Hi Stephanie,

If I were you, I will comment out these two lines in def deny_access

session[:forward] = request.fullpath

redirect_to login_url

and look what happens in your log.

Like the others, I am not sure what is going on with your authentications.

  • Hope this help

In you config folder check your authorization_rules.rb file, may you didnt add welcome/index there.

I commented out those two lines.

I don’t have a authorization_rules.rb file

Is that what is missing for the project directory that I received.

Commented the next issue of deny_access

refreshed

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: 0

source=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” ASC

No 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 -0500

Processing by Rails::WelcomeController#index as HTML

Rendering /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 -0500

Processing by Rails::WelcomeController#index as HTML

Rendering /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 -0500

No 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 -0500

No 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 -0500

Processing by WelcomeController#index as HTML

Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)

Not notifying due to an invalid api_key

undefined 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

If the welcome page is your root page, you could also write:
root ‘welcome#index’

I add get ‘welcome/index’, to: ‘welcome#index’

Are you sure that what you started with was a working application? It sounds as if you have a whole lot missing. In your situation I would go back to the working version and start again.

Colin

Yes Colin, this is a working application that I received from the previous “developer,” its running a live site.