Sha256: a868adf7b53a046b2b41457276027646b5b18f5cae4afa39fb98c7a5f4e92ebd

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

require 'chrono_model/version'
require 'chrono_model/adapter'
require 'chrono_model/patches'
require 'chrono_model/time_machine'
require 'chrono_model/time_gate'
require 'chrono_model/utils'

module ChronoModel
  class Error < ActiveRecord::ActiveRecordError #:nodoc:
  end
end

if defined?(Rails)
  require 'chrono_model/railtie'
end

silence_warnings do
  # We need to override the "scoped" method on AR::Association for temporal
  # associations to work as well
  ActiveRecord::Associations::Association = ChronoModel::Patches::Association
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chrono_model-0.8.0 lib/chrono_model.rb