lib/active_archive.rb in active_archive-2.2.0 vs lib/active_archive.rb in active_archive-2.2.1

- old
+ new

@@ -1,12 +1,7 @@ require "active_archive/version" require "active_archive/configuration" -require "active_archive/table_definition" -require "active_archive/methods" -require "active_archive/scopes" -require "active_archive/base" -require "generators/active_archive/install_generator" module ActiveArchive class << self attr_accessor :configuration @@ -23,9 +18,15 @@ def self.configure yield(configuration) end end + +require "active_archive/table_definition" +require "active_archive/methods" +require "active_archive/scopes" +require "active_archive/base" +require "generators/active_archive/install_generator" ActiveRecord::Base.send(:include, ActiveArchive::Base) if defined?(Rails) require 'rails' \ No newline at end of file