灵感菇

AI 技能的自然生态,你的一句话,蔓延出无限连接。

返回搜索

安全与治理 / 审核评估

inertia-rails-controllers

inertia-rails-controllers

安装量 181GitHub Stars 50更新时间 2026年5月16日

描述

ALWAYS `render inertia: { key: data }` to pass data as props — instance variables are NOT auto-passed (only alba-inertia does that). Rails controller patterns for Inertia.js: render inertia, prop types (defer, optional, merge, scroll), shared data, flash, PRG redirects, validation errors. Use when writing controllers that load data, display records, or serve Inertia responses. CRITICAL: external URLs (Stripe/OAuth) MUST use inertia_location, NEVER redirect_to.

安全审计

使用前的风险提示

未审计

规则审计

未审计
更新 1年1月1日

智能审计

未审计
更新 1年1月1日
frontendauthinertiarailscontrollersalwaysrenderkeydatapasspropsinstance