Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 8, 2013
  1. Merge pull request #12 from polleverywhere/on_save_documentation

    add documentation for *_commit_on_save
  2. @m1foley
Commits on Aug 10, 2013
  1. Merge remote-tracking branch 'origin/master'

  2. Merge pull request #10 from rlineweaver/master

    fix several issues related to leaking memory
Commits on Jan 11, 2013
  1. 1.0.11

Commits on Nov 5, 2012
  1. Fixing up repo URL.

Commits on Jun 15, 2012
  1. @flyerhzm

    no need to hack begin_db_transaction for JdbcSpec::MySQL, which is re…

    flyerhzm authored
    …moved from activerecord-jdbc-adapter 1.2.1
Commits on Mar 12, 2012
  1. @rlineweaver

    fix several issues related to leaking memory:

    rlineweaver authored
     * 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
Commits on Jun 23, 2011
  1. 1.0.10 Release

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

Commits on Jun 21, 2011
  1. @ochko

    respond_to? doesn't work here, but method_defined? will

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

  2. @nirvdrum
Commits on May 3, 2011
Commits on Apr 27, 2011
  1. Cleaning up after_commit commit state at end of transaction to preven…

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

    Keith Simmons authored
    …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.
Commits on Apr 21, 2011
  1. The ol' rescue only catches StandardError and children issue. Unfortu…

    Keith Simmons authored
    …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.
Commits on Jan 25, 2011
  1. @kir
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.
  2. Removing auto-loading of test bypass. Some want it, others don't, let…

    …'s not go making assumptions.
  3. Merge remote branch 'jasoncodes/master' into jasoncodes

Commits on May 16, 2010
  1. @jasoncodes
  2. @jasoncodes

    Add before_commit_on_save and after_commit_on_save.

    jasoncodes authored
    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.
  3. @jasoncodes
  4. @jasoncodes

    DRY up MockRecord in tests

    jasoncodes authored
  5. @jasoncodes

    Revert "Do not call before_commit and after_commit for records that w…

    jasoncodes authored
    …ere destroyed in the transaction. You can now use after_commit as an equivalent for after_save."
    This reverts commit a9d6023.
Something went wrong with that request. Please try again.