From de680ad35f23f947c99f140c48c0e6f5e3919119 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 22 Jun 2019 12:22:13 +0900 Subject: [PATCH] Remove outdated doc for `Rails/ActionFilter` Follow up #74. RuboCop Rails doesn't support Rails 3 or lower. --- lib/rubocop/cop/rails/action_filter.rb | 3 --- manual/cops_rails.md | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/rubocop/cop/rails/action_filter.rb b/lib/rubocop/cop/rails/action_filter.rb index 0a03f47ab2..dea8b1ae7e 100644 --- a/lib/rubocop/cop/rails/action_filter.rb +++ b/lib/rubocop/cop/rails/action_filter.rb @@ -8,9 +8,6 @@ module Rails # The cop is configurable and can enforce the use of the older # something_filter methods or the newer something_action methods. # - # If the TargetRailsVersion is set to less than 4.0, the cop will enforce - # the use of filter methods. - # # @example EnforcedStyle: action (default) # # bad # after_filter :do_stuff diff --git a/manual/cops_rails.md b/manual/cops_rails.md index f935378c13..77307210da 100644 --- a/manual/cops_rails.md +++ b/manual/cops_rails.md @@ -11,9 +11,6 @@ This cop enforces the consistent use of action filter methods. The cop is configurable and can enforce the use of the older something_filter methods or the newer something_action methods. -If the TargetRailsVersion is set to less than 4.0, the cop will enforce -the use of filter methods. - ### Examples #### EnforcedStyle: action (default)