aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-27 09:42:27 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-27 09:42:27 +0000
commit939dc36052039e65a0af2936ffb1135281397eb2 (patch)
tree804e0745f2e3d94301c4df1f62ef8e9f68c3acb5 /lib/mauve
parentdf1a036268e52396eca349b2803a5e05f891733c (diff)
Monkey patch to cause validations to save anyway, if no error has been
given.
Diffstat (limited to 'lib/mauve')
-rw-r--r--lib/mauve/datamapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/datamapper.rb b/lib/mauve/datamapper.rb
index 2a1f509..1814302 100644
--- a/lib/mauve/datamapper.rb
+++ b/lib/mauve/datamapper.rb
@@ -14,7 +14,7 @@ require 'dm-aggregates'
end
end
require 'dm-types'
-require 'dm-validations'
+require 'dm-validations-with-empty-errors-hack'
# DataMapper::Model.raise_on_save_failure = true