mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
commit
438d8f411a
@ -23,7 +23,7 @@ architecture. We'd love your help. [Learn how you can help here.](https://github
|
|||||||
## Example
|
## Example
|
||||||
|
|
||||||
Given two models, a `Post(title: string, body: text)` and a
|
Given two models, a `Post(title: string, body: text)` and a
|
||||||
`Comment(name:string, body:text, post_id:integer)`, you will have two
|
`Comment(name: string, body: text, post_id: integer)`, you will have two
|
||||||
serializers:
|
serializers:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user