mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +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. |
||
|---|---|---|
| .. | ||
| general | ||
| howto | ||
| integrations | ||
| jsonapi | ||
| ARCHITECTURE.md | ||
| how-open-source-maintained.jpg | ||
| README.md | ||
Docs - ActiveModel::Serializer 0.10.x
This is the documentation of AMS, it's focused on the 0.10.x version.
General
How to
Integrations
| Integration | Supported AMS 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/ |
Getting Help
If you find a bug, please report an Issue.
If you have a question, please post to Stack Overflow.
Thanks!
Contributing
See CONTRIBUTING.md