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 instantiation of inherited classes when querying #50553

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 11, 2024

  1. Fix rails#50499: instantiation of inherited classes when quering

    Previously, querying from the base class resulted in an object of the inherited type,
    with 'ignored_columns' included in the 'attributes' method.
    This behavior was inconsistent, as it did not occur when querying directly from the inherited class.
    This fix ensures consistent behavior in class instantiation during queries.
    jvlara committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    8c4764f View commit details
    Browse the repository at this point in the history