Sha256: 23e0835f7a17c3596dd5959e867b5823f8622ed2943a8560c9f64c08b81c2aa3

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

#
# DataMapper Configuration
#
databases = YAML.load_file(File.join(File.dirname(__FILE__), '..', 'config', 'database.yml'))

DataMapper::Model.raise_on_save_failure = true

DataMapper::Logger.new('log/datamapper.log', :debug)

DataMapper.setup(:default, databases[ENV['RACK_ENV'] || 'development'])

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yogo-framework-0.5.1 config/datamapper.rb
yogo-framework-0.5.0 config/datamapper.rb
yogo-framework-0.4.0 config/datamapper.rb
yogo-framework-0.3.0 config/datamapper.rb
yogo-framework-0.2.0 config/datamapper.rb