airblade/paper_trail — pull request #159 by manishspuri (2012-05-12 09:32:26+00:00)
Title: Issue for item nil

Hi,
i was trying to display an audit trail report in the admin section in my app. what happens is, if the item was destroyed, then version.item returns nil. I created this method so that while displaying all trails, there are no such issues and whatever latest version of an item is available is returned. Please let me know your comments on this.