triAGENS/guacamole — pull request #14 by moonglum (2013-10-23 12:18:15+00:00)
Title: Add nested attributes to models

ArangoDB allows us to nest documents within other documents. The require functionality needs to be added mainly to the collection implementation. The model should just define an attribute like in the following example:

```ruby
class Comment
include Guacomale::Model
end

class Article
include Guacomale::Model

attribute :comments, Array[Comment]
end
```