Sha256: c501c8baece8d3529df64f78ff548068536c486ebaba20dc92793bd4953ec687

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

class Post
  include Ripple::Document
  property :comment_keys, Array
  property :user_key, String
  property :title, String

  one :user, :using => :stored_key
  many :comments, :using => :stored_key
end

class Comment
  include Ripple::Document
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
wyngle-ripple-0.1.0 spec/support/models/post.rb
ripple-1.0.0.beta2 spec/support/models/post.rb