https://github.com/mbleigh/acts-as-taggable-on
A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
https://github.com/mbleigh/acts-as-taggable-on
Keywords from Contributors
activerecord mvc activejob rubygems crash-reporting rack rspec sinatra rubocop sidekiq
Last synced: about 13 hours ago
JSON representation
Repository metadata
A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
- Host: GitHub
- URL: https://github.com/mbleigh/acts-as-taggable-on
- Owner: mbleigh
- License: mit
- Created: 2008-03-21T19:07:26.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2025-12-02T18:36:02.000Z (8 days ago)
- Last Synced: 2025-12-04T22:56:49.599Z (6 days ago)
- Language: Ruby
- Homepage: http://mbleigh.lighthouseapp.com/projects/10116-acts-as-taggable-on
- Size: 1.25 MB
- Stars: 4,999
- Watchers: 73
- Forks: 1,204
- Open Issues: 309
- Releases: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
README.md
Table of Contents generated with DocToc
ActsAsTaggableOn
This plugin was originally based on Acts as Taggable on Steroids by Jonathan Viney.
It has evolved substantially since that point, but all credit goes to him for the
initial tagging functionality that so many people have used.
For instance, in a social network, a user might have tags that are called skills,
interests, sports, and more. There is no real way to differentiate between tags and
so an implementation of this type is not possible with acts as taggable on steroids.
Enter Acts as Taggable On. Rather than tying functionality to a specific keyword
(namely tags), acts as taggable on allows you to specify an arbitrary number of
tag "contexts" that can be used locally or in combination in the same way steroids
was used.
Installation
To use it, add it to your Gemfile:
gem 'acts-as-taggable-on'
and bundle:
bundle
Post Installation
Install migrations
# For the latest versions :
rake acts_as_taggable_on_engine:install:migrations
Review the generated migrations then migrate :
rake db:migrate
If you do not wish or need to support multi-tenancy, the migration for add_tenant_to_taggings is optional and can be discarded safely.
For MySql users
You can circumvent at any time the problem of special characters issue 623 by setting in an initializer file:
ActsAsTaggableOn.force_binary_collation = true
Or by running this rake task:
rake acts_as_taggable_on_engine:tag_names:collate_bin
See the Configuration section for more details, and a general note valid for older
version of the gem.
Usage
Setup
class User < ActiveRecord::Base
acts_as_taggable_on :tags
acts_as_taggable_on :skills, :interests #You can also configure multiple tag types per model
end
class UsersController < ApplicationController
def user_params
params.require(:user).permit(:name, :tag_list) ## Rails 4 strong params usage
end
end
@user = User.new(:name => "Bobby")
Add and remove a single tag
@user.tag_list.add("awesome") # add a single tag. alias for <<
@user.tag_list.remove("awesome") # remove a single tag
@user.save # save to persist tag_list
Add and remove multiple tags in an array
@user.tag_list.add("awesome", "slick")
@user.tag_list.remove("awesome", "slick")
@user.save
You can also add and remove tags in format of String. This would
be convenient in some cases such as handling tag input param in a String.
Pay attention you need to add parse: true as option in this case.
You may also want to take a look at delimiter in the string. The default
is comma , so you don't need to do anything here. However, if you made
a change on delimiter setting, make sure the string will match. See
configuration for more about delimiter.
@user.tag_list.add("awesome, slick", parse: true)
@user.tag_list.remove("awesome, slick", parse: true)
You can also add and remove tags by direct assignment. Note this will
remove existing tags so use it with attention.
@user.tag_list = "awesome, slick, hefty"
@user.save
@user.reload
@user.tags
=> [#<ActsAsTaggableOn::Tag id: 1, name: "awesome", taggings_count: 1>,
#<ActsAsTaggableOn::Tag id: 2, name: "slick", taggings_count: 1>,
#<ActsAsTaggableOn::Tag id: 3, name: "hefty", taggings_count: 1>]
With the defined context in model, you have multiple new methods at disposal
to manage and view the tags in the context. For example, with :skill context
these methods are added to the model: skill_list(and skill_list.add, skill_list.remove
skill_list=), skills(plural), skill_counts.
@user.skill_list = "joking, clowning, boxing"
@user.save
@user.reload
@user.skills
=> [#<ActsAsTaggableOn::Tag id: 1, name: "joking", taggings_count: 1>,
#<ActsAsTaggableOn::Tag id: 2, name: "clowning", taggings_count: 1>,
#<ActsAsTaggableOn::Tag id: 3, name: "boxing", taggings_count: 1>]
@user.skill_list.add("coding")
@user.skill_list
# => ["joking", "clowning", "boxing", "coding"]
@another_user = User.new(:name => "Alice")
@another_user.skill_list.add("clowning")
@another_user.save
User.skill_counts
=> [#<ActsAsTaggableOn::Tag id: 1, name: "joking", taggings_count: 1>,
#<ActsAsTaggableOn::Tag id: 2, name: "clowning", taggings_count: 2>,
#<ActsAsTaggableOn::Tag id: 3, name: "boxing", taggings_count: 1>]
To preserve the order in which tags are created use acts_as_ordered_taggable:
class User < ActiveRecord::Base
# Alias for acts_as_ordered_taggable_on :tags
acts_as_ordered_taggable
acts_as_ordered_taggable_on :skills, :interests
end
@user = User.new(:name => "Bobby")
@user.tag_list = "east, south"
@user.save
@user.tag_list = "north, east, south, west"
@user.save
@user.reload
@user.tag_list # => ["north", "east", "south", "west"]
Finding most or least used tags
You can find the most or least used tags by using:
ActsAsTaggableOn::Tag.most_used
ActsAsTaggableOn::Tag.least_used
You can also filter the results by passing the method a limit, however the default limit is 20.
ActsAsTaggableOn::Tag.most_used(10)
ActsAsTaggableOn::Tag.least_used(10)
Finding Tagged Objects
Acts As Taggable On uses scopes to create an association for tags.
This way you can mix and match to filter down your results.
class User < ActiveRecord::Base
acts_as_taggable_on :tags, :skills
scope :by_join_date, order("created_at DESC")
end
User.tagged_with("awesome").by_join_date
User.tagged_with("awesome").by_join_date.paginate(:page => params[:page], :per_page => 20)
# Find users that matches all given tags:
# NOTE: This only matches users that have the exact set of specified tags. If a user has additional tags, they are not returned.
User.tagged_with(["awesome", "cool"], :match_all => true)
# Find users with any of the specified tags:
User.tagged_with(["awesome", "cool"], :any => true)
# Find users that have not been tagged with awesome or cool:
User.tagged_with(["awesome", "cool"], :exclude => true)
# Find users with any of the tags based on context:
User.tagged_with(['awesome', 'cool'], :on => :tags, :any => true).tagged_with(['smart', 'shy'], :on => :skills, :any => true)
Wildcard tag search
You now have the following options for prefix, suffix and containment search, along with :any or :exclude option.
Use wild: :suffix to place a wildcard at the end of the tag. It will be looking for awesome% and cool% in SQL.
Use wild: :prefix to place a wildcard at the beginning of the tag. It will be looking for %awesome and %cool in SQL.
Use wild: true to place a wildcard both at the beginning and the end of the tag. It will be looking for %awesome% and %cool% in SQL.
Tip: User.tagged_with([]) or User.tagged_with('') will return [], an empty set of records.
Relationships
You can find objects of the same type based on similar tags on certain contexts.
Also, objects will be returned in descending order based on the total number of
matched tags.
@bobby = User.find_by_name("Bobby")
@bobby.skill_list # => ["jogging", "diving"]
@frankie = User.find_by_name("Frankie")
@frankie.skill_list # => ["hacking"]
@tom = User.find_by_name("Tom")
@tom.skill_list # => ["hacking", "jogging", "diving"]
@tom.find_related_skills # => [<User name="Bobby">, <User name="Frankie">]
@bobby.find_related_skills # => [<User name="Tom">]
@frankie.find_related_skills # => [<User name="Tom">]
Dynamic Tag Contexts
In addition to the generated tag contexts in the definition, it is also possible
to allow for dynamic tag contexts (this could be user generated tag contexts!)
@user = User.new(:name => "Bobby")
@user.set_tag_list_on(:customs, "same, as, tag, list")
@user.tag_list_on(:customs) # => ["same", "as", "tag", "list"]
@user.save
@user.tags_on(:customs) # => [<Tag name='same'>,...]
@user.tag_counts_on(:customs)
User.tagged_with("same", :on => :customs) # => [@user]
Finding tags based on context
You can find tags for a specific context by using the for_context scope:
ActsAsTaggableOn::Tag.for_context(:tags)
ActsAsTaggableOn::Tag.for_context(:skills)
Tag Parsers
If you want to change how tags are parsed, you can define your own implementation:
class MyParser < ActsAsTaggableOn::GenericParser
def parse
ActsAsTaggableOn::TagList.new.tap do |tag_list|
tag_list.add @tag_list.split('|')
end
end
end
Now you can use this parser, passing it as parameter:
@user = User.new(:name => "Bobby")
@user.tag_list = "east, south"
@user.tag_list.add("north|west", parser: MyParser)
@user.tag_list # => ["north", "east", "south", "west"]
# Or also:
@user.tag_list.parser = MyParser
@user.tag_list.add("north|west")
@user.tag_list # => ["north", "east", "south", "west"]
Or change it globally:
ActsAsTaggableOn.default_parser = MyParser
@user = User.new(:name => "Bobby")
@user.tag_list = "east|south"
@user.tag_list # => ["east", "south"]
Tag Ownership
Tags can have owners:
class User < ActiveRecord::Base
acts_as_tagger
end
class Photo < ActiveRecord::Base
acts_as_taggable_on :locations
end
@some_user.tag(@some_photo, :with => "paris, normandy", :on => :locations)
@some_user.owned_taggings
@some_user.owned_tags
Photo.tagged_with("paris", :on => :locations, :owned_by => @some_user)
@some_photo.locations_from(@some_user) # => ["paris", "normandy"]
@some_photo.owner_tags_on(@some_user, :locations) # => [#<ActsAsTaggableOn::Tag id: 1, name: "paris">...]
@some_photo.owner_tags_on(nil, :locations) # => Ownerships equivalent to saying @some_photo.locations
@some_user.tag(@some_photo, :with => "paris, normandy", :on => :locations, :skip_save => true) #won't save @some_photo object
Working with Owned Tags
Note that tag_list only returns tags whose taggings do not have an owner. Continuing from the above example:
@some_photo.tag_list # => []
To retrieve all tags of an object (regardless of ownership) or if only one owner can tag the object, use all_tags_list.
Adding owned tags
Note that owned tags are added all at once, in the form of comma separated tags in string.
Also, when you try to add owned tags again, it simply overwrites the previous set of owned tags.
So to append tags in previously existing owned tags list, go as follows:
def add_owned_tag
@some_item = Item.find(params[:id])
owned_tag_list = @some_item.all_tags_list - @some_item.tag_list
owned_tag_list += [(params[:tag])]
@tag_owner.tag(@some_item, :with => stringify(owned_tag_list), :on => :tags)
@some_item.save
end
def stringify(tag_list)
tag_list.inject('') { |memo, tag| memo += (tag + ',') }[0..-1]
end
Removing owned tags
Similarly as above, removing will be as follows:
def remove_owned_tag
@some_item = Item.find(params[:id])
owned_tag_list = @some_item.all_tags_list - @some_item.tag_list
owned_tag_list -= [(params[:tag])]
@tag_owner.tag(@some_item, :with => stringify(owned_tag_list), :on => :tags)
@some_item.save
end
Tag Tenancy
Tags support multi-tenancy. This is useful for applications where a Tag belongs to a scoped set of models:
class Account < ActiveRecord::Base
has_many :photos
end
class User < ActiveRecord::Base
belongs_to :account
acts_as_taggable_on :tags
acts_as_taggable_tenant :account_id
end
@user1.tag_list = ["foo", "bar"] # these taggings will automatically have the tenant saved
@user2.tag_list = ["bar", "baz"]
ActsAsTaggableOn::Tag.for_tenant(@user1.account.id) # returns Tag models for "foo" and "bar", but not "baz"
Dirty objects
@bobby = User.find_by_name("Bobby")
@bobby.skill_list # => ["jogging", "diving"]
@bobby.skill_list_changed? #=> false
@bobby.changes #=> {}
@bobby.skill_list = "swimming"
@bobby.changes.should == {"skill_list"=>["jogging, diving", ["swimming"]]}
@bobby.skill_list_changed? #=> true
@bobby.skill_list_change.should == ["jogging, diving", ["swimming"]]
Tag cloud calculations
To construct tag clouds, the frequency of each tag needs to be calculated.
Because we specified acts_as_taggable_on on the User class, we can
get a calculation of all the tag counts by using User.tag_counts_on(:customs). But what if we wanted a tag count for
a single user's posts? To achieve this we call tag_counts on the association:
User.find(:first).posts.tag_counts_on(:tags)
A helper is included to assist with generating tag clouds.
Here is an example that generates a tag cloud.
Helper:
module PostsHelper
include ActsAsTaggableOn::TagsHelper
end
Controller:
class PostController < ApplicationController
def tag_cloud
@tags = Post.tag_counts_on(:tags)
end
end
View:
<% tag_cloud(@tags, %w(css1 css2 css3 css4)) do |tag, css_class| %>
<%= link_to tag.name, { :action => :tag, :id => tag.name }, :class => css_class %>
<% end %>
CSS:
.css1 { font-size: 1.0em; }
.css2 { font-size: 1.2em; }
.css3 { font-size: 1.4em; }
.css4 { font-size: 1.6em; }
Configuration
If you would like to remove unused tag objects after removing taggings, add:
ActsAsTaggableOn.remove_unused_tags = true
If you want force tags to be saved downcased:
ActsAsTaggableOn.force_lowercase = true
If you want tags to be saved parametrized (you can redefine to_param as well):
ActsAsTaggableOn.force_parameterize = true
If you would like tags to be case-sensitive and not use LIKE queries for creation:
ActsAsTaggableOn.strict_case_match = true
If you would like to have an exact match covering special characters with MySql:
ActsAsTaggableOn.force_binary_collation = true
If you would like to specify table names:
ActsAsTaggableOn.tags_table = 'aato_tags'
ActsAsTaggableOn.taggings_table = 'aato_taggings'
If you want to change the default delimiter (it defaults to ','). You can also pass in an array of delimiters such as ([',', '|']):
ActsAsTaggableOn.delimiter = ','
NOTE 1: SQLite by default can't upcase or downcase multibyte characters, resulting in unwanted behavior. Load the SQLite ICU extension for proper handle of such characters. See docs
NOTE 2: the option force_binary_collation is strongest than strict_case_match and when
set to true, the strict_case_match is ignored.
To roughly apply the force_binary_collation behaviour with a version of the gem <= 3.4.4, execute the following commands in the MySql console:
USE my_wonderful_app_db;
ALTER TABLE tags MODIFY name VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin;
Upgrading
see UPGRADING
Contributors
We have a long list of valued contributors. Check them all
Compatibility
Versions 2.x are compatible with Ruby 1.8.7+ and Rails 3.
Versions 2.4.1 and up are compatible with Rails 4 too (thanks to arabonradar and cwoodcox).
Versions >= 3.x are compatible with Ruby 1.9.3+ and Rails 3 and 4.
Versions >= 4.x are compatible with Ruby 2.0.0+ and Rails 4 and 5.
Versions >= 7.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.
Versions >= 8.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.
Versions >= 9.x are compatible with Ruby 2.5.0 and Rails 6 and 7.0.
Versions >= 11.x are compatible with Ruby 3.1.0 and Rails 7.0 and 7.1.
Versions >= 12.x are compatible with Ruby 3.2.0 and Rails 7.1, 7.2 and 8.0.
For an up-to-date roadmap, see https://github.com/mbleigh/acts-as-taggable-on/milestones
Testing
Acts As Taggable On uses RSpec for its test coverage. Inside the gem
directory, you can run the specs with:
bundle
rake spec
You can run all the tests across all the Rails versions by running rake appraise.
If you'd also like to run the tests across all rubies and databases as configured for Github Actions, install and run wwtd.
License
See LICENSE
Owner metadata
- Name: Michael Bleigh
- Login: mbleigh
- Email:
- Kind: user
- Description: Makin' devs happy @firebase
- Website: http://www.mbleigh.com/
- Location: Castro Valley, CA
- Twitter:
- Company: @firebase (@google)
- Icon url: https://avatars.githubusercontent.com/u/1022?v=4
- Repositories: 147
- Last ynced at: 2023-04-10T07:45:58.648Z
- Profile URL: https://github.com/mbleigh
GitHub Events
Total
- Issues event: 19
- Watch event: 54
- Delete event: 1
- Issue comment event: 37
- Push event: 14
- Pull request review comment event: 9
- Pull request review event: 10
- Pull request event: 27
- Fork event: 22
- Create event: 1
Last Year
- Issues event: 14
- Watch event: 42
- Issue comment event: 30
- Push event: 12
- Pull request review event: 7
- Pull request review comment event: 7
- Pull request event: 23
- Fork event: 14
Committers metadata
Last synced: 4 days ago
Total Commits: 900
Total Committers: 231
Avg Commits per committer: 3.896
Development Distribution Score (DDS): 0.818
Commits in past year: 20
Committers in past year: 9
Avg Commits per committer in past year: 2.222
Development Distribution Score (DDS) in past year: 0.6
| Name | Commits | |
|---|---|---|
| Tom-Eric | ik@t****o | 164 |
| Abdelkader Boudih | t****e@g****m | 119 |
| Michael Bleigh | m****l@i****m | 47 |
| Benjamin Fleischer | g****b@b****m | 41 |
| artemk | k****m@g****m | 40 |
| Joost Baaij | j****t@s****l | 33 |
| Szymon Nowak | s****k@g****m | 24 |
| Artem Kramarenko | me@a****e | 22 |
| Radhames Brito | r****m@g****m | 11 |
| Daniel Perez Alvarez | u****d@g****m | 11 |
| michael | m****l@0****9 | 10 |
| sobrinho | g****o@g****m | 9 |
| Fyodor | x****x@g****m | 9 |
| Nicolas Rodriguez | n****o@n****r | 8 |
| Ches Martin | c****s@w****t | 8 |
| Kamil Giszczak | b****g@K****l | 8 |
| Jon Seaberg | j****g@g****m | 7 |
| Tony Ta | t****t@g****m | 6 |
| quest | q****t@m****m | 6 |
| Brendan G. Lim | b****n@i****m | 6 |
| Nathan Hessler | n****r@c****m | 6 |
| Chris Hilton | c****n@i****m | 5 |
| Jonathan del Strother | j****r@a****m | 5 |
| ywatanabe | 5 | |
| Damian Legawiec | d****n@s****o | 5 |
| Akira Matsuda | r****e@d****p | 5 |
| Geremia Taglialatela | t****v@g****m | 4 |
| ProGM | p****h@g****m | 4 |
| Krzysztof Rybka | k****a@g****m | 4 |
| Enrico Fusto | r****e@g****m | 4 |
| and 201 more... | ||
Committer domains:
- intridea.com: 3
- gmx.de: 2
- audioboo.fm: 2
- vinsol.com: 2
- broadcastingadam.com: 1
- umn.edu: 1
- team.curious.com: 1
- bamaru.de: 1
- atg.auto: 1
- higher.lv: 1
- alleycorpnord.com: 1
- flyingtrolleycars.com: 1
- alexrothenberg.com: 1
- guestfolio.com: 1
- current-rms.com: 1
- .(none): 1
- wopata.com: 1
- alliancehealth.com: 1
- themarknews.com: 1
- pinnacol.com: 1
- entrecables.com: 1
- projectchelsea.com: 1
- pixelpoint.at: 1
- scimedsolutions.com: 1
- tom-eric.info: 1
- benjaminfleischer.com: 1
- spacebabies.nl: 1
- artemk.name: 1
- nicoladmin.fr: 1
- whiskeyandgrits.net: 1
- mac.com: 1
- customink.com: 1
- insphire.com: 1
- sparksolutions.co: 1
- dio.jp: 1
- peopledesign.com: 1
- mbf.nifty.com: 1
- acmetechnologygroup.com: 1
- enspiral.com: 1
- hales.ws: 1
- ktdreyer.com: 1
- flexnode.com: 1
- fousa.be: 1
- fmr.com: 1
- o2.pl: 1
- shiftf5.nl: 1
- me.com: 1
- meremyanin.com: 1
- aussiev8.com.au: 1
- usc.edu: 1
- pospulse.com: 1
- itsalive.in: 1
- estately.com: 1
- optimalworkshop.com: 1
- brianjohn.com: 1
- nwops.io: 1
- arnebrasseur.net: 1
- dit.upm.es: 1
- dontfidget.com: 1
- sourcebits.com: 1
- openssl.it: 1
- jsteiner.me: 1
- semanticart.com: 1
- jaredbeck.com: 1
- yandex.ru: 1
- 6artisans.cz: 1
- pendo.io: 1
- eet.nu: 1
- freemer.com: 1
- gingras.cc: 1
- swiftcomply.com: 1
- masing.net: 1
- jetrecord.com: 1
- reamaze.com: 1
- mdterra.org: 1
- examtime.com: 1
- rustedcode.com: 1
- larkfarm.com: 1
- gitter.im: 1
- reed.edu: 1
- sunfox.org: 1
- sergeylukin.com: 1
- spieszko.pl: 1
- cuw.edu: 1
- yandex.ua: 1
- freerunningtech.com: 1
- zerosum.org: 1
- hemasystems.com: 1
- testdouble.com: 1
- pawafuru.com: 1
- mabonus.net: 1
- qburst.com: 1
Issue and Pull Request metadata
Last synced: 7 days ago
Total issues: 70
Total pull requests: 125
Average time to close issues: about 1 year
Average time to close pull requests: 5 months
Total issue authors: 64
Total pull request authors: 79
Average comments per issue: 2.99
Average comments per pull request: 2.2
Merged pull request: 56
Bot issues: 0
Bot pull requests: 0
Past year issues: 9
Past year pull requests: 31
Past year average time to close issues: 16 days
Past year average time to close pull requests: about 1 month
Past year issue authors: 8
Past year pull request authors: 13
Past year average comments per issue: 2.44
Past year average comments per pull request: 0.84
Past year merged pull request: 23
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- fguillen (3)
- tagliala (2)
- iberianpig (2)
- akostadinov (2)
- rctneil (2)
- xeron (1)
- yshmarov (1)
- wisedevman (1)
- adamzolosyncro (1)
- palladius (1)
- kassi (1)
- jgrant29 (1)
- kylekeesling (1)
- denmarkmeralpis (1)
- alec-c4 (1)
Top Pull Request Authors
- seuros (11)
- n-rodriguez (9)
- tagliala (7)
- mark-young-atg (3)
- olleolleolle (3)
- aovertus (3)
- adrianthedev (2)
- matthewbjones (2)
- fabiosammy (2)
- flickgradley (2)
- kianmeng (2)
- lukeasrodgers (2)
- coneybeare (2)
- bragamat (2)
- adbelsham (2)
Top Issue Labels
- feature (1)
- sql (1)
Top Pull Request Labels
- feature (1)
Package metadata
- Total packages: 18
-
Total downloads:
- rubygems: 127,919,631 total
- Total docker downloads: 868,575,260
- Total dependent packages: 101 (may contain duplicates)
- Total dependent repositories: 11,992 (may contain duplicates)
- Total versions: 245
- Total maintainers: 11
gem.coop: acts-as-taggable-on
With ActsAsTaggableOn, you can tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: https://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/acts-as-taggable-on/
- Licenses: MIT
- Latest release: 13.0.0 (published about 1 month ago)
- Last Synced: 2025-12-09T14:01:05.002Z (about 21 hours ago)
- Versions: 83
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 63,897,824 Total
- Docker Downloads: 434,287,630
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.172%
- Downloads: 0.517%
- Maintainers (4)
rubygems.org: acts-as-taggable-on
With ActsAsTaggableOn, you can tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: https://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/acts-as-taggable-on/
- Licenses: MIT
- Latest release: 13.0.0 (published about 1 month ago)
- Last Synced: 2025-12-09T17:31:47.024Z (about 18 hours ago)
- Versions: 83
- Dependent Packages: 100
- Dependent Repositories: 11,954
- Downloads: 63,902,732 Total
- Docker Downloads: 434,287,630
-
Rankings:
- Stargazers count: 0.255%
- Dependent repos count: 0.314%
- Dependent packages count: 0.318%
- Average: 0.343%
- Docker downloads count: 0.359%
- Downloads: 0.398%
- Forks count: 0.414%
- Maintainers (4)
proxy.golang.org: github.com/mbleigh/acts-as-taggable-on
- Homepage:
- Documentation: https://pkg.go.dev/github.com/mbleigh/acts-as-taggable-on#section-documentation
- Licenses: mit
- Latest release: v13.0.0+incompatible (published about 1 month ago)
- Last Synced: 2025-12-07T21:03:04.913Z (3 days ago)
- Versions: 55
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Forks count: 0.746%
- Stargazers count: 0.955%
- Average: 3.737%
- Dependent repos count: 4.79%
- Dependent packages count: 8.456%
rubygems.org: acts_as_taggable_on
With ActsAsTaggableOn, you can tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: https://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/acts_as_taggable_on/
- Licenses: MIT
- Latest release: 3.0.0.rc2 (published almost 12 years ago)
- Last Synced: 2025-12-07T21:03:05.030Z (3 days ago)
- Versions: 2
- Dependent Packages: 1
- Dependent Repositories: 33
- Downloads: 27,667 Total
-
Rankings:
- Stargazers count: 0.254%
- Forks count: 0.4%
- Dependent repos count: 4.3%
- Average: 6.765%
- Dependent packages count: 7.655%
- Downloads: 21.216%
- Maintainers (4)
gem.coop: axtro-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/axtro-acts-as-taggable-on/
- Licenses: mit
- Latest release: 2.0.6 (published over 13 years ago)
- Last Synced: 2025-12-07T21:03:03.514Z (3 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 15,085 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 11.935%
- Downloads: 35.804%
- Maintainers (1)
rubygems.org: axtro-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/axtro-acts-as-taggable-on/
- Licenses: mit
- Latest release: 2.0.6 (published over 13 years ago)
- Last Synced: 2025-12-07T21:03:03.404Z (3 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 15,085 Total
-
Rankings:
- Stargazers count: 0.214%
- Forks count: 0.362%
- Dependent packages count: 15.706%
- Average: 19.688%
- Downloads: 35.375%
- Dependent repos count: 46.782%
- Maintainers (1)
rubygems.org: edwardsa-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/edwardsa-acts-as-taggable-on/
- Licenses: mit
- Latest release: 1.0.12 (published about 16 years ago)
- Last Synced: 2025-12-07T21:03:03.098Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 5,370 Total
-
Rankings:
- Stargazers count: 0.254%
- Forks count: 0.4%
- Dependent packages count: 15.576%
- Average: 20.61%
- Dependent repos count: 21.793%
- Downloads: 65.026%
- Maintainers (1)
rubygems.org: jerryvos-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/jerryvos-acts-as-taggable-on/
- Licenses: mit
- Latest release: 1.0.6 (published about 16 years ago)
- Last Synced: 2025-12-07T21:03:05.924Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 4,976 Total
-
Rankings:
- Stargazers count: 0.254%
- Forks count: 0.4%
- Dependent packages count: 15.576%
- Average: 21.007%
- Dependent repos count: 21.793%
- Downloads: 67.011%
- Maintainers (1)
rubygems.org: ghazel-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/ghazel-acts-as-taggable-on/
- Licenses: mit
- Latest release: 2.0.6.1 (published over 14 years ago)
- Last Synced: 2025-12-07T21:03:04.910Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 5,049 Total
-
Rankings:
- Stargazers count: 0.254%
- Forks count: 0.4%
- Dependent packages count: 15.576%
- Average: 21.102%
- Dependent repos count: 21.793%
- Downloads: 67.485%
- Maintainers (1)
rubygems.org: litmus-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/litmus-acts-as-taggable-on/
- Licenses: mit
- Latest release: 2.0.4 (published over 14 years ago)
- Last Synced: 2025-12-07T21:03:04.475Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 4,648 Total
-
Rankings:
- Stargazers count: 0.252%
- Forks count: 0.4%
- Dependent packages count: 15.576%
- Average: 21.779%
- Dependent repos count: 21.793%
- Downloads: 70.871%
- Maintainers (1)
gem.coop: ghazel-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/ghazel-acts-as-taggable-on/
- Licenses: mit
- Latest release: 2.0.6.1 (published over 14 years ago)
- Last Synced: 2025-12-07T21:03:05.262Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 5,049 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 22.446%
- Downloads: 67.339%
- Maintainers (1)
gem.coop: jerryvos-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/jerryvos-acts-as-taggable-on/
- Licenses: mit
- Latest release: 1.0.6 (published about 16 years ago)
- Last Synced: 2025-12-07T21:03:04.266Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,976 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 22.556%
- Downloads: 67.667%
- Maintainers (1)
gem.coop: litmus-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/litmus-acts-as-taggable-on/
- Licenses: mit
- Latest release: 2.0.4 (published over 14 years ago)
- Last Synced: 2025-12-07T21:03:04.518Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,648 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 23.62%
- Downloads: 70.861%
- Maintainers (1)
gem.coop: johnsbrn-acts-as-taggable-on
Acts As Taggable On provides the ability to have multiple tag contexts on a single model in ActiveRecord. It also has support for tag clouds, related items, taggers, and more.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/johnsbrn-acts-as-taggable-on/
- Licenses: mit
- Latest release: 1.1.0 (published over 11 years ago)
- Last Synced: 2025-12-07T21:03:02.596Z (3 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,152 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 23.925%
- Downloads: 71.775%
rubygems.org: johnsbrn-acts-as-taggable-on
Acts As Taggable On provides the ability to have multiple tag contexts on a single model in ActiveRecord. It also has support for tag clouds, related items, taggers, and more.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/johnsbrn-acts-as-taggable-on/
- Licenses: mit
- Latest release: 1.1.0 (published over 11 years ago)
- Last Synced: 2025-12-07T21:03:02.479Z (3 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,152 Total
-
Rankings:
- Stargazers count: 0.214%
- Forks count: 0.362%
- Dependent packages count: 15.706%
- Average: 24.902%
- Dependent repos count: 46.782%
- Downloads: 61.446%
gem.coop: edwardsa-acts-as-taggable-on
With ActsAsTaggableOn, you could tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: http://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/edwardsa-acts-as-taggable-on/
- Licenses: mit
- Latest release: 1.0.12 (published about 16 years ago)
- Last Synced: 2025-12-07T21:03:03.973Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 5,370 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 25.018%
- Downloads: 75.054%
- Maintainers (1)
gem.coop: acts-as-taggable-on-fix
With ActsAsTaggableOn, you can tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: https://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/acts-as-taggable-on-fix/
- Licenses: MIT
- Latest release: 8.1.1 (published over 4 years ago)
- Last Synced: 2025-12-07T21:03:05.478Z (3 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,424 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.669%
- Downloads: 83.008%
- Maintainers (1)
rubygems.org: acts-as-taggable-on-fix
With ActsAsTaggableOn, you can tag a single model on several contexts, such as skills, interests, and awards. It also provides other advanced functionality.
- Homepage: https://github.com/mbleigh/acts-as-taggable-on
- Documentation: http://www.rubydoc.info/gems/acts-as-taggable-on-fix/
- Licenses: MIT
- Latest release: 8.1.1 (published over 4 years ago)
- Last Synced: 2025-12-07T21:03:03.604Z (3 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,424 Total
-
Rankings:
- Stargazers count: 0.214%
- Forks count: 0.362%
- Dependent packages count: 15.706%
- Average: 28.87%
- Dependent repos count: 46.782%
- Downloads: 81.286%
- Maintainers (1)
Dependencies
- appraisal >= 0 development
- byebug >= 0 development
- guard >= 0 development
- guard-rspec >= 0 development
- rake >= 0 development
- sqlite3 >= 0 development
- barrier >= 0 development
- database_cleaner >= 0 development
- rspec >= 0 development
- rspec-its >= 0 development
- rspec-rails >= 0 development
- activerecord >= 6.0, < 7.1
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
- mysql 8 docker
- postgres 10 docker
- mysql 8
- postgres 10
Score: 34.73915527671914