Skip to content

Commit ee55af6

Browse files
committed
Merge pull request #1142 from leighhalliday/master
Updating wording on cache expiry in README
2 parents 258f116 + 4440a09 commit ee55af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ActiveModel::Serializer
22

3-
[![Build Status](https://travis-ci.org/rails-api/active_model_serializers.svg)](https://travis-ci.org/rails-api/active_model_serializers)
3+
[![Build Status](https://travis-ci.org/rails-api/active_model_serializers.svg)](https://travis-ci.org/rails-api/active_model_serializers)
44
<a href="https://codeclimate.com/github/rails-api/active_model_serializers"><img src="https://codeclimate.com/github/rails-api/active_model_serializers/badges/gpa.svg" /></a>
55
<a href="https://codeclimate.com/github/rails-api/active_model_serializers/coverage"><img src="https://codeclimate.com/github/rails-api/active_model_serializers/badges/coverage.svg" /></a>
66

@@ -300,7 +300,7 @@ The cache support is optimized to use the cached object in multiple request. An
300300

301301
**[NOTE] Every object is individually cached.**
302302

303-
**[NOTE] The cache is automatically expired after update an object but it's not deleted.**
303+
**[NOTE] The cache is automatically expired after an object is updated, but it's not deleted.**
304304

305305
```ruby
306306
cache(options = nil) # options: ```{key, expires_in, compress, force, race_condition_ttl}```

0 commit comments

Comments
 (0)