Add data to parameters(Hash field) in PublicActivity::Activity
34 views
Skip to first unread message
Pratham Sharma
unread,
Jan 13, 2017, 7:17:17 AM1/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Public Activity, Vinod Kumar
Using Mongoid , Can I add some data to parameters hash, suppose I am updating Post 'name' and entered "Batman" in Post model and I wanna track that name has been edited with new data "Batman". Like parameters: {name: "Batman"}. Or any other format to recognize my data if multiple data has been edited.