mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Fixed a documentation error regarding adapter key constant, added tests
for SerializableResource::use_adapter?
This commit is contained in:
@@ -67,7 +67,7 @@ module ActiveModel
|
||||
|
||||
# @api private
|
||||
# Find a serializer from a class and caches the lookup.
|
||||
# Preferentially retuns:
|
||||
# Preferentially returns:
|
||||
# 1. class name appended with "Serializer"
|
||||
# 2. try again with superclass, if present
|
||||
# 3. nil
|
||||
|
||||
Reference in New Issue
Block a user