rails-api / active_model_serializers

ActiveModel::Serializer implementation and Rails hooks
MIT License
5.32k stars 1.39k forks source link

[0.9 stable] Make the gem compatible with `--enable-frozen-string-literal` #2465

Closed casperisfine closed 2 months ago

casperisfine commented 2 months ago

This will become the default in a future Ruby version.

Extracted from: https://github.com/rails-api/active_model_serializers/pull/2461

cc @bf4