Skip to content
Commits on Jan 12, 2011
  1. @jrdioko

    Replace deprecated Kernel#returning method

    To avoid deprecation warnings in Rails 2.3.10 (and others),
    replace call to Kernel#returning with call to Object#tap.
    jrdioko committed Jan 12, 2011
Commits on Apr 16, 2009
  1. @chewi

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

    …calculate. Fixes compatibility with will_paginate.
    chewi committed Apr 16, 2009
Commits on Mar 24, 2009
  1. @technoweenie

    update readme

    technoweenie committed Mar 24, 2009
  2. @technoweenie

    tweak test_helper to load specific version of activerecord if specifi…

    …ed. fix bug where fixtures are not loaded if ActiveRecord::Base.configurations is blank
    technoweenie committed Mar 24, 2009
Commits on Dec 16, 2008
  1. @technoweenie

    Merge branch 'integration'

    technoweenie committed Dec 15, 2008
  2. @mattgrayson @technoweenie

    Reverting accidental change to test_helper.rb from previous commit.

    Signed-off-by: rick <technoweenie@gmail.com>
    mattgrayson committed with technoweenie May 1, 2008
  3. @technoweenie

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

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

    Add ParanoidFindWrapper

    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.
    oboxodo committed Aug 30, 2008
  2. @oboxodo

    Add only_deleted scope and associated methods.

    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).
    oboxodo committed Aug 30, 2008
Commits on Apr 15, 2008
  1. @georg

    Override exists? and apply the delete scope.

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

    Added HasManyThroughWithoutDeletedAssociation so that has_many :thoug…

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

    merge

    technoweenie committed Mar 6, 2008
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]

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

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

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

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

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

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

    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@1411 567b1171-46fb-0310-a4c9-b4bef9110e78
    technoweenie committed Jul 23, 2006
Commits on Jul 22, 2006
  1. fix #count_with_deleted so that it does not apply the deleted scope

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

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

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

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

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

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

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

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

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

    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@880 567b1171-46fb-0310-a4c9-b4bef9110e78
    technoweenie committed Feb 27, 2006
  3. anal spacing

    git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_paranoid@879 567b1171-46fb-0310-a4c9-b4bef9110e78
    technoweenie committed Feb 27, 2006
  4. clean up find method a bit

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