Closed 20wildmanj closed 4 months ago
[!WARNING]
Rate Limit Exceeded
@20wildmanj has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 28 minutes and 3 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 43343a1fd9cd6d2ef099edd0b4e0c480c5b59c3e and bc2d59d07bbb6326e74d4c7d98457a6bf23f6714.
The recent update involves the removal of the pluralize
method from the ApplicationController
and its replacement with the ActionController::Base.helpers.pluralize
method in specific files. This adjustment ensures the correct pluralization of terms in flash messages depending on the count of items, enhancing the accuracy and readability of user feedback within the application.
File | Change Summary |
---|---|
app/controllers/application_controller.rb |
Removed the pluralize method. |
app/controllers/assessment/autograde.rb |
Replaced calls to pluralize with ActionController::Base.helpers.pluralize for correct pluralization in flash messages. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
autograde.rb
),as it only handles strings but was being fed integers which caused error such as this when trying to runregradeAll
Motivation and Context
How Has This Been Tested?
regradeAll
, see that it runs successfully and pluralizes studentsTypes of changes
Other issues / help required
If unsure, feel free to submit first and we'll help you along.