From bd1a5bdccf4b3dc9859d3a2e786902ef6f5e755c Mon Sep 17 00:00:00 2001 From: MohammedAbuissa <mohammed.abuissa@outlook.com> Date: Wed, 11 Nov 2020 15:59:47 +0200 Subject: [PATCH] A missing 'be' in 'method should a subset' The sentence 'This method should a subset of the context that is' in `Caching and Context` section is missing 'be' and not understandable at the first glance. --- src/v0.10/guide/resource_caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0.10/guide/resource_caching.md b/src/v0.10/guide/resource_caching.md index cb632e9..0408e88 100644 --- a/src/v0.10/guide/resource_caching.md +++ b/src/v0.10/guide/resource_caching.md @@ -73,7 +73,7 @@ After setting `JSONAPI.configuration.resource_cache`, you may still choose to le ## Caching and Context -If context affects the output of any method providing the actual content of an attribute, or the `meta` or `fetchable_fields` methods, then you must provide a class method on your Resource named `attribute_caching_context`. This method should a subset of the context that is (a) serializable and (b) uniquely identifies the caching situation: +If context affects the output of any method providing the actual content of an attribute, or the `meta` or `fetchable_fields` methods, then you must provide a class method on your Resource named `attribute_caching_context`. This method should be a subset of the context that is (a) serializable and (b) uniquely identifies the caching situation: ```ruby class PostResource < JSONAPI::Resource