blob: e7334dae6dec0e62cdb33f662e5af53ab68fc2aa (
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-serializer'
%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
|