通过控制台删除特定员工行为日志

我以为它会是这样的:

UserHistory.where(“created_at > ?”, date).where(and staffuser=xyz, and action=edit post).destroy_all

但使用了正确的语法 :stuck_out_tongue: