0
是否將validates_presence_of
用作所有保存屬性的默認值?所以你不必每次都把它寫在你的模型中?是否將validates_presence_of用作保存時的默認值?
Here the reference to my question
是否將validates_presence_of
用作所有保存屬性的默認值?所以你不必每次都把它寫在你的模型中?是否將validates_presence_of用作保存時的默認值?
Here the reference to my question
號validates_presence_of
不作爲默認值,你有充分的每個屬性你想成爲現在的時間來把它寫在你的模型。