File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 22
33module 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
You can’t perform that action at this time.
0 commit comments