Sha256: c73458fea022893e6cbadaa896660d9ee0044026a897e359e00aec2036380cc2

Contents?: true

Size: 758 Bytes

Versions: 2

Compression:

Stored size: 758 Bytes

Contents

# load rails
require 'rails'

# it's an engine
require 'acts_as_taggable_on_dynamic/rails/engine'
require 'acts_as_taggable_on_dynamic/rails/version'

# load the dependencies
require('acts-as-taggable-on')

# load our code
require('acts_as_taggable_on_dynamic/dynamic_mass_assignment_authorizer')
require('acts_as_taggable_on_dynamic/dynamic_tag_context_attributes')
require('acts_as_taggable_on_dynamic/dynamic_tag_helpers')
require('acts_as_taggable_on_dynamic/taggable')
require('acts_as_taggable_on_dynamic/utils')

# handle ActiveRecord stuff
if defined?(ActiveRecord::Base)
  ActiveRecord::Base.extend ActsAsTaggableOnDynamic::Taggable
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts-as-taggable-on-dynamic-0.0.2 lib/acts_as_taggable_on_dynamic.rb
acts-as-taggable-on-dynamic-0.0.1 lib/acts_as_taggable_on_dynamic.rb