Skip to content

Commit

Permalink
Remove outdated doc for Rails/ActionFilter
Browse files Browse the repository at this point in the history
Follow up rubocop#74.

RuboCop Rails doesn't support Rails 3 or lower.
  • Loading branch information
koic committed Jun 22, 2019
1 parent dff04bd commit de680ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/rubocop/cop/rails/action_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions manual/cops_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de680ad

Please sign in to comment.