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