teaminsight/undestroy — pull request #3 by tpett (2012-03-23 19:33:20+00:00)
Title: Restore

Restore functionality has been added to Undestroy! The interface is as follows:

`archived`: Returns the AR archive class, you can build queries and look at archived data through this
`restore`: A pass-through method to the archived class's `find` method. It accepts the same params as AR's find.
`archived.restore_all`: If you want to restore a set of records at once. Like this: `Person.archived.where(:name => "Billy Bob").restore_all`

These methods are only added if you call `undestroy` on the AR class.