Skip to content

Files

Latest commit

 

History

History
22 lines (14 loc) · 570 Bytes

Rails-ActionFilter.md

File metadata and controls

22 lines (14 loc) · 570 Bytes

Pattern: Inconsistent use of action filter method

Issue: -

Description

This rule enforces the consistent use of action filter methods.

The rule is configurable and can enforce the use of the older something_filter methods or the newer something_action methods.

Default configuration

Attribute Value
EnforcedStyle action
SupportedStyles action, filter
Include app/controllers/**/*.rb

Further Reading