Skip to content

Instantly share code, notes, and snippets.

Avatar

Scott Meves stereoscott

View GitHub Profile
View gist:51d5bc0b6299beb4b5a7
gem 'activerecord', '4.1.5'
require 'active_record'
require 'minitest/autorun'
require 'logger'
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Schema.define do