README.md in parse-ruby-client-0.1.10 vs README.md in parse-ruby-client-0.1.11
- old
+ new
@@ -17,12 +17,14 @@
# Getting Started
## Installation
-`gem "parse-ruby-client", "~> 0.1.10"`
+[![Gem Version](https://badge.fury.io/rb/parse-ruby-client.png)](http://badge.fury.io/rb/parse-ruby-client)
+`gem "parse-ruby-client"`
+
---
To get started, load the parse.rb file and call Parse.init to initialize the client object with
your application ID and API key values, which you can obtain from the parse.com dashboard.
@@ -144,9 +146,27 @@
# Retrieve a set of specific scores
Parse::Query.new("GameScore") \
.value_in("score", [10, 20, 30, 40]) \
.get
+```
+
+### Relational Data
+
+```ruby
+post = Parse::Object.new "Post"
+post.save
+
+comment = Parse::Object.new "Comment"
+comment.save
+
+post.array_add_relation("comments", comment.pointer)
+post.save
+
+q = Parse::Query.new("Comment")
+q.related_to("comments", post.pointer)
+comments = q.get
+assert_equal comments.first["objectId"], comment["objectId"]
```
## Push Notifications
```ruby