Sha256: 553687f59b4ac7e1a40d5a6ba485fd5a0862a294b0b47368a028d75938ea83fb

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

class Task
  
  include DataMapper::Resource
  
  # properties
  
  property :id,         Serial
  property :project_id, Integer, :nullable => false
  
  property :name,       String,  :nullable => false
  
  # associations
  
  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/task.rb
snusnu-dm-accepts_nested_attributes-0.11.0 spec/fixtures/task.rb