Sha256: 893d6cbc8fa2d6e09434db11c2f697298d9809fdea1977baa0a3e7bb77c66c42

Contents?: true

Size: 1003 Bytes

Versions: 5

Compression:

Stored size: 1003 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, ActsAsTaggableOn::TagsHelper
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
yetanothernguyen-acts-as-taggable-on-0.0.5 lib/acts-as-taggable-on.rb
yetanothernguyen-acts-as-taggable-on-0.0.4 lib/acts-as-taggable-on.rb
ghazel-acts-as-taggable-on-2.0.6.1 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.6 lib/acts-as-taggable-on.rb
acts-as-taggable-on-2.0.5 lib/acts-as-taggable-on.rb