Permalink
Commits on Mar 28, 2016
Commits on Sep 8, 2013
  1. Merge pull request #12 from polleverywhere/on_save_documentation

    add documentation for *_commit_on_save
    committed Sep 8, 2013
Commits on Aug 10, 2013
  1. Merge remote-tracking branch 'origin/master'

    Conflicts:
    	lib/after_commit.rb
    	lib/after_commit/connection_adapters.rb
    committed Aug 10, 2013
  2. Merge pull request #10 from rlineweaver/master

    fix several issues related to leaking memory
    committed Aug 10, 2013
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 15, 2012
  1. no need to hack begin_db_transaction for JdbcSpec::MySQL, which is re…

    …moved from activerecord-jdbc-adapter 1.2.1
    flyerhzm committed Jun 15, 2012
Commits on Mar 12, 2012
  1. fix several issues related to leaking memory:

     * remove duplicate decrement on the transaction_pointer during rollback
     * remove unnecessary code to handle decrementing the transaction_pointer prior to rollback which caused transactions following the first rollback to fail to decrement the transaction_pointer
     * change cleanup() unset the collection instead of reinitializing it to an empty array, so we don't keep numerous empty arrays in memory if the transaction pointer gets off
     * add test assertions to ensure that the transaction pointer is always returned to zero and the transaction-specific in-memory objects have been cleared at the end of each test
    rlineweaver committed Mar 12, 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 Jan 25, 2011
  1. Minor performance improvement (~3%)

    kir committed Jan 25, 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