Uses colon on :meta_key

This commit is contained in:
Enio Lopes 2013-01-11 11:22:45 -02:00
parent 244021d65c
commit 97e7ec1d32

View File

@ -272,7 +272,7 @@ The above usage of `:meta` will produce the following:
}
```
If you would like to change the meta key name you can use the `meta_key` option:
If you would like to change the meta key name you can use the `:meta_key` option:
```ruby
render :json => @posts, :serializer => CustomArraySerializer, :meta => {:total => 10}, :meta_key => 'meta_object'