Sha256: 3f802bef1c3439f61d0357c49be364c71b5c3d3924fb5c52e8030817dc9789ac

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

require Pathname(__FILE__).dirname / "rating"

class Topic
  include DataMapper::Resource

  property :id, Integer, :key => true, :serial => true

  property :name, String
  property :description, String

  remix n, My::Nested::Remixable::Rating,
    :as => :ratings_for_topic,
    :class_name => "Rating"

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dm-is-remixable-0.9.7 spec/data/topic.rb
dm-is-remixable-0.9.10 spec/data/topic.rb
dm-is-remixable-0.9.11 spec/data/topic.rb
dm-is-remixable-0.9.8 spec/data/topic.rb
dm-is-remixable-0.9.9 spec/data/topic.rb