Skip to content

activerecord: Add filter keyword argument to in_order_of - #1049

Open
dak2 wants to merge 1 commit into
ruby:mainfrom
dak2:activerecord-in-order-of-filter
Open

activerecord: Add filter keyword argument to in_order_of#1049
dak2 wants to merge 1 commit into
ruby:mainfrom
dak2:activerecord-in-order-of-filter

Conversation

@dak2

@dak2 dak2 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

in_order_of accepts an optional filter: keyword, but the activerecord 8.0 signatures didn't allow it.
Add ?filter: bool to both definitions and a test case.

rails/rails#51761
https://github.com/rails/rails/releases/tag/v8.0.0

`in_order_of` accepts an optional `filter:` keyword, but the activerecord 8.0 signatures didn't allow it.
Add `?filter: bool` to both definitions and a test case.

rails/rails#51761
https://github.com/rails/rails/releases/tag/v8.0.0
@github-actions

Copy link
Copy Markdown

@dak2 Thanks for your contribution!

Please follow the instructions below for each change.
See also: https://github.com/ruby/gem_rbs_collection/blob/main/docs/CONTRIBUTING.md

Available commands

You can use the following commands by commenting on this PR.

  • /merge: Merge this PR if CI passes

activerecord

You changed RBS files for an existing gem.
You need to get approval from the reviewers of this gem.

@hibariya, @ksss, @Little-Rubyist, @tk0miya, please review this pull request.
If this change is acceptable, please make a review comment including APPROVE from here.
Screen Shot 2024-03-19 at 14 13 36

After that, the PR author or the reviewers can merge this PR.
Just comment /merge to merge this PR.

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