Sha256: 28f6fef9e7cdceb911e0e94c1d819768c34c4f40c36d74e0157c18e442aff3db

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

require "active_record"
require "active_record/version"
require "action_view"
RAILS_3 = ::ActiveRecord::VERSION::MAJOR >= 3

$LOAD_PATH.unshift(File.dirname(__FILE__))

require "acts_as_taggable_on/compatibility/active_record_backports" unless RAILS_3

require "acts_as_taggable_on/utils"

require "acts_as_taggable_on/taggable"
require "acts_as_taggable_on/taggable/core"
require "acts_as_taggable_on/taggable/collection"
require "acts_as_taggable_on/taggable/cache"
require "acts_as_taggable_on/taggable/ownership"
require "acts_as_taggable_on/taggable/related"

#require "acts_as_taggable_on/utils"
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"

$LOAD_PATH.shift


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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rylwin-acts-as-taggable-on-2.1.1a lib/acts-as-taggable-on.rb