mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Squashed commits: Add Logging Generates logging when renders a serializer. Tunning performance on notify_active_support - Use yield over block.call - Freeze the event name string Organize the logger architeture * Keep only the `ActiveModel::Serializer.logger` to follow the same public API we have for example to config, like `ActiveModel::Serializer.config.adapter` and remove the `ActiveModelSerializers.logger` API. * Define the logger on the load of the AMS, following the Rails convention on Railties [1], [2] and [3]. This way on non Rails apps we have a default logger and on Rails apps we will use the `Rails.logger` the same way that Active Job do [4]. [1]: |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model_serializers | ||
| adapter | ||
| fixtures | ||
| generators | ||
| include_tree | ||
| serializers | ||
| support | ||
| active_record_test.rb | ||
| adapter_test.rb | ||
| array_serializer_test.rb | ||
| capture_warnings.rb | ||
| collection_serializer_test.rb | ||
| lint_test.rb | ||
| logger_test.rb | ||
| logging_test.rb | ||
| poro_test.rb | ||
| serializable_resource_test.rb | ||
| test_helper.rb | ||