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.
Within the Delete records without archiving section, shouldn't the line
be this instead
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.