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::TagList#remove
Remove specific tags from the tag_list.
Use the <tt>:parse</tt> option to add an unparsed tag string.
Example:
tag_list.remove("Sad", "Lonely")
tag_list.remove("Sad, Lonely", :parse => true)Edit
git clone [email protected]:mbleigh/acts-as-taggable-on.git
cd acts-as-taggable-on
open lib/acts-as-taggable-on/tag_list.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActsAsTaggableOn--TagList-remove-for-pr
# Commit to gitgit add lib/acts-as-taggable-on/tag_list.rbgit commit -m "better docs for ActsAsTaggableOn::TagList#remove"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActsAsTaggableOn--TagList-remove-for-pr
hub pull-request
# Celebrate!