inertia-controllers-guide
Backend & APIsRails controller patterns for Inertia.js apps — passing props explicitly with render inertia, choosing prop strategies such as defer, optional, once, merge and scroll, sharing data on every page with inertia_share, handling flash and validation errors after redirect-on-save, exposing per-record permissions, and sending users to external URLs with inertia_location. Use when writing or reviewing Rails controller actions that render Inertia components or supply props to an Inertia frontend built with the inertia_rails gem. Not for authoring frontend page components in depth, plain JSON API controllers, or apps that do not use Inertia.
- Version
- v1.0.0
- Size
- 21 KB
- Updated
- 2026-10-10
$ skilvault read --manual inertia-controllers-guideYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.