新手问题 好奇,大家一般怎么处理 EventLog 呢?

small_fish__ · March 25, 2014 · Last by billy replied at March 25, 2014 · 1983 hits

刚看到这个 wiki https://github.com/airblade/paper_trail/wiki/Observing-and-logging-with-paper_trail 感觉处理起来还是靠谱的,只是比较纠结,因为目前我只想要 EventLog 而不是 record versions ,所以引入 paper_trail 会不会太重呢??

大家一般怎么处理类似需求呢?

什么样的 events

#1 楼 @billy record change events .,包括 model action , user, change attributes 等。

如果只是为管理用,可以试下原装的 ActiveSupport::Subscriber 看能不能符合需求。

You need to Sign in before reply, if you don't have an account, please Sign up first.