Sha256: 7c137d57c138ff54cb941719778c2abb58b8be824357b9e9b458d5d22bbac97a

Contents?: true

Size: 155 Bytes

Versions: 4

Compression:

Stored size: 155 Bytes

Contents

module SimpleTaggable
  module Models
    class Tag < ::ActiveRecord::Base
      validates_uniqueness_of :name

      has_many :taggings
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_taggable-1.0.1 lib/simple_taggable/models/tag.rb
simple_taggable-1.0.0 lib/simple_taggable/models/tag.rb
simple_taggable-0.0.2 lib/simple_taggable/models/tag.rb
simple_taggable-0.0.1 lib/simple_taggable/models/tag.rb