Sha256: ecb6528cf085b186e98693adc78a8c7960f90511b9d3c15e7fb7a6af9b3c4ee8

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
snusnu-dm-accepts_nested_attributes-0.10.0 spec/fixtures/project_membership.rb
snusnu-dm-accepts_nested_attributes-0.11.0 spec/fixtures/project_membership.rb