ruby - Alternative rails gems for public activity that shows labels for its respective destroyed records -
ruby - Alternative rails gems for public activity that shows labels for its respective destroyed records -
i have been trying public_activity gem through railscast tutorial , noticed info described in activities can't identified 1 time again 1 time record destroyed, , think turn off on user experience. example, can type of statements like
user has deleted post.
instead of,
user has deleted post entitled "some random post".
i read comments section of public_activity tutorial railscast , visited link lead me redcrumbs gem there. after going through documentation, noticed only tracks changes on records.
so, there other gems can need? or should go on utilize public_activity gem instead , delete activity logs related destroyed record?
there solution – https://github.com/airblade/paper_trail gem stores info model need in particular time. news gem stores info (trail) after object has been destroyed.
ruby-on-rails ruby logging public-activity
Comments
Post a Comment