mbleigh/acts-as-taggable-on

View on GitHub
lib/tasks/example/acts_as_taggable_on.rb.example

Summary

Maintainability
Test Coverage
ActsAsTaggableOn.setup do |config|
  # This works because the classes where the base class is a concern, Tag and Tagging
  # are autoloaded, and won't be started until after the initializers run. The value
  # must be a String, as the Rails Zeitwerk autoloader will not allow models to be
  # referenced at initialization time.
  #
  # config.base_class = 'ApplicationRecord'
end