Sha256: d2f7049c0231828ef20da35fd3aede04ed06a3ba45b5b7b195a875399a0a4489

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

class Company
  include Ripple::Document
  property :name, String
  many :departments
  many :invoices # linked
  one :ceo, :class_name => 'CEO'
end

class Department
  include Ripple::EmbeddedDocument
  property :name, String
  many :managers
end

class Manager
  include Ripple::EmbeddedDocument
  property :name, String
end

class CEO
  include Ripple::EmbeddedDocument
  property :name, String
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
wyngle-ripple-0.1.0 spec/support/models/company.rb
ripple-1.0.0.beta2 spec/support/models/company.rb
seomoz-ripple-1.0.0.pre spec/support/models/company.rb
ripple-1.0.0.beta spec/support/models/company.rb
ripple-0.9.5 spec/support/models/company.rb