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

Autoload Rails Models unless called from safe_load #19701

Merged

Commits on Jan 8, 2020

  1. Autoload Rails Models unless called from safe_load

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1789153
    
    Psych::ClassLoader::Restricted is the class_loader if you use safe_load and was
    added in psych 2.0.0:
    ruby/psych@2c644e1
    
    Note, ruby 2.4.0 shipped with psych 2.2.2+.  This class_loader would not work with ruby 2.3 and older.
    jrafanie committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    85adac0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11a69b5 View commit details
    Browse the repository at this point in the history