SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for ruby3.2-rubygem-rubocop-rails-2.25.0-1.6.x86_64.rpm :

* Fri Jun 21 2024 Dan Čermák - 2.25.0: [#]## New features
* [#1272](https://github.com/rubocop/rubocop-rails/pull/1272): Add new `Rails/WhereRange` cop. ([AATTfatkodima][]) [#]## Bug fixes
* [#1270](https://github.com/rubocop/rubocop-rails/issues/1270): Fix an incorrect autocorrect for `Rails/Validation` when using `validates_size_of`. ([AATTkoic][])
* [#1278](https://github.com/rubocop/rubocop-rails/issues/1278): Fix a false positive for `Rails/SkipsModelValidations` when using `insert` or `insert!` with a safe navigator. ([AATTtldn0718][])
* [#1260](https://github.com/rubocop/rubocop-rails/issues/1260): Fix a performance regression caused by `Rails/UnknownEnv` when using Rails 7.1. ([AATTlukasfroehlich1][]) [#]## Changes
* [#1249](https://github.com/rubocop/rubocop-rails/issues/1249): Disable `Rails/UnusedIgnoredColumns` by default. ([AATTearlopain][])
* [#1266](https://github.com/rubocop/rubocop-rails/pull/1266): Check `change_table` calls for offenses. ([AATTccutrer][])
* [#1267](https://github.com/rubocop/rubocop-rails/pull/1267): Make `Rails/HttpStatus` aware of Rails-specific response assertions. ([AATTtldn0718][])
* [#1137](https://github.com/rubocop/rubocop-rails/pull/1137): Migrate to `TargetRailsVersion` the new [`requires_gem` API](https://github.com/rubocop/rubocop/pull/12186). ([AATTamomchilov][]) [AATTfatkodima]: https://github.com/fatkodima [AATTkoic]: https://github.com/koic [AATTtldn0718]: https://github.com/tldn0718 [AATTlukasfroehlich1]: https://github.com/lukasfroehlich1 [AATTearlopain]: https://github.com/earlopain [AATTccutrer]: https://github.com/ccutrer [AATTamomchilov]: https://github.com/amomchilov 2.24.1: [#]## Bug fixes
* [#1244](https://github.com/rubocop/rubocop-rails/issues/1244): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when returning `redirect_to`. ([AATTearlopain][])
* [#1255](https://github.com/rubocop/rubocop-rails/pull/1255): Fix an error for `Rails/UniqBeforePluck` with `EnforcedStyle: aggressive` when no receiver. ([AATTearlopain][])
* [#1247](https://github.com/rubocop/rubocop-rails/issues/1247): Fix an error for `Rails/UnusedIgnoredColumns` when without tables in db/schema.rb. ([AATTkoic][])
* [#1253](https://github.com/rubocop/rubocop-rails/pull/1253): Fix an error for `Rails/WhereMissing` with leading `where` without receiver. ([AATTearlopain][])
* [#1254](https://github.com/rubocop/rubocop-rails/pull/1254): Fix an error for `Rails/ExpandedDateRange` when passing an argument only to the first method call for weeks. ([AATTearlopain][])
* [#1256](https://github.com/rubocop/rubocop-rails/pull/1256): Fix an error for `Rails/ActiveSupportOnLoad` when calling without arguments. ([AATTearlopain][])
* [#1230](https://github.com/rubocop/rubocop-rails/issues/1230): Fix a false positive for `Rails/SaveBang` if `persisted?` is checked on parenthesised expression. ([AATTearlopain][])
* [#1200](https://github.com/rubocop/rubocop-rails/issues/1200): Make `Rails/TimeZone` aware of safe navigation. ([AATTearlopain][]) [#]## Changes
* [#1257](https://github.com/rubocop/rubocop-rails/pull/1257): Add Rails 7.1 load hooks and `active_record_sqlite3adapter` to `Rails/ActiveSupportOnLoad`. ([AATTearlopain][]) [AATTearlopain]: https://github.com/earlopain [AATTkoic]: https://github.com/koic 2.24.0: [#]## New features
* [#1245](https://github.com/rubocop/rubocop-rails/pull/1245): Support Prism as a Ruby parser (experimental). ([AATTkoic][]) [#]## Bug fixes
* [#1234](https://github.com/rubocop/rubocop-rails/issues/1234): Fix an incorrect autocorrect for `Rails/FindBy` when using multi-line leading dot method calls. ([AATTymap][])
* [#1241](https://github.com/rubocop/rubocop-rails/pull/1241): Fix an error for `Rails/WhereExists` with `EnforcedStyle: where` and implicit receivers. ([AATTearlopain][]) [#]## Changes
* [#1229](https://github.com/rubocop/rubocop-rails/pull/1229): Make `Rails/EnvironmentVariableAccess` aware of initializers. ([AATTmarkokajzer][])
* [#1231](https://github.com/rubocop/rubocop-rails/pull/1231): Remove `object_id` from `Rails/DangerousColumnNames` targets. ([AATTr7kamura][]) [AATTkoic]: https://github.com/koic [AATTymap]: https://github.com/ymap [AATTearlopain]: https://github.com/earlopain [AATTmarkokajzer]: https://github.com/markokajzer [AATTr7kamura]: https://github.com/r7kamura
* Mon Jan 29 2024 Dan Čermák - 2.23.1: [#]## Bug fixes
* [#1221](https://github.com/rubocop/rubocop-rails/issues/1221): Fix an exception in `Rails/WhereNot` when calling `.where` on an implicit receiver (e.g. inside model code). ([AATTbquorning][]) [AATTbquorning]: https://github.com/bquorning 2.23.0: [#]## New features
* [#1183](https://github.com/rubocop/rubocop-rails/pull/1183): Support PostGIS adapter for PostgreSQL. ([AATTDania02525][]) [#]## Bug fixes
* [#1206](https://github.com/rubocop/rubocop-rails/issues/1206): Fix an error for `Rails/WhereMissing` where join method is called without arguments. ([AATTfatkodima][])
* [#1189](https://github.com/rubocop/rubocop-rails/issues/1189): Fix false negatives for `Rails/Pluck` when using safe navigation method calls. ([AATTkoic][])
* [#1204](https://github.com/rubocop/rubocop-rails/pull/1204): Make `Rails/ActiveSupportAliases`, `Rails/FindBy`, `Rails/FindById`, `Rails/Inquiry`, `Rails/Pick` `Rails/PluckId`, `Rails/PluckInWhere`, `Rails/WhereEquals`, `Rails/WhereExists`, and `Rails/WhereNot` cops aware of safe navigation operator. ([AATTkoic][]) [#]## Changes
* [#1213](https://github.com/rubocop/rubocop-rails/issues/1213): Update `Rails/PluckInWhere` to check for `.ids` call. ([AATTfatkodima][])
* [#1181](https://github.com/rubocop/rubocop-rails/pull/1181): Support `Nokogiri::HTML.parse` and `Nokogiri::HTML5.parse` on `Rails/ResponseParsedBody`. ([AATTr7kamura][])
* [#1198](https://github.com/rubocop/rubocop-rails/issues/1198): Support `where.not` for `Rails/PluckInWhere`. ([AATTfatkodima][]) [AATTDania02525]: https://github.com/Dania02525 [AATTfatkodima]: https://github.com/fatkodima [AATTkoic]: https://github.com/koic [AATTr7kamura]: https://github.com/r7kamura
* Tue Nov 28 2023 Dan Čermák - 2.22.2: [#]## Bug fixes
* [#1172](https://github.com/rubocop/rubocop-rails/issues/1172): Fix an error for `Rails/UnknownEnv` when using Rails 7.1. ([AATTkoic][])
* [#1173](https://github.com/rubocop/rubocop-rails/issues/1173): Fix an error for `Rails/RedundantActiveRecordAllMethod` cop when used with RuboCop 1.51 or lower. ([AATTkoic][]) [#]## Changes
* [#1171](https://github.com/rubocop/rubocop-rails/pull/1171): Change `Rails/RedundantActiveRecordAllMethod` to ignore `delete_all` and `destroy_all` when receiver is an association. ([AATTmasato-bkn][])
* [#1178](https://github.com/rubocop/rubocop-rails/pull/1178): Require RuboCop AST 1.30.0+. ([AATTkoic][]) [AATTkoic]: https://github.com/koic [AATTmasato-bkn]: https://github.com/masato-bkn
* Tue Nov 14 2023 Dan Čermák - 2.22.1: [#]## Bug fixes
* [#1168](https://github.com/rubocop/rubocop-rails/issues/1168): Fix a false positive for `Rails/DuplicateAssociation` when using duplicate `belongs_to` associations of same class without other arguments. ([AATTkoic][]) [AATTkoic]: https://github.com/koic 2.22.0: [#]## New features
* [#906](https://github.com/rubocop/rubocop-rails/pull/906): Add `Rails/EnvLocal` cop. ([AATTsambostock][])
* [#1128](https://github.com/rubocop/rubocop-rails/issues/1128): Make `Rails/DuplicateAssociation` aware of duplicate `class_name`. ([AATTkoic][])
* [#1157](https://github.com/rubocop/rubocop-rails/pull/1157): Support some Rails 7.1\'s new querying methods for `Rails/RedundantActiveRecordAllMethod`. ([AATTkoic][])
* [#1147](https://github.com/rubocop/rubocop-rails/issues/1147): Support the Trilogy adapter for MySQL. ([AATTkoic][]) [#]## Bug fixes
* [#952](https://github.com/rubocop/rubocop-rails/issues/952): Fix a false positive for `Rails/NotNullColumn` when using `null: false` for MySQL\'s TEXT type. ([AATTkoic][])
* [#1041](https://github.com/rubocop/rubocop-rails/issues/1041): Fix a false positive for `Rails/Output` when output method is called with block argument. ([AATTkoic][])
* [#1143](https://github.com/rubocop/rubocop-rails/issues/1143): Fix an error for `Rails/RedundantActiveRecordAllMethod` when using RuboCop 1.51 or lower. ([AATTkoic][])
* [#1105](https://github.com/rubocop/rubocop-rails/issues/1105): Fix false positives for `Rails/RedundantPresenceValidationOnBelongsTo` when using `validates` with `:if` or `:unless` options. ([AATTkoic][])
* [#1158](https://github.com/rubocop/rubocop-rails/issues/1158): `Rails/HasManyOrHasOneDependent` does not add offence when has_many or has_one is called on an explicit receiver. ([AATTsamrjenkins][])
* [#1160](https://github.com/rubocop/rubocop-rails/issues/1160): Fix `Rails/SaveBang` to ignore parenthesis. ([AATTfatkodima][]) [#]## Changes
* [#1152](https://github.com/rubocop/rubocop-rails/pull/1152): Add more dangerous column names to `Rails/DangerousColumnNames`. ([AATTr7kamura][])
* [#1039](https://github.com/rubocop/rubocop-rails/issues/1039): Deprecate `Rails/ActionFilter` cop; it will be disabled by default. ([AATTkoic][])
* [#893](https://github.com/rubocop/rubocop-rails/issues/893): Support `local` as an environment for `Rails/UnknownEnv` from Rails 7.1 onward. ([AATTghiculescu][]) [AATTsambostock]: https://github.com/sambostock [AATTkoic]: https://github.com/koic [AATTsamrjenkins]: https://github.com/samrjenkins [AATTfatkodima]: https://github.com/fatkodima [AATTr7kamura]: https://github.com/r7kamura [AATTghiculescu]: https://github.com/ghiculescu 2.21.2: [#]## Bug fixes
* [#1126](https://github.com/rubocop/rubocop-rails/pull/1126): Fix a false positive for `Rails/RedundantActiveRecordAllMethod` when using some `Enumerable`\'s methods with block argument. ([AATTkoic][])
* [#1121](https://github.com/rubocop/rubocop-rails/issues/1121): Fix an error for `Rails/SelectMap` when using `select(:column_name).map(&:column_name)` without receiver model. ([AATTkoic][])
* [#1119](https://github.com/rubocop/rubocop-rails/issues/1119): Fix an incorrect autocorrect for `Rails/RedundantActiveRecordAllMethod` when `all` has parentheses. ([AATTmasato-bkn][])
* [#1130](https://github.com/rubocop/rubocop-rails/issues/1130): Fix crash for `Rails/UniqueValidationWithoutIndex` with bare validate. ([AATTjamiemccarthy][])
* [#1124](https://github.com/rubocop/rubocop-rails/issues/1124): Fix false positives for `Rails/RedundantActiveRecordAllMethod` when receiver is not an Active Record model. ([AATTkoic][]) [AATTkoic]: https://github.com/koic [AATTmasato-bkn]: https://github.com/masato-bkn [AATTjamiemccarthy]: https://github.com/jamiemccarthy 2.21.1: [#]## Bug fixes
* [#1108](https://github.com/rubocop/rubocop-rails/issues/1108): Fix an incorrect autocorrect for `Rails/TimeZone` when using `String#to_time`. ([AATTkoic][])
* [#1109](https://github.com/rubocop/rubocop-rails/issues/1109): Fix error for `Rails/RedundantActiveRecordAllMethod` when `all` is an argument for AR methods. ([AATTmasato-bkn][])
* [#1110](https://github.com/rubocop/rubocop-rails/issues/1110): Fix false positive for `Rails/RedundantActiveRecordAllMethod` when `all` has any parameters. ([AATTmasato-bkn][]) [AATTkoic]: https://github.com/koic [AATTmasato-bkn]: https://github.com/masato-bkn 2.21.0: [#]## New features
* [#1075](https://github.com/rubocop/rubocop-rails/issues/1075): Add new `Rails/SelectMap` cop that checks for uses of `select(:column_name)` with `map(&:column_name)`. ([AATTkoic][])
* [#158](https://github.com/rubocop/rubocop-rails/issues/158): Add `Rails/DangerousColumnNames` cop. ([AATTr7kamura][])
* [#1072](https://github.com/rubocop/rubocop-rails/pull/1072): Add `TransactionMethods` config for `Rails/TransactionExitStatement` to detect custom transaction methods. ([AATTmarocchino][])
* [#967](https://github.com/rubocop/rubocop-rails/issues/967): Add new `Rails/UnusedRenderContent` cop. ([AATTsamrjenkins][])
* [#1052](https://github.com/rubocop/rubocop-rails/pull/1052): Add explicit style to `Rails/I18nLazyLookup`. ([AATTsunny][])
* [#1016](https://github.com/rubocop/rubocop-rails/issues/1016): Add new `Rails/RedundantActiveRecordAllMethod` cop. ([AATTmasato-bkn][]) [#]## Bug fixes
* [#1078](https://github.com/rubocop/rubocop-rails/issues/1078): Fix a false negative for `Rails/LexicallyScopedActionFilter` when no methods are defined. ([AATTvlad-pisanov][])
* [#1060](https://github.com/rubocop/rubocop-rails/issues/1060): Fix a false positive for `Rails/HttpStatus` when using symbolic value that have no numeric value mapping. ([AATTkoic][])
* [#1004](https://github.com/rubocop/rubocop-rails/pull/1004): Fix a false-positive for `Rails/RootPathnameMethods` on Ruby 2.4 or lower. ([AATTr7kamura][])
* [#1066](https://github.com/rubocop/rubocop-rails/issues/1066): Fix an error for `Rails/FilePath` when string interpolated `Rails.root` is followed by a message starting with `.`. ([AATTkoic][])
* [#1049](https://github.com/rubocop/rubocop-rails/pull/1049): Fix an incorrect autocorrect for `Rails/FilePath` when File.join with Rails.root and path starting with `/`. ([AATTydah][])
* [#1045](https://github.com/rubocop/rubocop-rails/issues/1045): Fix an incorrect autocorrect for `Rails/NegateInclude` when using `Style/InverseMethods`\'s autocorrection together. ([AATTkoic][])
* [#1062](https://github.com/rubocop/rubocop-rails/issues/1062): Fix autocorrection for `Rails/RakeEnvironment` when rake task accepts arguments. ([AATTfastjames][])
* [#1036](https://github.com/rubocop/rubocop-rails/issues/1036): Fix an error for `UniqueValidationWithoutIndex` when `db/schema.rb` is empty. ([AATTfatkodima][])
* [#1042](https://github.com/rubocop/rubocop-rails/pull/1042): Fix no offences for `Rails/SchemaComment` when create_table with multi t columns. ([AATTnipe0324][]) [#]## Changes
* [#1056](https://github.com/rubocop/rubocop-rails/pull/1056): Fix database adapter detection for nested config. ([AATTmjankowski][])
* [#1031](https://github.com/rubocop/rubocop-rails/pull/1031): Make `Lint/SafeNavigationChain` allow `presence_in`. ([AATTkoic][])
* [#1080](https://github.com/rubocop/rubocop-rails/issues/1080): Make `Rails/HttpStatus` aware of string number status. ([AATTr7kamura][])
* [#1094](https://github.com/rubocop/rubocop-rails/issues/1094): Make `Rails/TimeZone` aware of `String#to_time`. ([AATTkoic][])
* [#1015](https://github.com/rubocop/rubocop-rails/issues/1015): Make `Style/InvertibleUnlessCondition` aware of Active Support methods. ([AATTkoic][])
* [#903](https://github.com/rubocop/rubocop-rails/pull/903): Read database config for `Rails/BulkChangeTable` from environment variable. ([AATTjoergschiller][])
* [#1058](https://github.com/rubocop/rubocop-rails/issues/1058): Relax `Include` path for `Rails/FindBy` and `Rails/FindEach`. ([AATTkoic][])
* [#994](https://github.com/rubocop/rubocop-rails/pull/994): Restrict DuplicateAssociation cop to ActiveRecord. ([AATTmjankowski][]) [AATTkoic]: https://github.com/koic [AATTr7kamura]: https://github.com/r7kamura [AATTmarocchino]: https://github.com/marocchino [AATTsamrjenkins]: https://github.com/samrjenkins [AATTsunny]: https://github.com/sunny [AATTvlad-pisanov]: https://github.com/vlad-pisanov [AATTmasato-bkn]: https://github.com/masato-bkn [AATTydah]: https://github.com/ydah [AATTfastjames]: https://github.com/fastjames [AATTfatkodima]: https://github.com/fatkodima [AATTnipe0324]: https://github.com/nipe0324 [AATTmjankowski]: https://github.com/mjankowski [AATTjoergschiller]: https://github.com/joergschiller 2.20.2: [#]## Bug fixes
* [#1028](https://github.com/rubocop/rubocop-rails/pull/1028): Fix an error for `Rails/UniqueValidationWithoutIndex` when the `presence: true` option is used alone for the `validates` method. ([AATTkoic][]) [AATTkoic]: https://github.com/koic 2.20.1: [#]## Bug fixes
* [#1021](https://github.com/rubocop/rubocop-rails/pull/1021): Fix an error for `Rails/UniqueValidationWithoutIndex`. ([AATTydah][]) [AATTydah]: https://github.com/ydah 2.20.0: [#]## New features
* [#999](https://github.com/rubocop/rubocop-rails/pull/999): Add autocorrection for `Rails/Date`. ([AATTr7kamura][])
* [#991](https://github.com/rubocop/rubocop-rails/pull/991): Add autocorrection for `Rails/FilePath`. ([AATTr7kamura][])
* [#988](https://github.com/rubocop/rubocop-rails/pull/988): Add autocorrection for `Rails/IgnoredSkipActionFilterOption`. ([AATTr7kamura][]) [#]## Bug fixes
* [#1005](https://github.com/rubocop/rubocop-rails/pull/1005): Flag `break` in `with_lock` for `Rails/TransactionExitStatement`. ([AATTsplattael][])
* [#997](https://github.com/rubocop/rubocop-rails/issues/997): Fix to Allow `NotNullColumn` to work with method calls and variables. ([AATTfidalgo][])
* [#989](https://github.com/rubocop/rubocop-rails/pull/989): Fix `Rails/FilePath` to detect offenses from complex string interpolation. ([AATTr7kamura][])
* [#1010](https://github.com/rubocop/rubocop-rails/issues/1010): Fix `Rails/ThreeStateBooleanColumn` for dynamic tables/columns. ([AATTfatkodima][])
* [#1008](https://github.com/rubocop/rubocop-rails/pull/1008): Fix `UniqueValidationWithoutIndex` to not detect offenses when a validation specifies `uniqueness: false`. ([AATTsamrjenkins][]) [#]## Changes
* [#1011](https://github.com/rubocop/rubocop-rails/pull/1011): Add `
*_create_active_storage_variant_records.active_storage.rb` to `Rails/CreateTableWithTimestamps` exclude file list. ([AATTtka5][])
* [#995](https://github.com/rubocop/rubocop-rails/pull/995): Check for `or` method in `Rails/FindEach` cop. ([AATTmasato-bkn][])
* [#1019](https://github.com/rubocop/rubocop-rails/pull/1019): Change db migration file pattern so that it supports multiple db. ([AATTr7kamura][])
* [#986](https://github.com/rubocop/rubocop-rails/pull/986):
*
*(Breaking)
*
* Drop Ruby 2.6 support. ([AATTkoic][])
* [#992](https://github.com/rubocop/rubocop-rails/pull/992): Exclude `app/assets/
*
*/
*` by default. ([AATTr7kamura][])
* [#1014](https://github.com/rubocop/rubocop-rails/pull/1014): Make `Lint/RedundantSafeNavigation` aware of `presence` and `present?` methods. ([AATTkoic][])
* [#1007](https://github.com/rubocop/rubocop-rails/issues/1007): Support `flash.now` for `Rails/I18nLocaleTexts`. ([AATTfatkodima][]) [AATTr7kamura]: https://github.com/r7kamura [AATTsplattael]: https://github.com/splattael [AATTfidalgo]: https://github.com/fidalgo [AATTfatkodima]: https://github.com/fatkodima [AATTsamrjenkins]: https://github.com/samrjenkins [AATTtka5]: https://github.com/tka5 [AATTmasato-bkn]: https://github.com/masato-bkn [AATTkoic]: https://github.com/koic 2.19.1: [#]## Bug fixes
* [#979](https://github.com/rubocop/rubocop-rails/issues/979): Fix an error for `Rails/ThreeStateBooleanColumn` when using `t.boolean` in `drop_table`. ([AATTkoic][]) [AATTkoic]: https://github.com/koic 2.19.0: [#]## New features
* [#337](https://github.com/rubocop/rubocop-rails/issues/337): Add new `Rails/ThreeStateBooleanColumn` cop. ([AATTfatkodima][])
* [#45](https://github.com/rubocop/rubocop-rails/issues/45): Make `Rails/Delegate` aware of `self`. ([AATTkoic][]) [#]## Bug fixes
* [#934](https://github.com/rubocop/rubocop-rails/issues/934): Fix a false negative for `Rails/Output` when print methods without arguments. ([AATTkoic][])
* [#99](https://github.com/rubocop/rubocop-rails/issues/99): Fix a false positive for `Rails/HttpPositionalArguments` when using `include Rack::Test::Methods`. ([AATTkoic][])
* [#501](https://github.com/rubocop/rubocop-rails/issues/501): Fix a false positive for `Rails/OutputSafety` when using `html_safe` for `I18n` methods. ([AATTkoic][])
* [#860](https://github.com/rubocop/rubocop-rails/issues/860): Fix a false positive for `Rails/Pluck` when using regexp literal key for `String#[]`. ([AATTkoic][])
* [#938](https://github.com/rubocop/rubocop-rails/issues/938): Fix an error for `Rails/WhereNotWithMultipleConditions` when using `where.not.lt(condition)` as a Mongoid API\'. ([AATTkoic][])
* [#941](https://github.com/rubocop/rubocop-rails/issues/941): Remove redundant config for `Style/InverseMethods`. ([AATTkoic][]) [#]## Changes
* [#299](https://github.com/rubocop/rubocop-rails/pull/299): Add autocorrection for `Rails/ReflectionClassName`. ([AATTtejasbubane][])
* [#34](https://github.com/rubocop/rubocop-rails/issues/34): Allow `CreateTableWithTimestamps` when using `id: false` and not include `timestamps`. ([AATTkoic][])
* [#694](https://github.com/rubocop/rubocop-rails/issues/694): Mark `Rails/FindEach` as unsafe. ([AATTkoic][])
* [#940](https://github.com/rubocop/rubocop-rails/issues/940): Mark `Rails/ResponseParsedBody` as unsafe. ([AATTkoic][]) [AATTfatkodima]: https://github.com/fatkodima [AATTkoic]: https://github.com/koic [AATTtejasbubane]: https://github.com/tejasbubane 2.18.0: [#]## New features
* [#863](https://github.com/rubocop/rubocop-rails/pull/863): Add `Rails/ResponseParsedBody` cop. ([AATTr7kamura][]) [#]## Bug fixes
* [#824](https://github.com/rubocop/rubocop-rails/pull/824): Fix a false negative for `Rails/ActionControllerTestCase` when the class is namespaced. ([AATTvlad-pisanov][])
* [#909](https://github.com/rubocop/rubocop-rails/issues/909): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` before `redirect_to` in `if` branch. ([AATTkoic][])
* [#898](https://github.com/rubocop/rubocop-rails/issues/898): Fix a false positive for `Rails/ActiveRecordAliases` when arguments of `update_attributes` is empty. ([AATTkoic][])
* [#920](https://github.com/rubocop/rubocop-rails/pull/920): Fix an error for `Rails/NegateInclude` when there is no receiver. ([AATTfatkodima][])
* [#931](https://github.com/rubocop/rubocop-rails/pull/931): Fix error in `Rails/Presence` when ternary operators are used in multiple lines. ([AATTr7kamura][])
* [#687](https://github.com/rubocop/rubocop-rails/issues/687): Fix `Rails/HasManyOrHasOneDependent` to correctly handle association methods with receiver. ([AATTfatkodima][])
* [#929](https://github.com/rubocop/rubocop-rails/issues/929): Prevent `Rails/SquishedSQLHeredocs` applying when single-line comments are present. ([AATTjohn-h-k][])
* [#887](https://github.com/rubocop/rubocop-rails/issues/887): Fix a false positive for `Rails/NotNullColumn` when adding a `:virtual` column. ([AATTfatkodima][])
* [#918](https://github.com/rubocop/rubocop-rails/pull/918): Fix `Rails/FreezeTime` running against Rails < 5.2 apps. ([AATTDRBragg][])
* [#895](https://github.com/rubocop/rubocop-rails/pull/895): Fix `Rails/UnusedIgnoredColumns` not recognizing columns added via `+=`. ([AATTlucthev][]) [#]## Changes
* [#263](https://github.com/rubocop/rubocop-rails/pull/263): Accept actions defined via `alias` in `Rails/LexicallyScopedActionFilter`. ([AATTfatkodima][])
* [#902](https://github.com/rubocop/rubocop-rails/pull/902): Ignore `redirect` method for `Style/FormatStringToken` by default. ([AATTjavierjulio][])
* [#935](https://github.com/rubocop/rubocop-rails/pull/935): Make `Style/InverseMethods` aware of Active Support\'s `present?`, `blank?`, `include?`, and `exclude?` methods. ([AATTkoic][])
* [#914](https://github.com/rubocop/rubocop-rails/issues/914): Make `Style/InverseMethods` aware of `valid?` and `invalid?` methods. ([AATTkoic][])
* [#826](https://github.com/rubocop/rubocop-rails/issues/826): Mark `Rails/Pluck` as unsafe. ([AATTfatkodima][])
* [#896](https://github.com/rubocop/rubocop-rails/pull/896): Raise severity of `Rails/ActiveRecordOverride`, `Rails/DeprecatedActiveModelErrorsMethods`, `Rails/DuplicateAssociation`, `Rails/DuplicateScope`, `Rails/TopLevelHashWithIndifferentAccess`, and `Rails/WhereNotWithMultipleConditions` cops to warning. ([AATTkoic][]) [AATTr7kamura]: https://github.com/r7kamura [AATTvlad-pisanov]: https://github.com/vlad-pisanov [AATTkoic]: https://github.com/koic [AATTfatkodima]: https://github.com/fatkodima [AATTjohn-h-k]: https://github.com/john-h-k [AATTDRBragg]: https://github.com/DRBragg [AATTlucthev]: https://github.com/lucthev [AATTjavierjulio]: https://github.com/javierjulio 2.17.4: [#]## Bug fixes
* [#870](https://github.com/rubocop/rubocop-rails/issues/870): Fix an error for `Rails/RootPathnameMethods` when using `Rails.env` argument within `Dir.glob`. ([AATTkoic][])
* [#881](https://github.com/rubocop/rubocop-rails/pull/881): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` in multiline `rescue` branch before `redirect_to`. ([AATTgurix][])
* [#871](https://github.com/rubocop/rubocop-rails/pull/871): Fix a false positive for `Rails/WhereMissing` when `left_joins(:foo)` and `where(foos: {id: nil})` separated by `or`, `and`. ([AATTydah][])
* [#875](https://github.com/rubocop/rubocop-rails/pull/875): Make `Rails/RootPathnameMethods` aware of enforced style of `Style/StringLiterals`. ([AATTkoic][])
* [#882](https://github.com/rubocop/rubocop-rails/pull/882): Fix false positive for `Rails/UniqueValidationWithoutIndex` with :conditions option. ([AATTetiennebarrie][])
* [#821](https://github.com/rubocop/rubocop-rails/issues/821): Enhance `Rails/TimeZone` to accept methods with the `:in` timezone option. ([AATTfatkodima][]) [#]## Changes
* [#880](https://github.com/rubocop/rubocop-rails/pull/880): Add Rails/I18nLocaleTexts match for redirect_back. ([AATTbensheldon][]) [AATTkoic]: https://github.com/koic [AATTgurix]: https://github.com/gurix [AATTydah]: https://github.com/ydah [AATTetiennebarrie]: https://github.com/etiennebarrie [AATTfatkodima]: https://github.com/fatkodima [AATTbensheldon]: https://github.com/bensheldon
* Wed Dec 07 2022 Stephan Kulow updated to version 2.17.3 no changelog found
* Fri Oct 28 2022 Stephan Kulow updated to version 2.17.2 no changelog found
* Mon Oct 10 2022 Stephan Kulow updated to version 2.16.1 no changelog found
* Fri Jul 08 2022 Manuel Schnitzer - updated to version 2.15.2 [#]## Bug fixes
* [#712](https://github.com/rubocop/rubocop-rails/issues/712): Fix false negative in `Rails/Delegate` when preceding nested class declares private or protected methods. ([AATTDarhazer][])
* [#737](https://github.com/rubocop/rubocop-rails/issues/737): Fix a false positive for `Rails/DeprecatedActiveModelErrorsMethods` when using `keys` method with Rails 6.0. ([AATTkoic][])
* [#737](https://github.com/rubocop/rubocop-rails/pull/737): Make `Rails/ExpandedDateRange` aware `beginning_of_week` with an argument. ([AATTkoic][])
* [#731](https://github.com/rubocop/rubocop-rails/issues/731): Fix an incorrect autocorrect for `Rails/StripHeredoc`. ([AATTkazarin][])
* Wed Jun 29 2022 Manuel Schnitzer - updated to version 2.15.1 [#]## Bug fixes
* [#723](https://github.com/rubocop/rubocop-rails/pull/723): Fix include value in `Rails/AttributeDefaultBlockValue`. ([AATTkkitadate][])
* [#717](https://github.com/rubocop/rubocop-rails/issues/717): Fix an error for `Rails/DeprecatedActiveModelErrorsMethods` when root receiver is a variable. ([AATTkoic][])
* [#719](https://github.com/rubocop/rubocop-rails/issues/719): Fix a false negative for `Rails/FormattedS` when using safe navigation operator. ([AATTkoic][])
* [#725](https://github.com/rubocop/rubocop-rails/issues/725): Fix an incorrect autocorrect for `Rails/DotSeparatedKeys` when a key starts with dot. ([AATTkoic][])
* Wed Jun 15 2022 Manuel Schnitzer - updated to version 2.15.0 [#]## New features
* [#325](https://github.com/rubocop/rubocop-rails/pull/325): Add new `Rails/DotSeparatedKeys` cop. ([AATTfatkodima][])
* [#704](https://github.com/rubocop/rubocop-rails/issues/704): Add new `Rails/StripHeredoc` cop. ([AATTkoic][])
* [#691](https://github.com/rubocop/rubocop-rails/pull/691): Add new `Rails/ToFormattedS` cop. ([AATTkoic][])
* [#588](https://github.com/rubocop/rubocop-rails/pull/588): Add new `Rails/RootPublicPath` cop. ([AATTleoarnold][])
* [#702](https://github.com/rubocop/rubocop-rails/pull/702): Make `keys` method aware of `Rails/DeprecatedActiveModelErrorsMethods` cop. ([AATTkoic][])
* [#688](https://github.com/rubocop/rubocop-rails/pull/688): Support autocorrection for `Rails/DeprecatedActiveModelErrorsMethods`. ([AATTkoic][]) [#]## Bug fixes
* [#696](https://github.com/rubocop/rubocop-rails/pull/696): Fix a false negative for `Rails/TransactionExitStatement` when `return` is used in `rescue`. ([AATTkoic][])
* [#700](https://github.com/rubocop/rubocop-rails/issues/700): Fix a false positive for `Rails/FilePath` when a list of paths separated by colon including Rails.root. ([AATTtk0miya][])
* [#680](https://github.com/rubocop/rubocop-rails/issues/680): Fix a false positive for `Rails/ReversibleMigrationMethodDefinition` when using an inner class. ([AATTkoic][])
* [#692](https://github.com/rubocop/rubocop-rails/issues/692): Fix an error for `Rails/UnusedIgnoredColumns` when using no tables db/schema.rb. ([AATTkoic][])
* [#707](https://github.com/rubocop/rubocop-rails/issues/707): Fix an error when a variable is passed to has_many or has_one with double splat. ([AATTnobuyo][])
* [#695](https://github.com/rubocop/rubocop-rails/pull/695): Fixes a false negative where the `in_rescue?` check would bypass situations where the return was inside a transaction but outside of a rescue. ([AATTdorkrawk][])
* [#703](https://github.com/rubocop/rubocop-rails/pull/703): Fix not autocorrected for `Rails/DuplicateAssociation`. ([AATTydah][])
* [#708](https://github.com/rubocop/rubocop-rails/pull/708): Recover Ruby 2.2 code analysis using `TargetRubyVersion: 2.2`. ([AATTkoic][]) [#]## Changes
* [#697](https://github.com/rubocop/rubocop-rails/pull/697):
*
*(Compatibility)
*
* Drop Ruby 2.5 support. ([AATTkoic][])
* [#705](https://github.com/rubocop/rubocop-rails/pull/705): Add mailers to default `filter`/`action` callbacks cops. ([AATTojab][])
* [#710](https://github.com/rubocop/rubocop-rails/pull/710): Rails/TransactionExitStatement - Inspect `ActiveRecord::Locking::Pessimistic#with_lock` too, as `#with_lock` opens a transaction. ([AATTFunnyHector][])
* Thu Apr 28 2022 Stephan Kulow updated to version 2.14.2 no changelog found
* Tue Jan 25 2022 Stephan Kulow updated to version 2.13.2 no changelog found
* Sat Dec 25 2021 Manuel Schnitzer - updated to version 2.13.0 [#]# 2.13.0 (2021-12-25) [#]## New features
* [#586](https://github.com/rubocop/rubocop-rails/pull/586): Add new `Rails/RootJoinChain` cop. ([AATTleoarnold][])
* [#571](https://github.com/rubocop/rubocop-rails/issues/571): Add `Rails/DurationArithmetic` cop. ([AATTpirj][])
* [#594](https://github.com/rubocop/rubocop-rails/pull/594): Add `Rails/RedundantPresenceValidationOnBelongsTo` cop. ([AATTpirj][])
* [#568](https://github.com/rubocop/rubocop-rails/issues/568): Add `Rails/SchemaComment` cop. ([AATTvitormd][]) [#]## Changes
* [#591](https://github.com/rubocop/rubocop-rails/issues/591): Add `change_column` check to `Rails/ReversibleMigration`. ([AATTmattmccormick][])
* Add `remove_reference` check to `Rails/ReversibleMigration`. ([AATTmattmccormick][])
* [#576](https://github.com/rubocop/rubocop-rails/pull/576): Mark `Rails/TimeZone` as unsafe auto-correction from unsafe. ([AATTkoic][])
* [#582](https://github.com/rubocop/rubocop-rails/pull/582): Unmark `AutoCorrect: false` from `Rails/RelativeDateConstant`. ([AATTkoic][])
* [#580](https://github.com/rubocop/rubocop-rails/pull/580): Unmark `AutoCorrect: false` from `Rails/UniqBeforePluck`. ([AATTkoic][])
* Wed Dec 22 2021 Manuel Schnitzer - updated to version 2.12.4 [#]## Bug fixes
* [#573](https://github.com/rubocop/rubocop-rails/pull/573): Fix an error for `Rails/FindEach` when using `where` with no receiver. ([AATTkoic][])
* Sat Oct 09 2021 Manuel Schnitzer - updated to version 2.12.3 [#]# 2.12.3 (2021-10-06) [#]## Bug fixes
* [#556](https://github.com/rubocop/rubocop-rails/issues/556): Fix a false positive for `Rails/ContentTag` when using using the `tag` method with 3 or more arguments. ([AATTkoic][])
* [#551](https://github.com/rubocop/rubocop-rails/issues/551): Fix a false positive for `Rails/FindEach` when using `model.errors.where` in Rails 6.1. ([AATTkoic][])
* [#543](https://github.com/rubocop/rubocop-rails/issues/543): Fix an error for `Rails/ContentTag` when `tag` is not a top-level method. ([AATTkoic][])
* [#559](https://github.com/rubocop/rubocop-rails/issues/559): Fix an error for `Rails/RelativeDateConstant` when using multiple assignment. ([AATTkoic][])
* [#553](https://github.com/rubocop/rubocop-rails/pull/553): Fix a false positive for `Rails/ReversibleMigration` when using `t.remove` with `type` option in Rails 6.1. ([AATTkoic][]) [#]## Changes
* [#546](https://github.com/rubocop/rubocop-rails/issues/546): Exclude `app/models` by default for `Rails/ContentTag`. ([AATTkoic][])
* [#570](https://github.com/rubocop/rubocop-rails/pull/570): Make `Rails/CreateTableWithTimestamps` respect `active_storage_variant_records` table of `db/migrate/
*_create_active_storage_tables.active_storage.rb` auto-generated by `bin/rails active_storage:install` even if `created_at` is not specified. ([AATTkoic][]) [#]# 2.12.2 (2021-09-11) [#]## Bug fixes
* [#541](https://github.com/rubocop/rubocop-rails/issues/541): Fix an error for `Rails/HasManyOrHasOneDependent` when using lambda argument and specifying `:dependent` strategy. ([AATTkoic][]) [#]# 2.12.1 (2021-09-10) [#]## Bug fixes
* [#535](https://github.com/rubocop/rubocop-rails/issues/535): Fix an error for `Rails/HasManyOrHasOneDependent` when using lambda argument and not specifying any options. ([AATTkoic][]) [#]# 2.12.0 (2021-09-09) [#]## New features
* [#521](https://github.com/rubocop/rubocop-rails/pull/521): Support auto-correction for `Rails/Output`. ([AATTkoic][])
* [#520](https://github.com/rubocop/rubocop-rails/pull/520): Support auto-correction for `Rails/ScopeArgs`. ([AATTkoic][])
* [#524](https://github.com/rubocop/rubocop-rails/pull/524): Add new `Rails/RedundantTravelBack` cop. ([AATTkoic][]) [#]## Bug fixes
* [#528](https://github.com/rubocop/rubocop-rails/issues/528): Fix a false positive for `Rails/HasManyOrHasOneDependent` when specifying `:dependent` strategy with double splat. ([AATTkoic][])
* [#529](https://github.com/rubocop/rubocop-rails/issues/529): Fix a false positive for `Rails/LexicallyScopedActionFilter` when action method is aliased by `alias_method`. ([AATTkoic][])
* [#532](https://github.com/rubocop/rubocop-rails/issues/532): Fix a false positive for `Rails/HttpPositionalArguments` when defining `get` in `Rails.application.routes.draw` block. ([AATTkoic][]) [#]## Changes
* [#260](https://github.com/rubocop/rubocop-rails/issues/260): Change target of `Rails/ContentTag` from `content_tag` method to `tag` method. ([AATTtabuchi0919][])
* Sun Jul 11 2021 Manuel Schnitzer - updated to version 2.11.3 [#]## Bug fixes
* [#517](https://github.com/rubocop/rubocop-rails/pull/517): Fix an issue for `Rails/UniqueValidationWithoutIndex` when validating uniqueness with a polymorphic scope. ([AATTtheunraveler][])
* Thu Jun 24 2021 Stephan Kulow updated to version 2.11.0 no changelog found
* Fri May 14 2021 Manuel Schnitzer - updated to version 2.10.1
* [#478](https://github.com/rubocop/rubocop-rails/pull/478): Fix `Rails/ReversibleMigrationMethodDefinition` cop\'s `Include`. ([AATTrhymes][])
* Sun Apr 11 2021 Manuel Schnitzer - initialize package
 
ICM