mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +00:00
- adds handling for when the returned resource is not serializable via ams - fix for when resource is an Array - Moves grape include to grape namespace. Changes Enumerable to Array because a plain hash is enumerable. - Add integration test - Refine scope of Grape version dependency - Assert that the response is equal to a manually defined JSON string - Add single module to include in Grape projects - Create a Serializable Resource to test rails-api from Grape - Update docs - Fix discrepency between ActiveRecord 4.0 - 4.1 and 4.2 - Updated Changelog - Remove parens from `render`, use `serializable` in all tests.
41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
# Docs - ActiveModel::Serializer 0.10.x
|
|
|
|
This is the documentation of AMS, it's focused on the **0.10.x version.**
|
|
|
|
-----
|
|
|
|
## General
|
|
|
|
- [Getting Started](general/getting_started.md)
|
|
- [Adapters](general/adapters.md)
|
|
- [Configuration Options](general/configuration_options.md)
|
|
- [Logging](general/logging.md)
|
|
- [Instrumentation](general/instrumentation.md)
|
|
|
|
## How to
|
|
|
|
- [How to add root key](howto/add_root_key.md)
|
|
- [How to add pagination links](howto/add_pagination_links.md)
|
|
- [Using AMS Outside Of Controllers](howto/outside_controller_use.md)
|
|
|
|
## Integrations
|
|
| Integration | Supported AMS versions | Gem name and/or link
|
|
|----|-----|----
|
|
| Ember.js | 0.9.x | [active-model-adapter](https://github.com/ember-data/active-model-adapter)
|
|
| Ember.js | 0.10.x + | [docs/integrations/ember-and-json-api.md](integrations/ember-and-json-api.md)
|
|
| Grape | 0.10.x + | [docs/integrations/grape.md](integrations/grape.md) |
|
|
| Grape | 0.9.x | https://github.com/jrhe/grape-active_model_serializers/ |
|
|
| Sinatra | 0.9.x | https://github.com/SauloSilva/sinatra-active-model-serializers/
|
|
|
|
## Getting Help
|
|
|
|
If you find a bug, please report an [Issue](https://github.com/rails-api/active_model_serializers/issues/new).
|
|
|
|
If you have a question, please [post to Stack Overflow](http://stackoverflow.com/questions/tagged/active-model-serializers).
|
|
|
|
Thanks!
|
|
|
|
## Contributing
|
|
|
|
See [CONTRIBUTING.md](https://github.com/rails-api/active_model_serializers/blob/master/CONTRIBUTING.md)
|