Sha256: 07407e252bde5df8056fc7966939dddc5768ddc3bdbde78d2027465d693dd4b7

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

class TaggedModel
  include DataMapper::Resource
  property :id, Integer, :serial => true

  has_tags_on :skills, :interests, :tags
end

class AnotherTaggedModel
  include DataMapper::Resource
  property :id, Integer, :serial => true

  has_tags_on :skills, :pets
end

class DefaultTaggedModel
  include DataMapper::Resource
  property :id, Integer, :serial => true

  has_tags
end

class UntaggedModel
  include DataMapper::Resource
  property :id, Integer, :serial => true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-tags-0.0.2 spec/classes.rb
dm-tags-0.0.3 spec/classes.rb