-
Sean Doyle authored
Despite the `#read_attribute_for_serialization` method being declared as `private`, the module-level `ActiveModel::Serialization` documentation mentions it explicitly by name. Mentioning the method directly and encouraging classes to override it to customize behavior breaks Rails existing `public`-`private` interface convention. This commit promotes the method to `public` visibility.
Sean Doyle authoredDespite the `#read_attribute_for_serialization` method being declared as `private`, the module-level `ActiveModel::Serialization` documentation mentions it explicitly by name. Mentioning the method directly and encouraging classes to override it to customize behavior breaks Rails existing `public`-`private` interface convention. This commit promotes the method to `public` visibility.
Loading