Sha256: 915efe8692a066dbea60c725e284061200961372b57f3274bc654c35a028a5f3

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

class Photo
  include DataMapper::Resource

  property :id,   Serial
  property :name, String

  has n, :tagged_things,    :class_name => "Tagging"
  has n, :tags,             :through => :tagged_things
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snusnu-dm-accepts_nested_attributes-0.0.2 spec/fixtures/photo.rb