active_model_serializers/docs/general
Yohan Robert 727d7631ae Add symbol support for ActiveModel::Serializer.type method
The ActiveModel::Serializer.type method now accepts symbol as paremeter:
class AuthorSerializer < ActiveModel::Serializer
  type :profile
end
The test file for the type was also refactored.
2016-02-19 17:05:13 +01:00
..
adapters.md Namespace is included in auto-registered adapters [ci skip] 2016-01-28 15:48:18 -08:00
caching.md [DOCS] Refactor, update, create documentation [ci skip] 2015-12-14 14:38:29 -06:00
configuration_options.md Replace load hook :active_model_serializers with :action_controller 2016-01-15 01:58:14 -06:00
getting_started.md fix link on Getting Started 2015-12-29 22:52:22 -06:00
instrumentation.md [DOCS] Refactor, update, create documentation [ci skip] 2015-12-14 14:38:29 -06:00
logging.md Fix grammar per duduribeiro [ci skip] 2015-12-15 21:34:25 -06:00
rendering.md Address concerns from #1018 commit c59668e 2016-02-08 17:55:15 -06:00
serializers.md Add symbol support for ActiveModel::Serializer.type method 2016-02-19 17:05:13 +01:00