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 NoMethodErrors in Active Record after backport [7-1-stable] #51027

Merged
merged 2 commits into from
Feb 9, 2024

Commits on Feb 9, 2024

  1. Fix NoMethodError in MySQL Adapters

    connected? only exists on main, but was included in a [backport][1]
    
    [1]: eb760da
    skipkayhil committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    6bf07fa View commit details
    Browse the repository at this point in the history
  2. Fix "undefined method to_sym" after backport

    The [backport][1] of a [fix][2] for CPK + counter_cache did not remove
    calling `to_sym` on the `foreign_key` of the association, so it raised
    an error because `foreign_key` is now an array.
    
    [1]: 26aa77d
    [2]: ea38048
    skipkayhil committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    b896104 View commit details
    Browse the repository at this point in the history