mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
321 B
321 B
Instrumentation
ActiveModelSerializers uses the ActiveSupport::Notification API, which allows for subscribing to events, such as for logging.
Events
Name:
render.active_model_serializers
Payload (example):
{
serializer: PostSerializer,
adapter: ActiveModel::Serializer::Adapter::Attributes
}