Sha256: c6a9601aed6c869b3a3c9885c004eac69bdad2fe3e18d7220348128c9219655b

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

require 'active_record'
require 'active_support/inflector'

module ActsAsFootprintable
  if defined?(ActiveRecord::Base)
    require 'acts_as_footprintable/extenders/footprintable'
    require 'acts_as_footprintable/extenders/footprinter'
    require 'acts_as_footprintable/footprint'
    ActiveRecord::Base.extend ActsAsFootprintable::Extenders::Footprintable
    ActiveRecord::Base.extend ActsAsFootprintable::Extenders::Footprinter
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts_as_footprintable-0.6.1 lib/acts_as_footprintable.rb
acts_as_footprintable-0.6.0 lib/acts_as_footprintable.rb
acts_as_footprintable-0.1.0 lib/acts_as_footprintable.rb