README.md in active_hash_relation-1.0.4 vs README.md in active_hash_relation-1.0.5
- old
+ new
@@ -99,10 +99,10 @@
However I would strongly advice you to use a pagination gem like Kaminari, and use `page` and `per_page` params.
### Sorting
You can apply sorting using the `property` and `order` attributes. For instance:
-* `{property: 'created_at', order: 'desc'}`
+* `{sort: {property: 'created_at', order: 'desc'}}`
If there is no column named after the property value, sorting is skipped.
### Associations