Skip to content

Ruby 3.2 autocompletion in console #831

Open
@hirogeek

Description

@hirogeek

I've update my rails 7 app with ruby 3.2. When I launch console and up arrow to search in my history some line crash with this error

whenever-1.0.0/lib/whenever/job_list.rb:41:in respond_to?': undefined method has_key?' for nil:NilClass (NoMethodError)

I've fix this with a dirty workaround initializer :

https://gist.github.com/hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions