lib/ardb.rb in ardb-0.27.0 vs lib/ardb.rb in ardb-0.27.1
- old
+ new
@@ -21,9 +21,10 @@
raise NotConfiguredError, "missing required configs"
end
end
def self.init(establish_connection = true)
+ require 'ardb/require_autoloaded_active_record_files'
require self.config.db_file
validate!
Adapter.init
# setup AR