RuboCop Rails 2.13.0
New features
- #586: Add new
Rails/RootJoinChain
cop. (@leoarnold) - #571: Add
Rails/DurationArithmetic
cop. (@pirj) - #594: Add
Rails/RedundantPresenceValidationOnBelongsTo
cop. (@pirj) - #568: Add
Rails/SchemaComment
cop. (@vitormd)
Changes
- #591: Add
change_column
check toRails/ReversibleMigration
. (@mattmccormick) - Add
remove_reference
check toRails/ReversibleMigration
. (@mattmccormick) - #576: Mark
Rails/TimeZone
as unsafe auto-correction from unsafe. (@koic) - #582: Unmark
AutoCorrect: false
fromRails/RelativeDateConstant
. (@koic) - #580: Unmark
AutoCorrect: false
fromRails/UniqBeforePluck
. (@koic)