Acts As Taggable Plugin
Dependency :
compile ":acts-as-taggable:not provided"
Summary
Description
ActsAsTaggable Plugin
This plugin adds the RoR "acts_as_taggable" ability to domain classes.The domain class just needs to implement the Taggable interface, then it has the methods below:class Book implements Taggable { … }def book = new Book() … book.save() … book.addTag( "java") book.addTag( "groovy") book.addTag( "grails")assertEquals( "java groovy grails", book.tags)book.removeTag( "groovy")assertEquals( "java grails", book.tags)book.tags = "java groovy" book.removeTag("java")assertEquals( "groovy", book.tags)