止晕小
Filtering records in controller
So in my model, there is a field user_id - which holds the ID of the user who created the record. To display the ID of the current user, I have @current_user.id[详细]
2022-12-27 22:44 分类:问答
So in my model, there is a field user_id - which holds the ID of the user who created the record. To display the ID of the current user, I have @current_user.id[详细]