Skip to content

Commit 5473969

Browse files
p8skipkayhil
authored andcommitted
Merge pull request rails#54500 from tanhenggek/improve-caching-docs
[docs] Use 'valid' instead of 'legal' for cache key
1 parent 9ece0bc commit 5473969

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)