blob: 2a1f509c1cd0af13b304dcb49a41b2bbc861a864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#
#
# Small loader to put all our Datamapper requirements together
#
#
require 'dm-core'
require 'dm-migrations'
require 'dm-aggregates'
%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
|