Sha256: 7969dcf046a21620b31a9d7e347ee47ca325fd96e2dfe3fe45bfcce6ac4c83ae

Contents?: true

Size: 278 Bytes

Versions: 16

Compression:

Stored size: 278 Bytes

Contents

module Taggable
  def self.included(base)
    base.extend Taggable::ClassMethods
  end

  include DataMapper::Resource

  is :remixable

  property :id, Serial
  property :tag_id, Integer

  module ClassMethods

    def related_tags
      puts "should work"
    end

  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm-is-remixable-1.2.0 spec/data/taggable.rb
dm-is-remixable-1.2.0.rc2 spec/data/taggable.rb
dm-is-remixable-1.2.0.rc1 spec/data/taggable.rb
dm-is-remixable-1.1.0 spec/data/taggable.rb
dm-is-remixable-1.1.0.rc3 spec/data/taggable.rb
dm-is-remixable-1.1.0.rc2 spec/data/taggable.rb
dm-is-remixable-1.1.0.rc1 spec/data/taggable.rb
dm-is-remixable-1.0.2 spec/data/taggable.rb
dm-is-remixable-1.0.1 spec/data/taggable.rb
dm-is-remixable-1.0.0 spec/data/taggable.rb
dm-is-remixable-1.0.0.rc3 spec/data/taggable.rb
dm-is-remixable-1.0.0.rc2 spec/data/taggable.rb
dm-is-remixable-1.0.0.rc1 spec/data/taggable.rb
dm-is-remixable-0.10.2 spec/data/taggable.rb
dm-is-remixable-0.10.1 spec/data/taggable.rb
dm-is-remixable-0.10.0 spec/data/taggable.rb