Skip to content

Commit

Permalink
Merge pull request #745 from jockee/patch-1
Browse files Browse the repository at this point in the history
Missing a word
  • Loading branch information
steveklabnik committed Dec 4, 2014
2 parents 8bbf6b8 + 9768da7 commit c67da11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/active_model/serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def self.attribute(attr, options = {})
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
Expand All @@ -46,7 +46,7 @@ def self.has_many(*attrs)
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
Expand Down

0 comments on commit c67da11

Please sign in to comment.