Skip to content

[4.1] Use ActiveRecord's .find_each instead of .each whenever possible#5484

Merged
tvdeyen merged 2 commits intosolidusio:v4.1from
tvdeyen:4.1-rubocop-update
Nov 2, 2023
Merged

[4.1] Use ActiveRecord's .find_each instead of .each whenever possible#5484
tvdeyen merged 2 commits intosolidusio:v4.1from
tvdeyen:4.1-rubocop-update

Conversation

@tvdeyen
Copy link
Copy Markdown
Member

@tvdeyen tvdeyen commented Nov 2, 2023

Summary

Backport of #5380 for v4.1

@tvdeyen tvdeyen added changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem changelog:solidus_sample Changes to the solidus_sample gem changelog:repository Changes to the repository not within any gem labels Nov 2, 2023
@tvdeyen tvdeyen requested a review from a team as a code owner November 2, 2023 07:28
Copy link
Copy Markdown
Member

@elia elia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍👍
pending the installer specs, tbh I'm not sure why the rackup executable is causing trouble, maybe there's a -y or -f that we can add to overcome the problem.

@tvdeyen
Copy link
Copy Markdown
Member Author

tvdeyen commented Nov 2, 2023

pending the installer specs

@elia we would need to backport #5477 to v4.1 (and 4.1, 4.2 and 3.4 tbh), because all those branches test the installation of latest solidus, what does not make any sense

@elia
Copy link
Copy Markdown
Member

elia commented Nov 2, 2023

@tvdeyen I'm down with backporting it, I think the backport labels will trigger the gh action even after merge 👍

@tvdeyen
Copy link
Copy Markdown
Member Author

tvdeyen commented Nov 2, 2023

That's good to know. @kennyadsl agree?

@kennyadsl
Copy link
Copy Markdown
Member

Works for me!

@tvdeyen tvdeyen merged commit 594abef into solidusio:v4.1 Nov 2, 2023
@tvdeyen tvdeyen deleted the 4.1-rubocop-update branch November 2, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:repository Changes to the repository not within any gem changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem changelog:solidus_sample Changes to the solidus_sample gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants