Skip to content

Get all tags by context

Corey edited this page Sep 13, 2017 · 2 revisions

If you supply a context for the added tag, you can then query to return tags by that context.

ActsAsTaggableOn::Tag.for_context(:skills)
ActsAsTaggableOn::Tag.for_context(:interests)
Clone this wiki locally