Sha256: ce49d9c97be06cff7e9501bcc3bafe7d2378e74a64b96a01a640b731137959ef
Contents?: true
Size: 433 Bytes
Versions: 12
Compression:
Stored size: 433 Bytes
Contents
require 'config' require 'active_record' require 'activerecord-precount' require 'support/config' require 'support/connection' # Connect to the database ARTest.connect def load_schema # silence verbose schema loading original_stdout = $stdout $stdout = StringIO.new adapter_name = ActiveRecord::Base.connection.adapter_name.downcase load SCHEMA_ROOT + "/schema.rb" ensure $stdout = original_stdout end load_schema
Version data entries
12 entries across 12 versions & 1 rubygems