# # # 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