Merge branch 'master' of ssh://ameehan@researchpath.com.au/var/git/validates-timeliness

This commit is contained in:
Adam Meehan
2008-05-02 19:08:18 +10:00

View File

@@ -39,6 +39,7 @@ module ValidatesTimeliness
end
end
rescue
record.send(attr_name + "=", nil)
record.errors.add(attr_name, "is not a valid time")
next
end