Skip to content

Commit f35d898

Browse files
committed
docs: Add InertiaRails.always and drop the warning about the except option
1 parent 6b99131 commit f35d898

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/guide/partial-reloads.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ router.visit(url, {
4646

4747
## Except certain props
4848

49-
> [!WARNING]
50-
> The `except` option is not yet supported by the Inertia Rails.
51-
5249
:::tabs key:frameworks
5350
== Vue
5451

@@ -236,6 +233,11 @@ class UsersController < ApplicationController
236233
# OPTIONALLY included on partial reloads
237234
# ONLY evaluated when needed
238235
users: InertiaRails.lazy { User.all },
236+
237+
# ALWAYS included on standard visits
238+
# ALWAYS included on partial reloads
239+
# ALWAYS evaluated
240+
users: InertiaRails.always(User.all),
239241
}
240242
end
241243
end

0 commit comments

Comments
 (0)