문제

I would like to turn on audit history of all changes which happens on certain tables exposed as ActiveRecord interfaces. Are there any gems which can enable this functionality?

create table foo (id, field1, field2, field3 ...)

It should be possible to create an audit on all field transitions either on creation | updation.

e.g. field 1  transitioned from value1 --> value11
e.g. field 2  transitioned from value2 --> value22
도움이 되었습니까?

해결책

Ruby Toolbox is the place to go for the choices and these are your choices for ActiveRecord audit gems

다른 팁

Try https://github.com/collectiveidea/audited , this is an ORM extension. and seems to be the best

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top