Sha256: f758f9649c1557081e6489f141ed670c8c789e79aa3d94ce457fe615e33a2243

Contents?: true

Size: 195 Bytes

Versions: 2

Compression:

Stored size: 195 Bytes

Contents

class Project
  include DataMapper::Resource
  property :id,   Serial
  property :name, String
  has n, :tasks
  has n, :project_memberships
  has n, :people, :through => :project_memberships
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
snusnu-dm-accepts_nested_attributes-0.0.1 spec/fixtures/project.rb
snusnu-dm-accepts_nested_attributes-0.0.2 spec/fixtures/project.rb