From 939dc36052039e65a0af2936ffb1135281397eb2 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 27 Nov 2012 09:42:27 +0000 Subject: Monkey patch to cause validations to save anyway, if no error has been given. --- lib/mauve/datamapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mauve') 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 -- cgit v1.2.1