ظننت أنها ستكون شيئًا كهذا:
UserHistory.where("created_at > ?", date).where(and staffuser=xyz, and action=edit post).destroy_all
ولكن مع الصيغة الصحيحة ![]()
ظننت أنها ستكون شيئًا كهذا:
UserHistory.where("created_at > ?", date).where(and staffuser=xyz, and action=edit post).destroy_all
ولكن مع الصيغة الصحيحة ![]()