Sha256: 7919b9198fa05694c67ec389afc5a426ad72cc87d1921afcf9a1542f59fe9139
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
require 'rake' require './lib/seed_ext' ENV["DB"] ||= 'mysql2' puts "Using #{ENV["DB"]} to run the tests." require File.dirname(__FILE__) + "/connections/#{ENV["DB"]}.rb" ActiveRecord::Schema.define :version => 0 do create_table :users, :force => true do |t| t.column :name, :string t.column :sex, :integer t.timestamp end end class User < ActiveRecord::Base end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seed_ext-0.0.1 | spec/spec_helper.rb |