Having issue with `undef :to_s` in my project
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 226
- Forks
- 28
- Avg merge
- 7m
- Merged PRs (30d)
- 1
Description
Getting the following error message for this line:
lib/drb/drb.rb:1119:in `<class:DRbObject>': undefined method `to_s' for class `DRb::DRbObject' (NameError)
I suggest doing the same that is done in the line below, and have:
undef :to_s if respond_to?(:to_s)
undef :to_a if respond_to?(:to_a)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lib/drb/drb.rb line 1119 and compare the failing to_s declaration with the to_a declaration on the following line. Reproduce the reported NameError and verify that the DRb::DRbObject class loads without it while preserving the existing to_a behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100