rails_get_concern
Inspect ActiveSupport::Concern details—public methods, included modules, and including models/controllers—to understand shared behavior and find where a concern is used.
Instructions
Get ActiveSupport::Concern details: public methods, included modules, and which models/controllers include it. Use when: understanding shared behavior, checking concern interfaces, or finding where a concern is used. Specify name:"Searchable" for full detail, or omit for a list of all concerns. Filter with type:"model" or type:"controller".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Concern module name (e.g. 'Searchable', 'Authenticatable'). Omit to list all concerns. | |
| type | No | Filter by concern type, the name each section heading of the listing prints: model for app/models/concerns/, mailer for app/mailers/concerns/, and for a concern outside every concerns directory the root it lives in (service for app/services, lib for lib). other: app/concerns itself, or a configured directory. all: everything (default). | |
| detail | No | Detail level, read when `name` is given. summary and standard (default): method signatures. full: method signatures with source code. |