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)
281
281
#
282
282
def self . link ( name , *args , &block )
283
283
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
285
285
# without block, we are creating a wrapping block
286
286
_links [ name ] = Link . new ( name , options , block || -> ( _serializer ) { args . first } )
287
287
end
Original file line number Diff line number Diff line change 2
2
3
3
module ActiveModel
4
4
class Serializer
5
- # Holds all the data about an serializer link
5
+ # Holds all the data about a serializer link
6
6
#
7
7
# @example
8
8
# class PostSerializer < ActiveModel::Serializer
You can’t perform that action at this time.
0 commit comments