关闭。这个问题需要debuggingdetails.它目前不接受答案。编辑问题以包含desiredbehavior,aspecificproblemorerror,andtheshortestcodenecessarytoreproducetheproblem.这将有助于其他人回答问题。关闭5年前。Improvethisquestion我在创作新书时遇到了问题。用户已登录,但仍然显示:1个错误禁止保存这本书用户必须存在当我编辑我的书时它工作正常但是当我尝试创建新书时它显示.error/这是图书Controller:classBooksController我的books.rb是:clas