README.md in active_model_cachers-2.0.0 vs README.md in active_model_cachers-2.0.1
- old
+ new
@@ -28,15 +28,14 @@
Or install it yourself as:
$ gem install active_model_cachers
-### Specify where the cache will be stored
+Add an initializer with this code to your project:
-Add the following to your environment files (production.rb, development.rb, test.rb):
```rb
ActiveModelCachers.config do |config|
- config.store = Rails.cache
+ config.store = Rails.cache # specify where the cache will be stored
end
```
## Usage