docs/general/rendering.md in active_model_serializers-0.10.1 vs docs/general/rendering.md in active_model_serializers-0.10.2
- old
+ new
@@ -71,20 +71,25 @@
### adapter_opts
#### fields
-PR please :)
+If you are using `json` or `attributes` adapter
+```ruby
+render json: @user, fields: [:access_token]
+```
+See [Fields](fields.md) for more information.
+
#### adapter
PR please :)
#### key_transform
```render json: posts, each_serializer: PostSerializer, key_transform: :camel_lower```
-See [Key Transforms](key_transforms.md) for more informaiton.
+See [Key Transforms](key_transforms.md) for more information.
#### meta
A `meta` member can be used to include non-standard meta-information. `meta` can
be utilized in several levels in a response.