Skip to main content

avo-filters

Add and configure filtering on an Avo resource's Index view — basic filters (developer-written Ruby filter classes), dynamic filters (user-built ad-hoc filtering via `filterable` fields and `dynamic_filter`), and scopes (one-click segment tabs and default views). Use when the user wants to filter, segment, or set a default view for the records on a resource index — e.g. "filter projects by status", "filter users by role", "filter by a date range", "let users build their own ad-hoc filters", "filter by an association", "only show active records by default", "hide soft-deleted by default", "add a tab for admin/active users", "segment orders into paid/unpaid tabs", "show a count next to each tab", or "hide the All tab". Covers the avo:filter and avo:scope generators, def filters and def scopes, ransackable_attributes, and default scopes.

跳到安装

来源信息

仓库
avo-hq/skills
最近来源活动
2026年7月29日 09:06
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。