mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
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. |
||
|---|---|---|
| .. | ||
| adapters.md | ||
| caching.md | ||
| configuration_options.md | ||
| getting_started.md | ||
| instrumentation.md | ||
| logging.md | ||
| rendering.md | ||
| serializers.md | ||