Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Write Rails controllers that render Inertia pages v1.0.0

Use this resource to write Rails controllers that return Inertia responses with the right props

New

  • 412 downloads
  • 159 likes
  • 235 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install inertia-rails-controller-props

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes your controllers with render inertia and explicit keys, chooses the type of each prop (defer, optional, once, merge) and shares common data. It also handles flash messages, redirects after submission and external URLs with inertia_location.

Mostly picked by

Updated November 2, 2026

Card for the “Write Rails controllers that render Inertia pages” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: rendering, prop types and shared data
  • references/prop-types.md: prop type details
  • references/authorization.md: authorization in controllers

Good fit for

  • A page must load slow data without blocking the first render
  • A payment or OAuth sign-in must redirect to an external site

Not for

    Tags

    • controllers
    • props
    • rails
    • inertia

    About

    You say

    “Render the orders page with defer for the statistics and share the current user.”

    Card for the “Write Rails controllers that render Inertia pages” skill

    Skill published by inertia-rails under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write Rails controllers that return Inertia responses with the right props
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/authorization.md1.3 KB
    • references/configuration.md3.7 KB
    • references/prop-types.md8.3 KB
    • SKILL.md11.7 KB

    Origin and licence

    Listed unmodified

    Author
    inertia-rails
    Source
    github.com/inertia-rails/skills/tree/6b63b3731a06ad3d01c515477b6b8852708871a6/skills/inertia-rails-controllers
    Licence
    MIT

    Notice

    « inertia-rails-controllers » (inertia-rails, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.