Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Oct 29, 2009
  1. @chewi

    Allow :with_deleted and :only_deleted options to work with count and …

    chewi authored committed
    …calculate. Fixes compatibility with will_paginate.
Commits on Apr 4, 2009
  1. fixed future_deletes option

    Matt authored
Commits on Mar 30, 2009
  1. ignoring database and debug log

    Keenan Brock authored
Commits on Mar 24, 2009
  1. @technoweenie

    update readme

    technoweenie authored
  2. @technoweenie

    tweak test_helper to load specific version of activerecord if specifi…

    technoweenie authored
    …ed. fix bug where fixtures are not loaded if ActiveRecord::Base.configurations is blank
Commits on Dec 16, 2008
  1. @technoweenie
  2. @mattgrayson @technoweenie

    Reverting accidental change to test_helper.rb from previous commit.

    mattgrayson authored technoweenie committed
    Signed-off-by: rick <technoweenie@gmail.com>
  3. @technoweenie

    Added recover_with_associations! (and tests) to recover record + any …

    Matt Grayson authored technoweenie committed
    …specified paranoid associations
    
    Signed-off-by: rick <technoweenie@gmail.com>
Commits on Sep 20, 2008
  1. @technoweenie
Commits on Sep 17, 2008
  1. @benhoskings
Commits on Aug 30, 2008
  1. @oboxodo

    Add ParanoidFindWrapper

    oboxodo authored
    This module adds a wrapper around rails' find method so it would actualy recognize acts_as_paranoid specific options :with_deleted and :only_deleted.
    It could be merged directly into paranoid.rb, but opted not to pollute it with this rather optional functionality.
  2. @oboxodo

    Add only_deleted scope and associated methods.

    oboxodo authored
    This patch makes it easy to get only the deleted records from a model class. This facilitates the creation of deleted records listings for "undelete"-like functionalities in your apps.
    
    Added methods: find_only_deleted, count_only_deleted and exists_only_deleted?
    
    Passing tests included (tested with activerecord 2.1).
Commits on Apr 15, 2008
  1. @georg

    Override exists? and apply the delete scope.

    georg authored
    This needs to be done because commit 0ad24df6ed389c1d57970c6e7650c5b1b7ae7676 in rails changed the exists? method so that it doesn't use find anymore.
Commits on Apr 14, 2008
  1. @georg

    Added HasManyThroughWithoutDeletedAssociation so that has_many :thoug…

    georg authored
    …h associations don't include deleted records by default.
Commits on Mar 6, 2008
  1. @technoweenie

    merge

    technoweenie authored
Commits on Mar 4, 2008
  1. @josh
Commits on Jan 1, 2008
  1. add #deleted? to check if a record is deleted or not [sr]

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@3083 567b1171-46fb-0310-a4c9-b4bef9110e78
  2. @technoweenie
Commits on Oct 4, 2007
  1. Update for Edge rails: remove support for legacy #count args

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@2987 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Aug 14, 2007
  1. update for edge rails

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@2951 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Feb 2, 2007
  1. Add support for custom primary keys [Jeff Dean]

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@2729 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Sep 9, 2006
  1. remove deprecation warning in acts as paranoid

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@2128 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Aug 29, 2006
  1. add simply_bdd plugin

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1930 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Jul 23, 2006
  1. allow belongs_to :foo, :with_deleted => true

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1411 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Jul 22, 2006
Commits on Jul 2, 2006
  1. Add paranoid delete_all implementation [Marshall Roch]

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1298 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Jun 17, 2006
  1. allow acts as paranoid to set deleted attribute

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1254 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on May 23, 2006
  1. Allow setting of future dates for content expiration.

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1150 567b1171-46fb-0310-a4c9-b4bef9110e78
  2. refactor current time into a model method

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1149 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on May 16, 2006
  1. Added support for dynamic finders

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1144 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Apr 10, 2006
  1. add support for Calculations [Adam Stubblefield]

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1049 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Mar 28, 2006
  1. Updated for Rails 1.1. I love removing code.

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1015 567b1171-46fb-0310-a4c9-b4bef9110e78
Commits on Feb 27, 2006
  1. shorten up the #destroy_without_callbacks method

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@881 567b1171-46fb-0310-a4c9-b4bef9110e78
  2. update for new #count signature

    technoweenie authored
    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@880 567b1171-46fb-0310-a4c9-b4bef9110e78
Something went wrong with that request. Please try again.