diff --git a/docs/docs/associations.md b/docs/docs/associations.md index c92d248..51a2aae 100644 --- a/docs/docs/associations.md +++ b/docs/docs/associations.md @@ -70,7 +70,7 @@ Panko::ArraySerializer.new(posts, only: { }) ``` -Let's disect `only` option we passed - +Let's dissect `only` option we passed - * `instance` - list of attributes (and associations) we want to serializer for current instance of the serializer, in this case - `PostSerializer`. * `author`, `comments` - here we specify the list of attributes we want to serialize for each association. @@ -91,4 +91,4 @@ Panko::ArraySerializer.new(posts, only: { }) ``` -As you see now in `comments` the `instance` have differenet meaning, the `CommentSerializer`. +As you see now in `comments` the `instance` have different meaning, the `CommentSerializer`. diff --git a/docs/docs/attributes.md b/docs/docs/attributes.md index c2fd5bb..fd269bb 100644 --- a/docs/docs/attributes.md +++ b/docs/docs/attributes.md @@ -88,7 +88,7 @@ UserSerializer.new(except: [:name]).serialize(User.first) > property is not taken into account. > If you have a `has_many :state_transitions, name: :history` association > defined, the key to use in filters is `:state_transitions` -> (e.g. `{ except: [:state_statitions] }`) +> (e.g. `{ except: [:state_transitions] }`) ## Filters For @@ -110,7 +110,7 @@ end UserSerializer.serialize(User.first) ``` -> See disucssion in: https://github.com/yosiat/panko_serializer/issues/16 +> See discussion in: https://github.com/yosiat/panko_serializer/issues/16 ## Aliases diff --git a/docs/docs/design-choices.md b/docs/docs/design-choices.md index 6f8fb09..7757805 100644 --- a/docs/docs/design-choices.md +++ b/docs/docs/design-choices.md @@ -37,7 +37,7 @@ And the usage of this serializer will be: user = User.first # create serializer, with empty options -serializer = UserSerilizer.new +serializer = UserSerializer.new # serialize to JSON serializer.serialize_to_json(user)