Sha256: 613d286176c73ad8064749c9a61cea4395393e9389e39b2dd34a666d6893c871

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

require 'rubygems'
require 'active_record'
require 'sqlite3'


require File.dirname(__FILE__) + '/../../lib/consumer.rb'

$:.unshift(File.dirname(__FILE__))
require 'models/contributor'
require 'models/book'

ActiveRecord::Base.establish_connection(
  :adapter => 'sqlite3',
  :dbfile  => 'database.sqlite'
)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
woahdae-consumer-0.8.1 examples/active_record/environment.rb
woahdae-consumer-0.8.2 examples/active_record/environment.rb