Releases
v2.4.0
koic
released this
27 Nov 04:38
New features
#123 : Add new Rails/ApplicationController
and Rails/ApplicationMailer
cops. (@eugeneius )
#130 : Add new Rails/RakeEnvironment
cop. (@pocke )
#133 : Add new Rails/SafeNavigationWithBlank
cop. (@gyfis )
Bug fixes
#120 : Fix message for Rails/SaveBang
when the save is in the body of a conditional. (@jas14 )
#131 : Fix an incorrect autocorrect for Rails/Presence
when using []
method. (@forresty )
#142 : Fix an incorrect autocorrect for Rails/EnumHash
when using nested constants. (@koic )
#136 : Fix a false positive for Rails/ReversibleMigration
when using change_default
with :from
and :to
options. (@sinsoku )
#144 : Fix a false positive for Rails/ReversibleMigration
when using change_table_comment
or change_column_comment
with a :from
and :to
hash. (@DNA )
Changes
#156 : Make Rails/UnknownEnv
cop aware of Rails.env == 'unknown_env'
. (@pocke )
#141 : Change default of EnforcedStyle
from arguments
to slashes
for Rails/FilePath
. (@koic )
You can’t perform that action at this time.