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

Update Active Record count sig to allow a block #1860

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

bdewater
Copy link
Contributor

@bdewater bdewater commented Apr 10, 2024

Motivation

Similar to #1830 and #1844

Implementation

Based on examples from https://api.rubyonrails.org/classes/ActiveRecord/Calculations.html#method-i-count

Tests

Updated tests.

@bdewater bdewater requested a review from a team as a code owner April 10, 2024 03:01
@bdewater bdewater requested review from KaanOzkan and vinistock April 10, 2024 03:01
@KaanOzkan KaanOzkan added the enhancement New feature or request label Apr 10, 2024
@KaanOzkan KaanOzkan merged commit 032e04f into Shopify:main Apr 10, 2024
19 of 20 checks passed
@bdewater bdewater deleted the ar-count-block branch April 10, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants