README.md in counter-cache-credis-0.0.4 vs README.md in counter-cache-credis-0.0.5
- old
+ new
@@ -57,10 +57,12 @@
end
```
```ruby
student = Student.first
# It will increase itself by one
-student.update_counter
+student.increase_counter
+# It will reduce itself by one
+student.reduce_counter
# get views_count through redis
student.get_views_count_cache
```
### Configure