README.md in backbone-nested-attributes-0.3.0 vs README.md in backbone-nested-attributes-0.3.2
- old
+ new
@@ -1,7 +1,12 @@
# Backbone.NestedAttributesModel
+[![build status][1]][2]
+
+[1]: https://travis-ci.org/dtmtec/backbone-nested-attributes.png
+[2]: http://travis-ci.org/dtmtec/backbone-nested-attributes
+
Add Rails-like nested attributes support for Backbone.Model.
## Installation
Add this line to your application's Gemfile:
@@ -67,10 +72,10 @@
```
When saving data, you can choose whether to send attributes as usual, or with nested attributes support by giving `{ nested: true }` to `save`:
```javascript
-post.save({}, { nested: true })
+post.save({}, { nested: true })
```
This will send data to the server like this:
```javascript