Skip to main content

avo-engine-internals

The Rails-engine plumbing you touch when writing custom Ruby that runs inside Avo — engine path helpers (`avo.` vs `main_app.`), `Avo::Current`, `Avo::ExecutionContext`, reserved model names and route conflicts, `Avo::Services::EncryptionService`, and calling your app's helpers from inside Avo. Use when the user wants to link from the admin back to their main app, fix `undefined method 'posts_path'` inside Avo, access the current user / request / params / context / tenant inside an Avo block, know which variables (`record`, `resource`, `view`, `current_user`) a lambda gets or why `record` is nil, use an app view helper inside an Avo field, fix a model named `resource` / `chart` / `search` / `home` that breaks the admin, keep a reserved-name model while renaming its resource (`--model-class`), or encrypt a value to pass through Avo params.

跳到安装

来源信息

仓库
avo-hq/avo
最近来源活动
2026年8月4日 10:54
检测到的 SKILL.md 语言
英语
星标
1,797
分支
315

安装方式

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

检查来源文件

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