We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
except
1 parent 6b99131 commit f35d898Copy full SHA for f35d898
docs/guide/partial-reloads.md
@@ -46,9 +46,6 @@ router.visit(url, {
46
47
## Except certain props
48
49
-> [!WARNING]
50
-> The `except` option is not yet supported by the Inertia Rails.
51
-
52
:::tabs key:frameworks
53
== Vue
54
@@ -236,6 +233,11 @@ class UsersController < ApplicationController
236
233
# OPTIONALLY included on partial reloads
237
234
# ONLY evaluated when needed
238
235
users: InertiaRails.lazy { User.all },
+
+ # ALWAYS included on standard visits
+ # ALWAYS included on partial reloads
239
+ # ALWAYS evaluated
240
+ users: InertiaRails.always(User.all),
241
}
242
end
243
0 commit comments