On 14 August 2012 11:12, Andrew Vit <[email protected]> wrote:
> acts_as_paranoid simply adds a deleted_at flag, it doesn't move records to a
> separate table.

It does a *little more* than simply that...

> Something like acts_as_archive is a better equivalent.

The requirement to move them to another table was because the OP
didn't know how to "flag" records in the same table as deleted and
have them auto-magically ignored by finders, etc.

If the requirement is to archive them (which *isn't* the same as
softly deleting), along with the hassle of managing two sets of
tables... then acts_as_archived could be ideal.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to