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

Fix IRB deprecation warning on tab-completion #37100

Merged
merged 1 commit into from
Oct 7, 2019

Commits on Sep 3, 2019

  1. Fix IRB deprecation warning on tab-completion

    IRB invokes `#hash` (via a call to `Hash#include?`) and
    `#instance_methods` on each object in `ObjectSpace.each_object(Module)`
    when performing tab-completion on chain of method calls.  This patch
    prevents a deprecation warning from being printed when any of those
    objects are a `ActiveSupport::Deprecation::DeprecatedConstantProxy`.
    
    Fixes rails#37097.
    jonathanhefner committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    5c80059 View commit details
    Browse the repository at this point in the history