blob: ecee4a6d4f35ea7da21af685b363f548998333c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#
#
# Small loader to put all our Datamapper requirements together
#
#
require 'dm-core'
require 'dm-migrations'
%w(dm-sqlite-adapter-with-mutex dm-postgres-adapter).each do |req|
begin
require req
rescue LoadError => err
# do not a lot.
end
end
require 'dm-types'
require 'dm-validations'
# DataMapper::Model.raise_on_save_failure = true
|