Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MODEL] Updated the Mongoid example in the README to include `as_inde…
…xed_json` method Default Mongoid serialization keeps the `_id` property in the JSON as "BSON Object", which breaks Elasticsearch. See: * elastic/elasticsearch#3517 * rails-api/active_model_serializers#354 (comment)
- Loading branch information