mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
It is possible now to filter returned attributes and associations by: UserSerializer.new(user, only: [:first_name, :last_name]) UserSerializer.new(user, except: :first_name) |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| active_record | ||
| generators | ||
| active_model_serializers.rb | ||