[英]ActiveRecord::UnknownAttributeError: unknown attribute: audited_changes
ActiveRecord :: UnknownAttributeError:未知属性:audited_changes当我尝试通过rails控制台创建新记录时
The schema of the audits table has changed. 审计表的架构已更改。 The 'changes' column became the 'audited_changes' column.
“更改”列成为“audited_changes”列。 Your current schema may be mismatched to the version of acts_as_audited that you're using.
您当前的架构可能与您正在使用的acts_as_audited版本不匹配。
Upgrade your version of acts_as_audited or correct the schema :) Worked for me. 升级你的acts_as_audited版本或更正架构:)为我工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.