Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Document proc/lambda as cache keys #51

Open
jeromedalbert opened this issue Mar 26, 2019 · 1 comment
Open

Document proc/lambda as cache keys #51

jeromedalbert opened this issue Mar 26, 2019 · 1 comment

Comments

@jeromedalbert
Copy link
Contributor

We may want to document this in the README:

field :some_field, String, cache: { key: ->(obj) { "#{obj.id}123blah" } }
@thebadmonkeydev
Copy link
Collaborator

A PR for this would definitely be welcome!

@thebadmonkeydev thebadmonkeydev self-assigned this Jul 24, 2019
@thebadmonkeydev thebadmonkeydev removed their assignment Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants