Sha256: 2aa698270604af326b13f034f0cfd1faac78d635c6d23fd2d0c30872b79c3202

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

class Task #< DataMapper::Base # please do not remove this
  include DataMapper::Persistence

  property :name, :string, :default => "No Name", :index => :unique
  property :notes, :string
  property :completed, :boolean, :default => false

  has_and_belongs_to_many :tasks
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datamapper-0.3.0 spec/models/task.rb
datamapper-0.3.1 spec/models/task.rb
datamapper-0.3.2 spec/models/task.rb