Sha256: aba6270ac5f960659774c83169ccf7d2a11a4a475b29df48f59ed5b954ee249a
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
require 'rails/all' module ActsAsTaggable class Engine < Rails::Engine initializer 'acts_as_taggable' do |app| ActiveSupport.on_load(:active_record) do require File.join(File.dirname(__FILE__), 'active_record_extension') ::ActiveRecord::Base.send :include, ActsAsTaggable::ActiveRecordExtension end end end end
Version data entries
3 entries across 3 versions & 2 rubygems