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)

Source | Google | Stack overflow

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 branch

git checkout -b -your-name--update-docs-ActsAsTaggableOn--TagList-remove-for-pr


# Commit to git

git add lib/acts-as-taggable-on/tag_list.rbgit commit -m "better docs for ActsAsTaggableOn::TagList#remove"


# Open pull request

gem 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!