I'm using the gem Audited in my Rails app. I want to create a way to print out the Audit record so I can have a feed of what has been changed by a User, or what has changed on an object. Currently, I have setup a method called print_audit on each object that I'm using with Audited. But this seems incredibly wrong. I would like to override the to_s method on the Audit model... but I'm unsure what the correct way of doing that would be... is the approach incorrect and if not how would I go about doing this?
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/67677b26-bb8b-4988-bd38-3e74bf9c3c2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

