Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将对象设置为非活动状态而不是在导轨中删除它们?因为我几乎在我的每个模型中都需要这个,所以有一个中心点会很好。
看看ActsAsParanoid gem。