You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make ActiveModel::Serialization#read_attribute_for_serialization public
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.
0 commit comments