Sha256: da4a01394ab1b3f4d99f4a41f62d58b1343c411f5503516094a981a396c5f310

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

class ProjectMembership
  include DataMapper::Resource
  property :id,         Serial
  property :person_id,  Integer, :nullable => false
  property :project_id, Integer, :nullable => false
  belongs_to :person
  belongs_to :project
end

Version data entries

5 entries across 5 versions & 1 rubygems

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