rubocop/rubocop-rails
A RuboCop extension focused on enforcing Rails best practices and coding conventions.
RubyMIT
Issues
- 3
- 2
- 0
- 1
- 4
- 1
Rails/FindEach alerts on Capybara::Result.find
#1318 opened by raybaxter - 0
A few bugs/problems in IndexWith
#1315 opened by zverok - 2
Style/InvertibleUnlessCondition for include/exclude
#1301 opened by peaky76 - 2
WhereRange doesn't suggest corrections for <= comparisons
#1312 opened by vrodic - 0
Enhancement idea: make `Rails/CompactBlank` aware of `select(&:present?)`
#1308 opened by vlad-pisanov - 2
A Rails 7.1+ cop to suggest using normalizes
#1305 opened by Darhazer - 0
IgnoredSkipActionFilterOption doesn't catch a problem when there are multiple positional arguments
#1303 opened by maxim - 3
- 0
- 0
- 10
`Rails/Exit` cop not catching all uses of `exit`?
#1274 opened by nestor-custodio - 7
- 0
`Rails/WhereRange` output the error if using ternary operator.
#1281 opened by r-plus - 1
Autocorrect with `Rails/WhereRange` does not work correctly if a space is after the placeholder
#1282 opened by atolix - 0
Add change_column_null from BulkChangeTable
#1280 opened by fkmy - 1
- 0
- 1
- 0
False positive for `Rails/SkipsModelValidations` on safe navigated String#insert
#1278 opened by brkn - 0
- 2
Cop suggestion: disallow `return` in tests
#1237 opened by ghiculescu - 0
`Rails/Validation` for `validates_size_of` causes `Unknown validator: 'SizeValidator'` error
#1270 opened by theblang - 3
An error occurred while Rails/DeprecatedActiveModelErrorsMethods cop was inspecting
#1268 opened by amagasu - 2
Error occurred for `Rails/Present` was auto correcting
#1250 opened by wonderer007 - 0
False positive in `Rails/ActionControllerFlashBeforeRender` when using multiple flashes + conditions
#1269 opened by jamescook - 1
Please remove `Rails/UnusedIgnoredColumns`
#1249 opened by rafaelfranca - 0
- 0
Rubocop significantly slower on Rails 7.1
#1260 opened by lukasfroehlich1 - 0
- 1
`Rails/ReversibleMigrationMethodDefinition` false positive when `up` and `down` defined as class methods
#1232 opened by marcoroth - 0
Error occurred with `ActiveRecord::ModelSchema::ClassMethods#ignored_columns=`
#1247 opened by obregonia1 - 0
False positive for `Rails/ActionControllerFlashBeforeRender` when using `return redirect_to`
#1244 opened by ccutrer - 0
False Positive for `Rails/ActionControllerFlashBeforeRender` when flash is called in a case statement
#1243 opened by ccutrer - 1
- 3
Cop to detect deprecated enums with keyword arguments
#1238 opened by yahonda - 0
Incorrect autocorrect for `Rails/FindBy` cop
#1234 opened by ymap - 3
- 1
- 1
Use ActiveSupport DateAndTime predicates
#1227 opened by guillaumebriday - 1
- 0
Rails/WhereNot raises an error
#1221 opened by bquorning - 2
Cop idea: Redundant #alias_attribute for associations
#1219 opened by ydakuka - 0
Outdated note for the `Rails/ContentTag` cop
#1218 opened by ydakuka - 1
No `#minimum_target_rails_version` for some cops
#1217 opened by ydakuka - 1
Make `Rails/PluckInWhere` aware of `.ids`
#1213 opened by ydakuka