Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback to empty string as Rails 5.1 can't handle nil paths #2

Closed
wants to merge 1 commit into from

Conversation

ssteeg-mdsol
Copy link
Owner

In Rails 5.1 (specifically actionpack), there is an issue where passing an empty path to Rails.application.routes.recognize_path results in a NoMethodError: undefined method encoding' for nil:NilClass` exception being thrown.

See: rails/rails@03925dc

I'm unsure why this issue did not occur prior to openzipkin#143 though. Seems like the same problem should occur, but doesn't 🤷‍♂️

@jcarres-mdsol
Copy link

What kind of magic is this?!
Can you open against openzipkin/zipkin-ruby master and bump up minor version and changgelog?

@ssteeg-mdsol ssteeg-mdsol force-pushed the fix/rails_5_1_workaround branch from f8d6cb8 to f8cb0e8 Compare April 3, 2019 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants