How to do the validation

  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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs