README.md in gdatastore_mapper-0.1.7 vs README.md in gdatastore_mapper-0.1.8
- old
+ new
@@ -13,10 +13,11 @@
- [Persistence Methods](#persistence-methods)
- [Scoping Methods](#scoping-methods)
- [Timestamp](#timestamp)
- [Associations](#associations)
- [One to Many](#one-to-many)
+ - [Method Chaining](#method-chaining)
- [Callbacks](#callbacks)
- [Validations](#validations)
- [Contact](#contact)
- [Development](#development)
@@ -209,9 +210,19 @@
=> 2
```
```
harry_poter.author
=> [#<Author:0x00 @name="J. K. Rowling" .... ]
+```
+### Method Chaining
+
+```
+rowling.books.order(created_at: :desc).limit(3)
+=> [#<Book:0x00 @title="Harry Potter" .... ]
+```
+```
+rowling.books.where(series: 'Harry Potter').order(published_at: :asc).limit(3)
+=> [#<Book:0x00 @title="Harry Potter" .... ]
```
## Callbacks
```ruby