README.md in active_model_serializers-0.9.5 vs README.md in active_model_serializers-0.9.6
- old
+ new
@@ -376,10 +376,10 @@
```
If you would like to change the meta key name you can use the `:meta_key` option:
```ruby
-render json: @posts, serializer: CustomArraySerializer, meta_object: {total: 10}, meta_key: 'meta_object'
+render json: @posts, serializer: CustomArraySerializer, meta_object: { total: 10 }, meta_key: :meta_object
```
The above usage of `:meta_key` will produce the following:
```json