mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06: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. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| active_model_serializers | ||
| generators/rails | ||
| grape | ||
| active_model_serializers.rb | ||