mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
Merge branch 'master' of ssh://ameehan@researchpath.com.au/var/git/validates-timeliness
This commit is contained in:
commit
7a34881472
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user