Fix typos

This commit is contained in:
Benjamin Fleischer 2017-01-08 21:49:28 -06:00
parent c25f2f3863
commit ec905d8179
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ define and validate which methods ActiveModelSerializers expects to be implement
An implementation of the complete spec is included either for use or as reference:
[`ActiveModelSerializers::Model`](../../lib/active_model_serializers/model.rb).
You can use in production code that will make your PORO a lot cleaner.
You can use in production code that will make your PORO a lot cleaner.
The above code now becomes:

View File

@ -86,7 +86,7 @@ module ActionController
book = Book.new(title: 'New Post', body: 'Body')
# because this is a string, ruby can't auto-lookup the constant, so otherwise
# the looku things we mean ::Api::V2
# the lookup thinks we mean ::Api::V2
render json: book, namespace: 'ActionController::Serialization::NamespaceLookupTest::Api::V2'
end
@ -94,7 +94,7 @@ module ActionController
book = Book.new(title: 'New Post', body: 'Body')
# because this is a string, ruby can't auto-lookup the constant, so otherwise
# the looku things we mean ::Api::V2
# the lookup thinks we mean ::Api::V2
render json: book, namespace: :'ActionController::Serialization::NamespaceLookupTest::Api::V2'
end