mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56:50 +00:00
Missing a word
This commit is contained in:
parent
8bbf6b8c8b
commit
9768da7a70
@ -36,7 +36,7 @@ module ActiveModel
|
|||||||
end unless method_defined?(key)
|
end unless method_defined?(key)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an association in the object should be rendered.
|
# Defines an association in the object that should be rendered.
|
||||||
#
|
#
|
||||||
# The serializer object should implement the association name
|
# The serializer object should implement the association name
|
||||||
# as a method which should return an array when invoked. If a method
|
# as a method which should return an array when invoked. If a method
|
||||||
@ -46,7 +46,7 @@ module ActiveModel
|
|||||||
associate(:has_many, attrs)
|
associate(:has_many, attrs)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an association in the object should be rendered.
|
# Defines an association in the object that should be rendered.
|
||||||
#
|
#
|
||||||
# The serializer object should implement the association name
|
# The serializer object should implement the association name
|
||||||
# as a method which should return an object when invoked. If a method
|
# as a method which should return an object when invoked. If a method
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user