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

Eager loading in ActiveRecord::refresh() (breaking BC) #20291

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

chriscpty
Copy link
Contributor

Q A
Is bugfix?
New feature? ✔️
Breaks BC? ✔️
Fixed issues #20277

For a version that doesn't break BC see #20290

chriscpty and others added 9 commits October 17, 2024 14:49
+ use array_column for faster mapping if no callbacks or grouping are required
+ also test with callbacks
! don't use array_column if ArrayHelper strings are paths
+ add according tests
+ add BaseStringHelper::contains() helper function and according tests
! use strpos rather than polyfill
- remove BaseStringHelper::contains
+ implementation with BC break
+ implementation with BC break
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.85%. Comparing base (65e3369) to head (3977eb3).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #20291   +/-   ##
=========================================
  Coverage     64.85%   64.85%           
  Complexity    11409    11409           
=========================================
  Files           431      431           
  Lines         37142    37143    +1     
=========================================
+ Hits          24087    24088    +1     
  Misses        13055    13055           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant