You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#790: Make Style/HashExcept aware of TargetRubyVersion: 2.x because Rails has Hash#except. (@koic)
Bug fixes
#786: Fix a false negative for Rails/ActionControllerTestCase when extending ActionController::TestCase and having a method definition. (@koic)
#792: Fix a false negative for Rails/RedundantPresenceValidationOnBelongsTo when belongs_to at least one block and one hash like belongs_to :company, -> { where(foo: true) }, inverse_of: :employee. (@PedroAugustoRamalhoDuarte)
#781: Make Rails/DynamicFindBy aware of find_by_token_for. (@koic)
#809: Fix an error for Rails/FreezeTime when using travel_to without argument. (@koic)
#794: Fix an error for Rails/RedundantReceiverInWithOptions when calling a method with a receiver in with_options without block arguments. (@koic)
#782: Fix an incorrect autocorrect for Rails/EagerEvaluationLogMessage when using Style/MethodCallWithArgsParentheses's autocorrection together. (@koic)
#776: Fix an incorrect autocorrect for Rails/Presence when using arithmetic operation in else branch. (@koic)
#813: Fix errors that occur when unrelated tag is investigated by Rails/ContentTag. (@r7kamura)
#808: Fix false positive for Rails/ActionControllerFlashBeforeRender when render call precedes flash call. (@americodls)
#778: Fix a false positive for Rails/DynamicFindBy when using page.find_by_id as a Capybara testing API. (@koic)
#816: Fix an incorrect autocorrect for Rails/Presence when a right-hand side of the relational operator. (@ydah)
Changes
#779: Add mail to AllowedMethods of Style/SymbolProc. (@koic)
#796: Add several directories to Exclude to prevent slow investigation. (@koic)