From 0fe311a7fcf1457b9a72f99f887f756a28a53db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ku=C5=BAma?= Date: Wed, 21 Dec 2011 10:52:15 +0100 Subject: added :other_than => :!= option to numericality validator --- activemodel/lib/active_model/locale/en.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'activemodel/lib/active_model/locale/en.yml') diff --git a/activemodel/lib/active_model/locale/en.yml b/activemodel/lib/active_model/locale/en.yml index 44425b4a28..ba49c6beaa 100644 --- a/activemodel/lib/active_model/locale/en.yml +++ b/activemodel/lib/active_model/locale/en.yml @@ -23,5 +23,6 @@ en: equal_to: "must be equal to %{count}" less_than: "must be less than %{count}" less_than_or_equal_to: "must be less than or equal to %{count}" + other_than: "must be other than %{count}" odd: "must be odd" even: "must be even" -- cgit v1.2.3