README.md in grumlin-0.20.2 vs README.md in grumlin-0.21.0
- old
+ new
@@ -229,9 +229,13 @@
All of them support 3 different modes for error handling: `:retry`, `:ignore` and `:raise`. Retry mode is implemented
with [retryable](https://github.com/nfedyashev/retryable). **params will be merged to the default config for upserts
and passed to `Retryable.retryable`. In case if you want to modify retryable behaviour you are to do so.
+If you don't want to define you own repository, simply use
+
+`Grumlin::Repository.new` returns an instance of an anonymous class extending `Grumlin::Repository`.
+
**Usage**
To execute the query defined in a query block one simply needs to call a method with the same name:
`MyRepository.new.triangles_with_color(:red)`