This is the documentation of ActiveModelSerializers, it's focused on the 0.10.x version.
- Getting Started
- Configuration Options
- Serializers
- Adapters
- Rendering
- Caching
- Logging
- Deserialization
- Instrumentation
- JSON API
- ARCHITECTURE
- How to add root key
- How to add pagination links
- Using ActiveModelSerializers Outside Of Controllers
- Testing ActiveModelSerializers
- Passing Arbitrary Options
- How to serialize a Plain-Old Ruby Object (PORO)
Integration | Supported ActiveModelSerializers versions | Gem name and/or link |
---|---|---|
Ember.js | 0.9.x | active-model-adapter |
Ember.js | 0.10.x + | docs/integrations/ember-and-json-api.md |
Grape | 0.10.x + | docs/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/ |