Sha256: 3f92399387810d6c20a5408d089aaa77733cf2ead1a75454f720cce1921179e6

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

require 'has_machine_tags'
require 'has_machine_tags/tag_methods'

#attempt to load constant
::Tag rescue nil
if Object.const_defined? :Tag
  ::Tag.class_eval %[include HasMachineTags::TagMethods]
else
  require 'has_machine_tags/tag'
end

require 'has_machine_tags/tagging'
ActiveRecord::Base.send :include, HasMachineTags

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_machine_tags-0.2.2 init.rb
has_machine_tags-0.2.1 init.rb
has_machine_tags-0.2.0 init.rb
has_machine_tags-0.1.8 init.rb
has_machine_tags-0.1.7 init.rb