Skip to content

Commit ca6c009

Browse files
committed
typos
1 parent 0d3999c commit ca6c009

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/active_model/serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def self.associate(reflection)
281281
#
282282
def self.link(name, *args, &block)
283283
options = args.extract_options!
284-
# For compatibility with the use cae of passing link directly as string argument
284+
# For compatibility with the use case of passing link directly as string argument
285285
# without block, we are creating a wrapping block
286286
_links[name] = Link.new(name, options, block || ->(_serializer) { args.first })
287287
end

lib/active_model/serializer/link.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module ActiveModel
44
class Serializer
5-
# Holds all the data about an serializer link
5+
# Holds all the data about a serializer link
66
#
77
# @example
88
# class PostSerializer < ActiveModel::Serializer

0 commit comments

Comments
 (0)