Skip to content

Commit d604d13

Browse files
committed
Update CHANGELOG
1 parent ed19043 commit d604d13

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ Breaking changes:
66

77
Features:
88

9-
- [#1982](https://github.com/rails-api/active_model_serializers/pull/1982) Add ActiveModelSerializers::Model.attributes to configure PORO attributes (@bf4).
9+
- [#1982](https://github.com/rails-api/active_model_serializers/pull/1982) Add ActiveModelSerializers::Model.attributes to configure PORO attributes. (@bf4)
1010

1111
Fixes:
1212

13+
- [#1984](https://github.com/rails-api/active_model_serializers/pull/1984) Mutation of ActiveModelSerializers::Model now changes the attributes. (@bf4)
14+
1315
Misc:
1416

17+
- [#1984](https://github.com/rails-api/active_model_serializers/pull/1984) Make test attributes explicit. Test models have 'associations' support. (@bf4)
18+
1519
### [v0.10.3 (2016-11-21)](https://github.com/rails-api/active_model_serializers/compare/v0.10.2...v0.10.3)
1620

1721
Fixes:

docs/general/rendering.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ render json: @posts, serializer: CollectionSerializer, each_serializer: PostPrev
4949
## Serializing non-ActiveRecord objects
5050

5151
All serializable resources must pass the
52-
[ActiveModel::Serializer::Lint::Tests](../../lib/active_model/serializer/lint.rb#L17).
52+
[ActiveModel::Serializer::Lint::Tests](../../lib/active_model/serializer/lint.rb#L17). [See ../../ARCHITECTURE.md](ARCHITECTURE) for more information.
5353

54-
See the ActiveModelSerializers::Model for a base class that implements the full
55-
API for a plain-old Ruby object (PORO).
54+
The [`ActiveModelSerializers::Model`](../../../lib/active_model_serializers/model.rb) base implements the full
55+
API for a plain-old Ruby object (PORO) and can be used for reference.
5656

5757
## SerializableResource options
5858

@@ -263,7 +263,7 @@ end
263263
render json: @post, namespace: Api::V2
264264
```
265265

266-
This tells the serializer lookup to check for the existence of `Api::V2::PostSerializer`, and if any relations are rendered with `@post`, they will also utilize the `Api::V2` namespace.
266+
This tells the serializer lookup to check for the existence of `Api::V2::PostSerializer`, and if any relations are rendered with `@post`, they will also utilize the `Api::V2` namespace.
267267

268268
The `namespace` can be any object whose namespace can be represented by string interpolation (i.e. by calling to_s)
269269
- Module `Api::V2`

0 commit comments

Comments
 (0)