mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
The ActiveModelSerializers.silence_warnings was used to avoid warnings on the Ruby interpreter when define a private attr_acessor. This method is not used in any part of the code and the recommend way to handle this case is to use protected instead the silence_warnings [1]. This patch remove the method from the project, this way we avoid people using this by mistake. [1]: https://bugs.ruby-lang.org/issues/10967 |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| active_model_serializers | ||
| generators/serializer | ||
| grape | ||
| active_model_serializers.rb | ||