我写了一个下面的查询类,它抛出了一个缺少属性的错误,我没有把它放在select方法中。你知道这个错误可能来自哪里吗?为什么在to_json方法中搜索project_id。project_id" AND "projects"."deleted_at" IS NULL INNER JOIN "shipyards" ON "shipyards"."company_id" = $1 [["co
replies.first.save #this works, it updates account on db even when was not included in selectActiveModel::MissingAttributeError:
如果不使用select检索属性,则无法保存该属性