Sha256: 56cd0c8a450d4af4491fd1deacdce78d3ba8bd13454b2da06fcf192922693e36

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

require "active_record"
require "action_view"

if ActiveRecord::VERSION::MAJOR < 3
  require "acts_as_taggable_on/compatibility/active_record_backports"
  require "acts_as_taggable_on/compatibility/tag"
  require "acts_as_taggable_on/compatibility/tagging"
end

require "acts_as_taggable_on/acts_as_taggable_on"
require "acts_as_taggable_on/acts_as_taggable_on/core"
require "acts_as_taggable_on/acts_as_taggable_on/aggregate"
require "acts_as_taggable_on/acts_as_taggable_on/cache"
require "acts_as_taggable_on/acts_as_taggable_on/ownership"
require "acts_as_taggable_on/acts_as_taggable_on/related"

require "acts_as_taggable_on/acts_as_tagger"
require "acts_as_taggable_on/tag"
require "acts_as_taggable_on/tag_list"
require "acts_as_taggable_on/tags_helper"
require "acts_as_taggable_on/tagging"

if defined?(ActiveRecord::Base)
  ActiveRecord::Base.extend ActsAsTaggableOn::Taggable
  ActiveRecord::Base.send :include, ActsAsTaggableOn::Tagger
end

if defined?(ActionView::Base)
  ActionView::Base.send :include, TagsHelper
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts-as-taggable-on-2.0.0.pre4 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.0.pre3 lib/acts-as-taggable-on.rb