diff --git a/lib/active_model/serializer.rb b/lib/active_model/serializer.rb index edf4e024..f2a34c35 100644 --- a/lib/active_model/serializer.rb +++ b/lib/active_model/serializer.rb @@ -36,7 +36,7 @@ module ActiveModel end unless method_defined?(key) 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 # as a method which should return an array when invoked. If a method @@ -46,7 +46,7 @@ module ActiveModel associate(:has_many, attrs) 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 # as a method which should return an object when invoked. If a method