acts-as-taggable-on
https://github.com/mbleigh/acts-as-taggable-on
Ruby
A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
ActsAsTaggableOn::Tagger::InstanceMethods#tag
Tag a taggable model with tags that are owned by the tagger. Example: @user.tag(@photo, :with => "paris, normandy", :on => :locations)
Edit
git clone [email protected]:mbleigh/acts-as-taggable-on.git
cd acts-as-taggable-on
open lib/acts-as-taggable-on/tagger.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActsAsTaggableOn--Tagger--InstanceMethods-tag-for-pr
# Commit to gitgit add lib/acts-as-taggable-on/tagger.rbgit commit -m "better docs for ActsAsTaggableOn::Tagger::InstanceMethods#tag"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActsAsTaggableOn--Tagger--InstanceMethods-tag-for-pr
hub pull-request
# Celebrate!