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 / 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'` (or a route resolving to the wrong page) inside Avo, access the current user / request / params / context / tenant inside an Avo block, know which variables (`record`, `resource`, `view`, `current_user`) are available in a lambda or why `record` is nil, use one of their app's view helpers inside an Avo field, fix a model named `resource` / `chart` / `search` / `home` / `attachment` that breaks the admin or causes routing conflicts, keep a reserved-name model while renaming its Avo resource (`--model-class`), fix a `resources :resources` route helper clash, or encrypt/decrypt a value to pass safely through Avo params

Aller à l'installation

Informations de source

Dépôt
avo-hq/skills
Dernière activité de la source
29 juillet 2026 à 09:06
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.