Document proc/lambda as cache keys
jeromedalbert opened this issue · 1 comments
jeromedalbert commented
We may want to document this in the README:
field :some_field, String, cache: { key: ->(obj) { "#{obj.id}123blah" } }
thebadmonkeydev commented
A PR for this would definitely be welcome!