Sha256: 7c751a2038d312a53a8f86ab9c4a34b2e773057ad604d074d39317b0148bfddb

Contents?: true

Size: 985 Bytes

Versions: 12

Compression:

Stored size: 985 Bytes

Contents

require "active_record"
require "action_view"

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

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

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/collection"
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"

$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, TagsHelper
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
axtro-acts-as-taggable-on-2.0.6 lib/acts-as-taggable-on.rb
axtro-acts-as-taggable-on-2.0.5 lib/acts-as-taggable-on.rb
axtro-acts-as-taggable-on-2.0.4 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.4 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.3 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.2 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.1 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.0 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.0.rc2 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.0.rc1 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.0.pre5 lib/acts-as-taggable-on.rb
acts-as-taggable-on-0.0.0 lib/acts-as-taggable-on.rb