Sha256: 895b0805364e296ee6721cdce1e9ab22ecd05d746340e6143734f1a808fe5d29

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
snusnu-dm-accepts_nested_attributes-0.0.3 spec/fixtures/project.rb
snusnu-dm-accepts_nested_attributes-0.0.4 spec/fixtures/project.rb
snusnu-dm-accepts_nested_attributes-0.0.5 spec/fixtures/project.rb
snusnu-dm-accepts_nested_attributes-0.0.6 spec/fixtures/project.rb