本篇教您如何使用Active Record 的驗證功能,在資料存入資料庫前,驗證物件的狀態。 ... inclusion 預設錯誤訊息是"is not included in the list"。
確定! 回上一頁