active_model_serializers/docs
Mauro George 5058694f4a Create assert_response_schema test helper
It is a common pattern to use JSON Schema to validate a API response[1], [2]
and [3].

This patch creates the `assert_response_schema` test helper that helps people do
this kind of validation easily on the controller tests.

[1]: https://robots.thoughtbot.com/validating-json-schemas-with-an-rspec-matcher
[2]: https://github.com/sharethrough/json-schema-rspec
[3]: https://github.com/rails-api/active_model_serializers/issues/1011#issuecomment-127608121
2016-01-15 00:45:56 -06:00
..
general Add serialization docs PR request note for conditional attributes 2016-01-13 10:19:07 -06:00
howto Create assert_response_schema test helper 2016-01-15 00:45:56 -06:00
integrations Merge pull request #1371 from bf4/documentation_updates 2015-12-20 22:30:44 -06:00
jsonapi [DOCS] Refactor, update, create documentation [ci skip] 2015-12-14 14:38:29 -06:00
ARCHITECTURE.md Fix ARCHITECTURE.md 2016-01-13 17:45:18 +02:00
DESIGN.textile Add original design doc from 0.8 2015-12-23 09:45:45 -06:00
how-open-source-maintained.jpg Add image from commit strip [ci skip] 2015-10-14 17:41:15 -05:00
README.md Bring back assert_serializer for controller testing 2016-01-13 20:54:22 -06:00

Docs - ActiveModel::Serializer 0.10.x

This is the documentation of ActiveModelSerializers, it's focused on the 0.10.x version.


General

How to

Integrations

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/