Permalink
Switch branches/tags
Nothing to show
Commits on Jul 12, 2009
Commits on Apr 28, 2009
  1. This reverts an earlier commit which had unintended side-effects and …

    grempe committed with ajh Apr 28, 2009
    …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>
Commits on Apr 21, 2009
  1. chage test unit inclide

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

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

    ajh committed Oct 21, 2008
    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.
Commits on Jun 26, 2008
Commits on May 29, 2008
  1. Add finders on live class which will also return deleted records.

    ajh committed May 29, 2008
    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.
Commits on May 20, 2008
  1. Add a warning when columns are deleted with update_columns.

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

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

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

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

    ajh committed May 15, 2008
  2. rewrite some of README

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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