Sha256: c3fafd3d0bec1ea4bcb484035c9217bf0b8144796bfaaab116907e4446c6a079
Contents?: true
Size: 751 Bytes
Versions: 2
Compression:
Stored size: 751 Bytes
Contents
class TaggableModel < ActiveRecord::Base acts_as_taggable acts_as_taggable_on :languages acts_as_taggable_on :skills acts_as_taggable_on :needs, :offerings has_many :untaggable_models end class CachedModel < ActiveRecord::Base acts_as_taggable end class OtherCachedModel < ActiveRecord::Base acts_as_taggable_on :languages end class OtherTaggableModel < ActiveRecord::Base acts_as_taggable_on :tags, :languages acts_as_taggable_on :needs, :offerings end class InheritingTaggableModel < TaggableModel end class AlteredInheritingTaggableModel < TaggableModel acts_as_taggable_on :parts end class TaggableUser < ActiveRecord::Base acts_as_tagger end class UntaggableModel < ActiveRecord::Base belongs_to :taggable_model end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts-as-taggable-on-2.1.1 | spec/models.rb |
acts-as-taggable-on-2.1.0 | spec/models.rb |