Skip to content

Instantly share code, notes, and snippets.

@sbull
Created February 18, 2015 03:21
Show Gist options
  • Save sbull/654304a00dbb1aa7b02e to your computer and use it in GitHub Desktop.
Save sbull/654304a00dbb1aa7b02e to your computer and use it in GitHub Desktop.
Stacktrace of "NoMethodError: undefined method `url_options'" on Rails.application.routes.url_helpers.my_path() for https://github.com/puma/puma/issues/647
NoMethodError: undefined method `url_options' for #<Module:0x007ff474ee5960>
Stacktrace (most recent call first):
action_dispatch/routing/route_set.rb:218:in `call'
options = t.url_options.merge @options
action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper'
helper.call self, args, options
activity.rb:322:in `block in get_rx_push'
url: rx.patient_id? ? routes.provider_patient_path(rx.patient_id) : routes.provider_root_path,
active_record/relation/delegation.rb:46:in `each'
delegate :to_xml, :to_yaml, :length, :collect, :map, :each, :all?, :include?, :to_ary, :join, to: :to_a
active_record/relation/delegation.rb:46:in `each'
delegate :to_xml, :to_yaml, :length, :collect, :map, :each, :all?, :include?, :to_ary, :join, to: :to_a
activity.rb:318:in `get_rx_push'
provider.provider_prescription_requests.push_waiting_action_by_patient.each do |rx|
activity.rb:69:in `get_provider_activity'
rx_push: get_rx_push(provider),
activity.rb:54:in `build_activity_log'
info << get_provider_activity(user)
/app/api/v0/activity.rb:7:in `user_activity'
activities = ::Activity.build_activity_log(user)
/app/node_modules/faas/bin/faas_ix_server.rb:227:in `block in call_with_callbacks'
new_api_call.call_instance.send(new_api_call.call_method, *new_api_call.args)
/app/node_modules/faas/bin/faas_ix_server.rb:217:in `call'
wrapped = proc { |old_api_call, &block| block.call(old_api_call) }
/app/node_modules/faas/bin/faas_ix_server.rb:217:in `block in call_with_callbacks'
wrapped = proc { |old_api_call, &block| block.call(old_api_call) }
/app/node_modules/faas/bin/faas_ix_server.rb:222:in `call'
old_wrapped.call(new_api_call, &block)
/app/node_modules/faas/bin/faas_ix_server.rb:222:in `block (3 levels) in call_with_callbacks'
old_wrapped.call(new_api_call, &block)
/app/api/v0/faas_config.rb:7:in `call'
data = next_call.call(api_call)
/app/api/v0/faas_config.rb:7:in `block (3 levels) in <top (required)>'
data = next_call.call(api_call)
active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
yield connection
/app/api/v0/faas_config.rb:6:in `block (2 levels) in <top (required)>'
ActiveRecord::Base.connection_pool.with_connection do |_conn|
raven/base.rb:89:in `call'
block.call
raven/base.rb:89:in `capture'
block.call
/app/api/v0/faas_config.rb:3:in `block in <top (required)>'
Raven.capture do
/app/node_modules/faas/bin/faas_ix_server.rb:221:in `call'
cb.call(old_api_call) do |new_api_call|
/app/node_modules/faas/bin/faas_ix_server.rb:221:in `block (2 levels) in call_with_callbacks'
cb.call(old_api_call) do |new_api_call|
/app/node_modules/faas/bin/faas_ix_server.rb:226:in `call'
wrapped.call(api_call) do |new_api_call|
/app/node_modules/faas/bin/faas_ix_server.rb:226:in `call_with_callbacks'
wrapped.call(api_call) do |new_api_call|
/app/node_modules/faas/bin/faas_ix_server.rb:202:in `block (2 levels) in listen_for_calls'
data = call_with_callbacks(ix_call)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment