Eu pensei que seria algo como:
UserHistory.where(“created_at > ?”, date).where(and staffuser=xyz, and action=edit post).destroy_all
mas com a sintaxe correta ![]()
Eu pensei que seria algo como:
UserHistory.where(“created_at > ?”, date).where(and staffuser=xyz, and action=edit post).destroy_all
mas com a sintaxe correta ![]()