NoMethodError: undefined method `strip' for nil:NilClass
Closed this issue · 0 comments
danReynolds commented
View details in Rollbar: https://rollbar.com/danreynolds/SummonerExpert/items/156/
NoMethodError: undefined method `strip' for nil:NilClass
File "/app/app/models/collection.rb", line 6, in initialize
File "/app/app/controllers/summoners_controller.rb", line 80, in new
File "/app/app/controllers/summoners_controller.rb", line 80, in champion_matchups
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal/basic_implicit_render.rb", line 4, in send_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb", line 188, in process_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal/rendering.rb", line 30, in process_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 126, in call
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 506, in block (2 levels) in compile
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 455, in call
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 448, in block (2 levels) in around
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 286, in block (2 levels) in halting
File "/usr/local/bundle/gems/sentry-raven-2.7.1/lib/raven/integrations/rails/controller_transaction.rb", line 7, in block in included
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 391, in instance_exec
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 391, in block in make_lambda
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 285, in block in halting
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 447, in block in around
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 455, in call
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 101, in __run_callbacks__
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 750, in _run_process_action_callbacks
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 90, in run_callbacks
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb", line 19, in process_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal/rescue.rb", line 20, in process_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb", line 164, in block in instrument
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb", line 164, in instrument
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal/params_wrapper.rb", line 248, in process_action
File "/usr/local/bundle/gems/activerecord-5.0.0.1/lib/active_record/railties/controller_runtime.rb", line 18, in process_action
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb", line 126, in process
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb", line 190, in dispatch
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb", line 262, in dispatch
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb", line 50, in dispatch
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb", line 32, in serve
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb", line 39, in block in serve
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb", line 26, in each
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb", line 26, in serve
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb", line 725, in call
File "/app/lib/action_router.rb", line 16, in call
File "/usr/local/bundle/gems/rack-2.0.1/lib/rack/etag.rb", line 25, in call
File "/usr/local/bundle/gems/rack-2.0.1/lib/rack/conditional_get.rb", line 38, in call
File "/usr/local/bundle/gems/rack-2.0.1/lib/rack/head.rb", line 12, in call
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb", line 38, in block in call
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 97, in __run_callbacks__
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 750, in _run_call_callbacks
File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb", line 90, in run_callbacks
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb", line 36, in call
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/remote_ip.rb", line 79, in call
File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar/middleware/rails/rollbar.rb", line 24, in block in call
File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 735, in scoped
File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/debug_exceptions.rb", line 49, in call
File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/show_exceptions.rb", line 31, in call
File "/usr/local/bundle/gems/railties-5.0.0.1/lib/rails/rack/logger.rb", line 36, in call_app
File "/usr/local/bundle/gems/railties-5.0.0.1/lib/rails/rack/logger.rb", line 26, in call
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/request_id.rb", line 24, in call
File "/usr/local/bundle/gems/rack-2.0.1/lib/rack/runtime.rb", line 22, in call
File "/usr/local/bundle/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/executor.rb", line 12, in call
File "/usr/local/bundle/gems/rack-2.0.1/lib/rack/sendfile.rb", line 111, in call
File "/usr/local/bundle/gems/sentry-raven-2.7.1/lib/raven/integrations/rack.rb", line