Permalink
Commits on Jan 11, 2013
  1. 1.0.11

    committed Jan 11, 2013
Commits on Nov 5, 2012
  1. Fixing up repo URL.

    committed Nov 5, 2012
Commits on Jun 23, 2011
  1. 1.0.10 Release

    committed Jun 23, 2011
Commits on Jun 22, 2011
  1. Adding Ochko as a contributor.

    committed Jun 22, 2011
Commits on Jun 21, 2011
  1. respond_to? doesn't work here, but method_defined? will

    this bug were causing odd things in postgresql. especially in tests.
    ochko committed Jun 21, 2011
Commits on Jun 8, 2011
  1. 1.0.9

    committed Jun 8, 2011
Commits on May 3, 2011
Commits on Apr 27, 2011
  1. Cleaning up after_commit commit state at end of transaction to preven…

    …t previous successful transactions from screwing up unsuccessful transactions
    Keith Simmons committed Apr 27, 2011
Commits on Apr 26, 2011
  1. When an exception is caused during a 'release_savepoint' call, after …

    …handling the error, activerecord re-raises so outer code has a chance to see the error. However, active_callback was acting as a sink, catching exceptions and not re-throwing to prevent active record from triggering a rollback on
    
    an already committed savepoint.  This submission makes an attempt to save commit progress in a non-transient manner, so exceptions can be passed to active record while allowing rollbacks to be skipped if a savepoint has already been released.  The immediate benefit are unit/functional tests
    properly reporting errors that occur during after_commit callbacks triggered during a release_savepoint call.
    Keith Simmons committed Apr 26, 2011
Commits on Apr 21, 2011
  1. The ol' rescue only catches StandardError and children issue. Unfortu…

    …nately, the begin/rescue around active record transactions explicity catches Exception descendent classes, which means an exception not descending from StandardError (i.e. the ones thrown by mocha) will create an inconsistency between after_callback and activerecord.
    Keith Simmons committed Apr 21, 2011
Commits on Sep 2, 2010
Commits on May 20, 2010
  1. Test code cleanup - adding name column to all tables to make sure mor…

    …e tests pass with AR 1.2. Still not perfect, mind you.
    committed May 20, 2010
  2. Removing auto-loading of test bypass. Some want it, others don't, let…

    …'s not go making assumptions.
    committed May 20, 2010
  3. Merge remote branch 'jasoncodes/master' into jasoncodes

    Conflicts:
    	lib/after_commit/test_bypass.rb
    committed May 20, 2010
Commits on May 16, 2010
  1. Add before_commit_on_save and after_commit_on_save.

    These callbacks are the after_commit equivalent of ActiveRecord's after_save callback. i.e. they are called both on create and save but not destroy.
    jasoncodes committed May 16, 2010
  2. DRY up MockRecord in tests

    jasoncodes committed May 16, 2010
  3. Revert "Do not call before_commit and after_commit for records that w…

    …ere destroyed in the transaction. You can now use after_commit as an equivalent for after_save."
    
    This reverts commit a9d6023.
    
    Conflicts:
    
    	lib/after_commit/connection_adapters.rb
    jasoncodes committed May 16, 2010
Commits on May 12, 2010
  1. Resetting the gemspec info, removing automatic loading of the test he…

    …lper, but adding details about it (and related contributors Lars and Joel) to the README.
    committed May 12, 2010
  2. Making sure decrementing only happens when needed, and no explicit ro…

    …llback - raising the error again takes care of this.
    committed May 12, 2010
  3. Fix transaction pointer in rollback

    Ensures pointer is correct when called from outside #commit_db_transaction_with_callback
    mocoso committed with Jan 19, 2010
  4. update test support to use savepoints rather than regular callbacks t…

    …o better preserve callback order
    Lars Klevan committed with Jan 15, 2010
  5. Merge remote branch 'benstein/master'

    Conflicts:
    	lib/after_commit/connection_adapters.rb
    committed May 12, 2010
Commits on Apr 28, 2010
  1. Merge remote branch 'benstein/master'

    Conflicts:
    	lib/after_commit/connection_adapters.rb
    jasoncodes committed Apr 28, 2010
  2. Merge remote branch 'thieso2/master'

    Conflicts:
    	lib/after_commit/connection_adapters.rb
    jasoncodes committed Apr 28, 2010
  3. Merge remote branch 'oggy/master'

    Conflicts:
    	test/after_commit_test.rb
    jasoncodes committed Apr 28, 2010