Sha256: ae79d58dfa3d8ddd64e72b863062b4832c6800f4abd7282ac9c3c4f7adc6b07f

Contents?: true

Size: 254 Bytes

Versions: 13

Compression:

Stored size: 254 Bytes

Contents

module Commentable
  include DataMapper::Resource

  is :remixable,
    :suffix => "comment"

  property :id,         Serial
  property :comment,    String
  property :created_at, DateTime

  validates_presence_of :comment, :context => [ :publish ]

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dm-is-remixable-1.2.0 spec/data/commentable.rb
dm-is-remixable-1.2.0.rc2 spec/data/commentable.rb
dm-is-remixable-1.2.0.rc1 spec/data/commentable.rb
dm-is-remixable-1.1.0 spec/data/commentable.rb
dm-is-remixable-1.1.0.rc3 spec/data/commentable.rb
dm-is-remixable-1.1.0.rc2 spec/data/commentable.rb
dm-is-remixable-1.1.0.rc1 spec/data/commentable.rb
dm-is-remixable-1.0.2 spec/data/commentable.rb
dm-is-remixable-1.0.1 spec/data/commentable.rb
dm-is-remixable-1.0.0 spec/data/commentable.rb
dm-is-remixable-1.0.0.rc3 spec/data/commentable.rb
dm-is-remixable-1.0.0.rc2 spec/data/commentable.rb
dm-is-remixable-1.0.0.rc1 spec/data/commentable.rb