12 lines
212 B
Ruby
12 lines
212 B
Ruby
|
|
||
|
require 'active_record'
|
||
|
|
||
|
ActiveRecord::Base.logger = Logger.new(STDERR)
|
||
|
#ActiveRecord::Base.colorize_logging = false
|
||
|
|
||
|
ActiveRecord::Base.establish_connection(
|
||
|
adapter: "sqlite3",
|
||
|
database: ":memory:"
|
||
|
)
|
||
|
|