0
我使用的经过date_select帮手date_select帮手PARAMS,如:导轨 - 验证
date_of_birth(1i)
date_of_birth(2i)
date_of_birth(3i)
我想用validates_presence_of验证,但返回时毛坯从下拉菜单中选择以下错误:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.empty?