Sha256: 057539890eb13a31136d6c5d6a2e4ab7be80278fa8e9c90f7643aed5c394a13c
Contents?: true
Size: 382 Bytes
Versions: 9
Compression:
Stored size: 382 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'active_record' Dir.chdir File.join(File.dirname(__FILE__), '..') ActiveRecord::Base.logger = Logger.new("debug.log") databases = YAML::load(IO.read("spec/active_record/fixtures/database.yml")) db_info = databases[ENV["DB"] || "test"] ActiveRecord::Base.establish_connection(db_info) load("spec/active_record/fixtures/schema.rb")
Version data entries
9 entries across 9 versions & 1 rubygems