You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/general/adapters.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ resources in the `"included"` member when the resource names are included in the
30
30
render @posts, include:'authors,comments'
31
31
```
32
32
33
+
The format of the `include` option can be either a String composed of a comma-separated list of [relationship paths](http://jsonapi.org/format/#fetching-includes), an Array of Symbols and Hashes, or a mix of both.
34
+
33
35
## Choosing an adapter
34
36
35
37
If you want to use a specify a default adapter, such as JsonApi, you can change this in an initializer:
0 commit comments