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
Prior to this commit, the documentation for setting a custom Format was
inconsistently mixing module-level and instance-level method
definitions.
There isn't existing precedent in the documentation for how to declare
custom formats that share behavior with first-party formats (like xml
and json). Since the [test suite][] utilizes a `class`-based approach
(rather than a `module`-based one), change the `Base` documentation to
follow that precedent.
[test suite]: https://github.com/rails/activeresource/blob/v6.2.0/test/fixtures/address.rb#L4-L15
0 commit comments