Sha256: f2c9be61101f77ef60cc64eefc6f68bef5ea0e0ecff03be4075234896a2d833a

Contents?: true

Size: 252 Bytes

Versions: 4

Compression:

Stored size: 252 Bytes

Contents

class Parent
  include Ripple::Document
  one :child
end

class Child
  include Ripple::EmbeddedDocument
  property :name, String, :presence => true
  one :gchild, :class_name => 'Grandchild'
end

class Grandchild
  include Ripple::EmbeddedDocument
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ripple-0.8.0.beta2 spec/support/models/family.rb
ripple-0.8.0.beta spec/support/models/family.rb
ripple-0.7.1 spec/support/models/family.rb
ripple-0.7.0 spec/support/models/family.rb