inertia-rails icon indicating copy to clipboard operation
inertia-rails copied to clipboard

The Rails adapter for Inertia.js.

Results 25 inertia-rails issues
Sort by recently updated
recently updated
newest added

First, Thanks for your hard work to introduce the great gem to integrated the inertia.js into rails! 👍 There're a few confused questions about the frontend folder/file naming convention by...

### Description 📖 This pull request is a complete refactor of the implementation in order to introduce controller-specific configuration. ### `inertia_config` A new way for controllers to override the global...

Continuing the conversation from #108 A quick summary: * The combination of "module level" shared data storage, and "controller level" setters for shared data has introduced tricky bugs including shared...

This PR Fixes #124 by setting the `Vary` header to `X-Inertia` on all Inertia responses. This change brings Rails adapter in line with the Laravel adapter: https://github.com/inertiajs/inertia-laravel/blob/ddf47e999dcdabd2f370e5b9772a7449f4a81729/src/Middleware.php#L87

This PR adds Algolia DocSearch API keys.

#137 added options to inertia_share to make it more flexible. It's a deviation from the way the canonical Laravel adapter works (in a nice Rails-y way!), so it'd be great...

This PR "upstreams" some features from #132 which are related to Inertia.js 1.x, it includes: - New `InertiaRails.always` prop from inertia.js 1.3: https://inertiajs.com/partial-reloads#lazy-data-evaluation - Support for the `except` option from...

This PR based on work from #121 and #130 and aims to add full Inertia.js v2.0 compatibility (because I want to have a branch to play with the beta 😂)....

This PR upstreams [Inertia Rails community documentation for v2.0 beta](https://github.com/skryukov/inertia_rails-contrib/pull/21) 🚀