README.md in restrict_cache-0.1.0 vs README.md in restrict_cache-0.1.1
- old
+ new
@@ -33,9 +33,18 @@
```
#### Callbacks (Around Action)
```ruby
+class MyController < ApplicationController
+ # cache_sweep_action :index, :show
+ cache_sweep_action
+end
+```
+
+#### ActiveRecord Cache
+
+```ruby
class MyModel < ActiveRecord::Base; end
MyModel.find_with_restrict_cache(id_or_ids)
```
## Development