Skip to content

Commit ec905d8

Browse files
committed
Fix typos
1 parent c25f2f3 commit ec905d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/howto/serialize_poro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ define and validate which methods ActiveModelSerializers expects to be implement
2929

3030
An implementation of the complete spec is included either for use or as reference:
3131
[`ActiveModelSerializers::Model`](../../lib/active_model_serializers/model.rb).
32-
You can use in production code that will make your PORO a lot cleaner.
32+
You can use in production code that will make your PORO a lot cleaner.
3333

3434
The above code now becomes:
3535

test/action_controller/namespace_lookup_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ def explicit_namespace_as_string
8686
book = Book.new(title: 'New Post', body: 'Body')
8787

8888
# because this is a string, ruby can't auto-lookup the constant, so otherwise
89-
# the looku things we mean ::Api::V2
89+
# the lookup thinks we mean ::Api::V2
9090
render json: book, namespace: 'ActionController::Serialization::NamespaceLookupTest::Api::V2'
9191
end
9292

9393
def explicit_namespace_as_symbol
9494
book = Book.new(title: 'New Post', body: 'Body')
9595

9696
# because this is a string, ruby can't auto-lookup the constant, so otherwise
97-
# the looku things we mean ::Api::V2
97+
# the lookup thinks we mean ::Api::V2
9898
render json: book, namespace: :'ActionController::Serialization::NamespaceLookupTest::Api::V2'
9999
end
100100

0 commit comments

Comments
 (0)