Skip to content

Bug: undefined method 'divmod' #31

@jonrandahl

Description

@jonrandahl

While testing locally, I mistyped the port for the data-api container and was greeted with this message in the terminal:

<NoMethodError: undefined method 'divmod' for an instance of String>
(byebug) e.cause
#<Faraday::ConnectionFailed wrapped=#<Socket::ResolutionError: Failed to open TCP connection to data-api:8888 (getaddrinfo(3): nodename nor servname provided, or not known)>>

While testing I also received:

<NoMethodError: undefined method 'divmod' for an instance of nil>

This ticket is specific to resolving passing String/nil to the divmod method

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions