Sha256: e298fc0932c29258c27afb0714c53d49f48e423c5ba0776839c24f3584e055fd

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

Rails.configuration.to_prepare do
  Ecm::Tags::Configuration.taggable_classes.each do |taggable|
    puts "Including Model::Ecm::Tags::TaggableConcern in #{taggable}"
    taggable.send(:include, Model::Ecm::Tags::TaggableConcern)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_tags-2.2.1 config/initializers/inject_taggable_concern.rb
ecm_tags-2.2.0 config/initializers/inject_taggable_concern.rb