Sha256: 51f6d225d6c08fdd02d6fdca600e8dbf729e959fda6d2853daf17482735676d9

Contents?: true

Size: 202 Bytes

Versions: 4

Compression:

Stored size: 202 Bytes

Contents

class Task
  include DataMapper::Resource
  property :id,         Serial
  property :project_id, Integer, :nullable => false
  property :name,       String,  :nullable => false
  belongs_to :project
end

Version data entries

4 entries across 4 versions & 1 rubygems

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