|
4 | 4 |
|
5 | 5 | ActiveModel::Serializers brings convention over configuration to your JSON generation. |
6 | 6 |
|
7 | | -AMS does this through two components: **serializers** and **adapters**. Serializers describe _which_ attributes and relationships should be serialized. Adapters describe _how_ attributes and relationships should be serialized. |
| 7 | +AMS does this through two components: **serializers** and **adapters**. |
| 8 | +Serializers describe _which_ attributes and relationships should be serialized. |
| 9 | +Adapters describe _how_ attributes and relationships should be serialized. |
8 | 10 |
|
9 | | -# MAINTENANCE, PLEASE READ |
| 11 | +# RELEASE CANDIDATE, PLEASE READ |
10 | 12 |
|
11 | 13 | This is the master branch of AMS. It will become the `0.10.0` release when it's |
12 | | -ready, but it's not. You probably don't want to use it yet. As such, we recommend |
13 | | -that any new projects you start use the latest `0.8.x` version of this gem. This |
14 | | -version is the most widely used, and will most closely resemble the forthcoming release. |
15 | | - |
16 | | -There are two released versions of AMS that you may want to use: `0.9.x` and |
17 | | -`0.8.x`. `9` was recently `master`, so if you were using master, you probably want |
18 | | -to use it. `8` was the version that was on RubyGems, so if you were using that, |
19 | | -that's probably what you want. |
| 14 | +ready. Currently this is a release candidate. This is **not** backward |
| 15 | +compatible with `0.9.0` or `0.8.0`. |
20 | 16 |
|
21 | 17 | `0.10.x` will be based on the `0.8.0` code, but with a more flexible |
22 | 18 | architecture. We'd love your help. [Learn how you can help here.](https://github.com/rails-api/active_model_serializers/blob/master/CONTRIBUTING.md) |
23 | 19 |
|
24 | | -Thanks! |
25 | | - |
26 | 20 | ## Example |
27 | 21 |
|
28 | 22 | Given two models, a `Post(title: string, body: text)` and a |
|
0 commit comments