-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add type definitions to delete_all #713
base: main
Are you sure you want to change the base?
Add type definitions to delete_all #713
Conversation
@kazuyainoue0124 Thanks for your contribution! Please follow the instructions below for each change. Available commandsYou can use the following commands by commenting on this PR.
|
FYI: API doc mentions the return value of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How was the effect of this change?
Perhaps gems/activerecord/6.0/activerecord.rbs also needs to be modified for substantial effect.
I noticed But the current design of rbs_rails expects both to be the same. It's better to change only the return types of these methods under activerecord.rbs. Refs: |
Thank you for your valuable feedback. In this pull request, I have only updated the return types. If there are any remaining issues, please let me know. |
Sorry for the delay in responding.
|
Fix types definitions for
delete_all
methods.Changed the return type of
delete_all
methods toInteger
.