Skip to content
bnorton edited this page Oct 14, 2012 · 8 revisions

Resources

Configuration

To change the tag list delimiter, do this in your config/application.rb:

ActsAsTaggableOn.delimiter = ' ' # use space as delimiter

If you would like to remove unused tag objects after removing taggings, add

ActsAsTaggableOn.remove_unused_tags = true

If you want force tags to be saved downcased:

ActsAsTaggableOn.force_lowercase = true

If you want tags to be saved parametrized (you can redefine to_param as well):

ActsAsTaggableOn.force_parameterize = true

If you want tags to be matched case-sensitively:

ActsAsTaggableOn.strict_case_match = true
Clone this wiki locally