Forum: Ruby on Rails How to do the validation

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
50a8149df4c880fbcdeccb555f8149ef?d=identicon&s=25 "羅康瑀" <> (Guest)
on 2013-11-04 09:47
(Received via mailing list)
1. validate tem<35
   2. the tem presence:true,the tem_date can be set date
   3. the tem<35, tem_c set "合格",otherwise tem_c set "不合格"
This topic is locked and can not be replied to.