Skip to content

Commit

Permalink
Merge pull request #1142 from leighhalliday/master
Browse files Browse the repository at this point in the history
Updating wording on cache expiry in README
  • Loading branch information
NullVoxPopuli committed Sep 13, 2015
2 parents 258f116 + 4440a09 commit ee55af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ActiveModel::Serializer

[![Build Status](https://travis-ci.org/rails-api/active_model_serializers.svg)](https://travis-ci.org/rails-api/active_model_serializers)
[![Build Status](https://travis-ci.org/rails-api/active_model_serializers.svg)](https://travis-ci.org/rails-api/active_model_serializers)
<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>
<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>

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

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

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

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

0 comments on commit ee55af6

Please sign in to comment.