winton / acts_as_archive

Don't delete your records, move them to a different table
MIT License
372 stars 87 forks source link

README typo #43

Open rymohr opened 12 years ago

rymohr commented 12 years ago

Within the Delete records without archiving section, shouldn't the line

Article::Archive.first.destroy!

be this instead

Article.first.destroy!

Also, is there a Model::Archive#restore method available? The idea of destroying a destroyed object in order to restore it just doesn't sit well for me. I would have expected it to purge the record from the archive instead.

Great library though! Love how cleanly it integrates.