Skip to content

Commit 7463cb7

Browse files
committed
[docs] Use 'valid' instead of 'legal' for cache key
1 parent 57c2494 commit 7463cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/caching_with_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ and record id.
784784
You can use Hashes and Arrays of values as cache keys.
785785

786786
```ruby
787-
# This is a legal cache key
787+
# This is a valid cache key
788788
Rails.cache.read(site: "mysite", owners: [owner_1, owner_2])
789789
```
790790

0 commit comments

Comments
 (0)