Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A missing 'be' in 'method should a subset' sentence #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/v0.10/guide/resource_caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down