Permalink
Commits on Apr 28, 2009
  1. This reverts an earlier commit which had unintended side-effects and …

    …provides a cleaner alternative.
    
    With test/unit being required rails apps trying to run ./script/runner would also
    attempt to erroneously run the test suite, and could result in failure of cron jobs
    that used the script/runner and specified an environment to run in.
    
    It is better instead to:
    
      include Test::Unit::ActsAsDeleted
    
    in your test helper.
    
    This reverts my earlier commit : 69910d8
    
    Signed-off-by: Andy Hartford <hartforda@gmail.com>
    grempe committed with Apr 28, 2009
Commits on Apr 21, 2009
  1. chage test unit inclide

    Signed-off-by: Andy Hartford <hartforda@gmail.com>
    Dinshaw Gobhai committed with Mar 28, 2009
Commits on Mar 16, 2009
Commits on Feb 27, 2009
  1. add note about default_scopes

    committed Feb 27, 2009
Commits on Feb 6, 2009
Commits on Oct 21, 2008
  1. Replace any existing deleted entry when deleting a model.

    This should rarely occur. It can happen if test fixtures get reloaded into a
    database after something has been deleted because reloading the fixtures doesn't
    clear the deleted tables.
    committed Oct 21, 2008
Commits on Jun 26, 2008
Commits on May 29, 2008
  1. Add finders on live class which will also return deleted records.

    Add find_with_deleted on live class which is similar to find. Also add support
    for dynamic finders like find_with_deleted_by_name or
    find_all_with_deleted_by_name.
    committed May 29, 2008
Commits on May 20, 2008
  1. Add a warning when columns are deleted with update_columns.

    The warning can be disabled. Reformat and spellcheck docs a little more.
    committed May 20, 2008
Commits on May 19, 2008
  1. Improve rdoc support.

    Add rake task to build rdoc. Reformat README for rdoc. Fixup rdoc in code.
    committed May 19, 2008
  2. add ignore file.

    committed May 19, 2008
  3. Update the acts_as_paranoid comparison and the thanks section in the …

    …readme. Change some variable names in code to have a more consistent terminology.
    committed May 19, 2008
Commits on May 15, 2008
  1. Tweak company name.

    committed May 15, 2008
  2. rewrite some of README

    committed May 15, 2008
Commits on Mar 13, 2008
  1. add a comment

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@239 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 13, 2008
  2. add test helper and use them internally. Update Readme again.

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@238 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 13, 2008
  3. add migration tests. Add update_column methods for deleted table in m…

    …igrations. Update readme.
    
    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@237 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 13, 2008
  4. add migration tests. Add update_column methods for deleted table in m…

    …igrations. Update readme.
    
    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@236 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 13, 2008
  5. make even more friendly to autotest

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@235 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 13, 2008
  6. make more friendly for autotest

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@234 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 13, 2008
Commits on Mar 4, 2008
  1. add README

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@233 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  2. remove debug logs

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@232 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  3. some cleanups

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@231 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  4. have rake be able to run tests against all databases. Use conneciton …

    …scheme from active record
    
    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@230 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  5. test decimals with scale and precision.

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@229 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  6. add drop table command

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@228 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  7. add init.rb

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@226 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  8. protect against multiple includes

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@223 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  9. test transactions. Required turning off transactional fixtures

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@222 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  10. improve fixtures and tests

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@221 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  11. get undestroy working

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@220 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008
  12. add plugin to source control

    git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@219 bb26965d-a405-0410-8ce8-d62df5cd24e9
    (no author) committed Mar 4, 2008